前段时间项目改版,在ios9.0之前 ,项目运行出现dyld`dyld_fatal_error错误:日志如下
dyld: Symbol not found: ___NSDictionary0__
Referenced from: /Users/chuangxiang/Library/Developer/CoreSimulator/Devices/7EE5599C-0B94-4F1F-929C-B7EF98391B5E/data/Containers/Bundle/Application/3E33DF82-9013-467E-866B-D1D42F8017B7/SpeedAcquisitionloan.app/Acquisitionloan
Expected in: /Library/Developer/CoreSimulator/Profiles/Runtimes/iOS 8.4.simruntime/Contents/Resources/RuntimeRoot/System/Library/Frameworks/CoreFoundation.framework/CoreFoundation
in /Users/chuangxiang/Library/Developer/CoreSimulator/Devices/7EE5599C-0B94-4F1F-929C-B7EF98391B5E/data/Containers/Bundle/Application/3E33DF82-9013-467E-866B-D1D42F8017B7/SpeedAcquisitionloan.app/Acquisitionloan
解决办法:
选中项目->TARGETS->Build Phases ->link Binary with Libraries -> 点击+ ->在输入框中输入CoreFoundation 点击->将Status改成Optional
如图