iOS arm64 armv7報錯

開始做個記錄,逐漸添加~

![Uploading 556E4BBE310E1646C695C299F8BA596F_500989.jpg . . .]

1:Undefined symbols for architecture arm64:

Undefined symbols for architecture arm64: "OBJC_CLASS$_FBSession", referenced from: someFileld: symbol(s) not found for architecture arm64

解決:
project -> target (your project name) -> build settings and change architectures to standard architectures (armv7, armv7s), and valid architectures to armv7, armv7s.

參考

2:No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7)
解決:

Go toProject Target > Build Settings > Architectures
Delete whatever you see there, and then add these rows one by one:
armv6 armv7
There are no 'save' buttons there, so what I do, is adding another blank row, pressing enter, removing it, and then clicking out somewhere else, so that I make sure I have both of them added:


圖片加載中...

Now go to the AppName-Info.plist file, and look for the key "Require device capabilities" and delete it all.

參考

最后編輯于
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請聯(lián)系作者
【社區(qū)內(nèi)容提示】社區(qū)部分內(nèi)容疑似由AI輔助生成,瀏覽時請結(jié)合常識與多方信息審慎甄別。
平臺聲明:文章內(nèi)容(如有圖片或視頻亦包括在內(nèi))由作者上傳并發(fā)布,文章內(nèi)容僅代表作者本人觀點,簡書系信息發(fā)布平臺,僅提供信息存儲服務(wù)。

相關(guān)閱讀更多精彩內(nèi)容

友情鏈接更多精彩內(nèi)容