dyld: Library not loaded: @rpath/MySDK.framework/MySDK
Referenced from: /var/mobile/Applications/08B6D2C2-5028-4A64-93F5-1252B0B0BCAB/MyApp.app/MyApp
Reason: no suitable image found. Did find:
/private/var/mobile/Applications/08B6D2C2-5028-4A64-93F5-1252B0B0BCAB/MyApp.app/Frameworks/MySDK.framework/MySDK: code signature invalid for ‘/private/var/mobile/Applications/08B6D2C2-5028-4A64-93F5-1252B0B0BCAB/MyApp.app/Frameworks/MySDK.framework/MySDK‘
1、查看MySDK.framework是否为动态库(xcode6下默认是动态库)
2、若不需要使用动态库,则将其改为静态库,并重新生成framework
3、若必须使用动态库,则需要在MyApp的工程中做如下配置(未验证,网上是这么说的)
时间: 2024-11-08 13:41:56