Xcode 4: Build Failed, No Issues

后端 未结 30 957
再見小時候
再見小時候 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:12

    After going though all these answers, I had the exact same issue, but something different solved it for me.

    The Problem:

    Build failed without issues after refactoring. (Renamed a class using Edit -> Refactor -> Rename).

    The Dumbest Solution Ever:

    Go refactor (rename) something else (-_-"). After doing that, the error was that Xcode failed to rename all appropriate files, and didn't show errors. Then, after another refactor, the errors from the previous refactor appeared.

提交回复
热议问题