Xcode 4: Build Failed, No Issues

后端 未结 30 966
再見小時候
再見小時候 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 00:58

    I was just playing with adding multiple projects inside a workspace and got this problem. I have a simple library in one of the projects and I was building and I added an iOS window based target to test it. I deleted the first target I made for this to rename it. After reading this I tried removing xcuserdata from inside the .xcodeproj package and that fixed my problem. I hope this helps someone else. Running Xcode 4.1 on OS X 10.7.1.

提交回复
热议问题