#app打包成ipa zip -r ideaShare.ipa Payload
#签名 codesign -f -s "iPhone Distribution: xxx(111111)" --entitlements entitlements.plist xxx.app
#复制描述文件 cp embedded.mobileprovision xxx.app
#查看当前签名 codesign -vv -d xxx.app
#查看可用的签名 security find-identity -v -p codesigning
#查看包含的库文件:otool -l /执行文件
#build framework
build xxx
build xxx-DummyApp
删除release-iphones/.app/Dylibs/framework
复制release-iphones/.framework 到 release-iphones/.app/Frameworks
终端执行命令 yololib ‘release-iphones 下的.app/执行文件’ ‘需要注入的framework’
例如:“yololib /Users/xxx/Library/Developer/Xcode/DerivedData/xxx-dkcqlvlvtiqmoifvrucpyjvrcoiu/Build/Products/Release-iphoneos/xxx.app/xxx /Users/xxx/Library/Developer/Xcode/DerivedData/xxx-dkcqlvlvtiqmoifvrucpyjvrcoiu/Build/Products/Release-iphoneos/xxx-DummyApp.app/xxxFramework”
网友评论