Xcode 4: Build Failed, No Issues

后端 未结 30 1025
再見小時候
再見小時候 2020-12-01 00:39

The app works fine in the simulator, builds and runs.

When I attach my device (iPhone 3GS running iOS 4.3) and target the iPhone, the result is \"Build failed\" with

30条回答
  •  时光说笑
    2020-12-01 01:22

    I had this problem too, but the cause was a different one:

    I have a workspace with one project in it. In this project I use a framework which is included by adding it's Xcode project to my project. I imported the framework's header file in my prefix header (.pch). This was stupid.

    The solution was to remove the #import of the framework header file from my prefix header file and add it only where needed.

提交回复
热议问题