Anyone else having issues with this? Still a problem with all the latest updates from today (new Unity 5.2.2, new Mac OS X El Capitan 10.11.1, new Xcode 7.1, new iOS 9.1)
Yes having same issue. I’m on Yosemite, Xcode 7.1, Unity 5.2.2). The player settings don’t appear to be carrying through to the Xcode build, and even when I change them manually in Xcode, still getting the error →
invalid deployment target for -stdlib=libc++ (requires iOS 5.0 or later)
I did report the bug, but not convinced it’s been addressed. I checked the Patch 5.2.2p3 and the issue still exists. If you try to build for anything higher than 8.1, the issue shows up. From 8.2 on up to past iOS 9, when you build you’ll get the Xcode project defaulting to iOS 4, so the iOS build settings are not be relayed to the Xcode project from Unity. If you back off to iOS 8 or 8.1 for the build target it will pass the settings over and if you not using Unity Cloud build, you can then just manually go into your Xcode project and bump up the build target to higher iOS 8.4 or 9+. If you’re using Unity Cloud Build what I found was that whenever if fails to pass the settings over to Xcode and does the iOS 4 default, then Cloud Build fails and it doesn’t override the build target to the on specified in the web interface. Hope this helps those of you out there to run into this issue, and hopefully the issue gets fixed at some point.