查看錯誤中提到的類,而且在右側勾選targetios
ld: symbol(s) not found for architecture armv7 clang: error: linker command failed with exit code 1 (use -v to see invocation)
檢查Podfile,確認是否須要"use_frameworks!",若是不須要,去掉從新install數據庫
platform :ios, '8.0' use_frameworks! target 'MyApp' do pod 'AFNetworking', '~> 2.6' pod 'ORStackView', '~> 3.0' pod 'SwiftyJSON', '~> 2.3' end
找到 Build settings->Linking->Other Linker Flags,將此屬性修改爲-all_load 或者 -ObjC ui
一樣是上邊的路徑,檢查刪除遷移的庫code
看看是否是有新添加的文件跟以前文件同名, 錯誤信息中出現了某個類的名字,去原文件中看看#import了哪些第三方庫,把這些庫挨個註釋排除,找到出錯的那個庫,而後按照官方提供的步驟從新添加一遍。orm