The identity used to sign the executable is no longer valid

Neither restarting Xcode nor restarting my Mac helped. Solution within Xcode: In Xcode, go to Preferences –> Accounts –> View Details Press the + symbol and select iOS Development Press the refresh button in the lower left corner (called Download all in Xcode 7) PS: Sometimes it may also help to delete invalid provisioning profiles: … Read more

Xcode 4: create IPA file instead of .xcarchive

Creating an IPA is done along the same way as creating an .xcarchive: Product -> Archive. After the Archive operation completes, go to the Organizer, select your archive, select Share and in the “Select the content and options for sharing:” pane set Contents to “iOS App Store Package (.ipa) and Identity to iPhone Distribution (which … Read more

Xcode 4 – build output directory

From the Xcode menu on top, click preferences, select the locations tab, look at the build location option. You have 2 options: Place build products in derived data location (recommended) Place build products in locations specified by targets Update: On xcode 4.6.2 you need to click the advanced button on the right side below the … Read more

Xcode 4 says “finished running ” on the targeted device — Nothing happens

For those reading this in regards to Xcode 4.2, and attempting to run on an earlier device (e.g. iPhone 3G, 2G, iPod 1st gen, etc) I have another solution. New projects created in Xcode 4.2 by default specify ‘armv7’ in the ‘Required Device Capabilities’. You’ll need to remove this if wanting to support devices that … Read more

Apple Mach-O Linker Error when compiling for device

Here is permanent solution.Generally overwriting project may cause this prolems.Try this method. -UPDATE – Clang error – Mach-O Linker error In some case error log window displaying .xctest error, to fix it -> Select your project -> Beside this(just before General tab) select your projectTest file from dropdown -> There is one option (like ProjNameTests) … Read more