“Your binary is not optimized for iPhone 5” after I upload an app with xcode 6.0.1

We faced the same issue and couldn’t solve it after trying many solutions, we believe it’s a kind of bug in App submission. But we found a workaround which can keep launch images localized and pass the submission verification. Environment: Xcode 6.1 (6A1052c) with iOS 8.1 SDK Precondition: Have following properties in your “*-info.plist” file. … Read more

What is target membership in Xcode 4

Generally header files are not members of targets. Making an implementation file a member of a target tells Xcode to compile the file when you build the target. In your example Xcode compiles the file myAppFile.m when you build the myAppTests target but not when you build the myApp target. When you have an application … Read more

Insert Subversion revision number in Xcode

There’s a much simpler solution: using PlistBuddy, included at /usr/libexec/PlistBuddy in Leopard. See my answer to a related SO question for details. PlistBuddy can be used in a Run Script build phase from within Xcode, and can be used to only affect the processed plist file. Just put it after the Copy Resources phase, and … Read more

SVN ignore pattern with Xcode 4

I have the following in my ~/.subversion/config file: global-ignores = *.o *.lo *.la .*.rej *.rej .*~ *~ .#* .DS_Store *~.nib *.mode* *.pbxuser CVS _*.java *.perspective .LSOverride *.xcuserdatad I added the last one (*.xcuserdatad) recently for Xcode 4.

Xcode 4 plugin development

As far as I know there is no official way to create Xcode 4 plugins (just like there wasn’t one for v3.x). Here is an openradar on Xcode’s lack of plugin support: Please support the ability for 3rd parties to extend Xcode via a public plugin API. Aperture, Visual Studio, Eclipse, TextMate and other applications … Read more