Xcode Convert to ARC, Create universal binary fails with error of “can't figure out the architecture type of”

℡╲_俬逩灬. 提交于 2019-12-05 03:24:46

Removing "armv7" from "Valid Architectures" in the Target (leaving only "armv7s") solved this for me. My iOS Deployment Target is 4.3.

Adding "armv6" to "Valid Architectures" in the Target and updating my iOS Deployment Target to 6.1 did not work.

Encountered while converting to Objective-C ARC in XCode Version 4.6 (4H127)

I trawled my project build settings again and noticed that I had removed armv6 architecture support but still had the deployment target set to an iOS version less than 4.3. Updating the deployment target to iOS 4.3 or above resolved the problem.

TheGhost

I also encountered same problem while migrating to ARC from NON-ARC. and after digging and banging head I come to know 2 solutions

  1. Add armv6 in valid arch's in target, OR
  2. Set build Active Arch. only to NO.
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!