After messing around with some resource bundles (not out of the ordinary), all of a sudden Xcode7 Beta 2 refuses to launch the iOS simulator, claiming:
Installation Failed
Invalid Argument
Worse still, when I now fall back to Xcode 6, the same problem occurs..
After digging around, cleaning and removing derived data files.. I discovered a few mentions that this *could* be to do with the Bundle Identifier in the project .plist file..
It looked ok to me, but after making a small modification to this file - BOOM - It worked! I was back in business..
Well, actually.. it seems that was short lived. I am now back where I started, and attempting to refresh the project plist file now has absolutely no bearing.. perhaps it was a fluke.
Anyone else have issues with this error? Any suggestions to resolve?
As a seconday issue, but perhaps could be the cause of the above..
When I try to run this on a real iPhone - the linker now decides...
CodeSign /Users/{removed}/Library/Developer/Xcode/DerivedData/GL_Test-gujkqiizmkddpteqbciuimjdpwbm/Build/Products/Debug-iphoneos/GL\ Demo\ iOS.app
cd /Users/{removed}/Dropbox/Xcode/GameDev
export CODESIGN_ALLOCATE=/Applications/Xcode-beta.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/codesign_allocate
export PATH="/Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode-beta.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
Signing Identity: "iPhone Developer: {removed}@{removed} ({removed})"
Provisioning Profile: "iOSTeam Provisioning Profile: Demo-iOS"
(547f3077-0bb0-4afd-9d62-19b20a689769)
/usr/bin/codesign --force --sign {removed} --entitlements /Users/{removed}/Library/Developer/Xcode/DerivedData/GL_Test-gujkqiizmkddpteqbciuimjdpwbm/Build/Intermediates/GL\ Test.build/Debug-iphoneos/GL\ Demo\ iOS.build/GL\ Demo\ iOS.app.xcent /Users/timk/Library/Developer/Xcode/DerivedData/GL_Test-gujkqiizmkddpteqbciuimjdpwbm/Build/Products/Debug-iphoneos/Demo\ iOS.app
/Users/timk/Library/Developer/Xcode/DerivedData/GL_Test-gujkqiizmkddpteqbciuimjdpwbm/Build/Products/Debug-iphoneos/Demo iOS.app: code object is not signed at all
In subcomponent: /Users/timk/Library/Developer/Xcode/DerivedData/GL_Test-gujkqiizmkddpteqbciuimjdpwbm/Build/Products/Debug-iphoneos/Demo iOS.app/ColorTexture.vert
Command /usr/bin/codesign failed with exit code 1
So, it doesn't like ColorTexture.vert
If I remove this bundle resource (yes, this is a bundle resource - it isn't code, so not sure why it needs signing).. then I get the same error on something more obtuse, outside of user land.
Note, this was all working just fine when I first started with Xcode 7 beta 2... But it's decided it no longer wants to play.
Any suggestions?
Note that I'm not a registered developer - i've been using the new Free Provisioning in Xcode 7