No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=x86_64, VALID_ARCHS=i386)

前端 未结 3 1338
后悔当初
后悔当初 2020-12-09 09:33

While using the iphone simulator 64 bit, i\'m getting the following architecture error. Also using the xcode 5.0. Any suggestions.

3条回答
  •  無奈伤痛
    2020-12-09 09:45

    enter image description hereif you getting error on test xcode project then delete it also resolved this problem.

    other way is todo

    I had the same error message after upgrading to XCode 5.1. Are you using CocoaPods? If so, this should fix the problem:

    Delete the "Pods" project from the workspace in the left pane of Xcode and close Xcode.
    Run "pod install" from the command line to recreate the "Pods" project.
    Re-open Xcode and make sure "Build Active Architecture Only" is set to "No" in the build settings of both the "Pods" project and your own project.
    Clean and build.
    

提交回复
热议问题