我可以在IOS 8中成功地运行我的应用程序,但在IOS 7中,我的应用程序会崩溃。
其信息是:
dyld: Library not loaded: /System/Library/Frameworks/LocalAuthentication.framework/LocalAuthentication
Referenced from: /Users/burakkilic/Library/Developer/CoreSimulator/Devices/A0210158-BC6C-43AA-9D85-AA8DE6115AAA/data/Applications/xxx
Reason: no suitable image found. Did find:
/System/Library/Frameworks/LocalAuthentication.framework/LocalAuthentication: mach-o, but wrong architecture我该怎么解决呢?
发布于 2015-08-04 09:43:41
您可以在运行时弱链接LocalAuthentication.framework并有条件地访问LocalAuthentication API。
后者可通过以下两种方式之一实现:
respondsToSelector,等)。https://stackoverflow.com/questions/31805779
复制相似问题