My app will compile and run just fine on other devices and simulators. It used to run very well on the watch simulator as well. Out of the blue, I start getting the error:
Command /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool failed with exit code 255
Along with this warning:
Check dependencies
Warning: The Copy Bundle Resources build phase contains this target's Info.plist file 'Melody Pro WatchKit Extension/Info.plist'.
Now I dug around Stack and other places for solutions, and this is what I've tried:
- Restarting Xcode
- Restarting Simulator / Reset all content and settings
- Reinstall Xcode and Simulators
- Reboot machine.
- Double checked there are no broken outlets in the Storyboard
What I have realized is causing it: Setting the main entry point in the WatchKit's storyboard. The second I delete it, app compiles fine. The second I add it to any view controller what so ever, the app's build will generate the error.
Does anyone have any suggestions?
Full error:
CompileStoryboard AppName\ Pro\ WatchKit\ App/Interface.storyboard cd "/Users/usersname/Documents/Development/AppName Pro" export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" export XCODE_DEVELOPER_USR_PATH=/Applications/Xcode.app/Contents/Developer/usr/bin/.. /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin/ibtool --errors --warnings --notices --module AppName_Pro_WatchKit_Extension --minimum-deployment-target 8.2 --output-partial-info-plist /Users/usersname/Library/Developer/Xcode/DerivedData/AppName_Pro-ahibpirzphlviggyowiczbnjgszo/Build/Intermediates/AppName\ Pro.build/Debug-iphonesimulator/AppName\ Pro\ WatchKit\ App.build/Interface-SBPartialInfo.plist --auto-activate-custom-fonts --output-format human-readable-text --compilation-directory /Users/usersname/Library/Developer/Xcode/DerivedData/AppName_Pro-ahibpirzphlviggyowiczbnjgszo/Build/Products/Debug-iphonesimulator/AppName\ Pro\ WatchKit\ App.app /Users/usersname/Documents/Development/AppName\ Pro/AppName\ Pro\ WatchKit\ App/Interface.storyboard
Info.plistfrom Copy Bundle Resources in your target's Build Phases? - NobodyNada