Xcode 4: Build Failed, No Issues

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

    I had no problem with name of the bundle so suggested solutions didn't work for me. Finally I have set Don't code sign for the build, then I closed the project, then removed provisioning in organizer, then downloaded new provisioning and add it to organizer, then set them for the build. It worked.

    0 讨论(0)
  • 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.

    0 讨论(0)
  • 2020-12-01 00:59

    I had this same problem. I was trying to fix it a xcode crashed. I reopened it and it worked just fine. Maybe I was lucky or something? Whatever, I don't really care what was wrong with it as long as it works now

    0 讨论(0)
  • 2020-12-01 00:59

    The above solutions do not work for me.

    My solution is to move the project to another folder.

    The build errors then just appear as normally did.

    0 讨论(0)
  • 2020-12-01 01:02

    I was programming an Mac OS X application without codesigning. When I enabled sandboxing in the "Entitlement" section, codesigning automatically switched on and I couldn't make a new build.

    0 讨论(0)
  • 2020-12-01 01:04

    Have you cleaned your build folder? Go to the Product menu, hold down the Option key, and select "Clean Build Folder…"

    0 讨论(0)
提交回复
热议问题