No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7)

No architectures to compile for (ARCHS=arm6 arm7, VALID_ARCHS=armv7)

解決:

  • Go to Project 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:

enter image description here

  • Now go to the AppName-Info.plist file, and look for the key "Require device capabilities" and delete it all.
參考:http://stackoverflow.com/questions/10005896/no-architectures-to-compile-for-archs-arm6-arm7-valid-archs-armv7
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章