Translate

2015年12月20日 星期日

Watchkit app fails to launch only on ipad

Watchkit app fails to launch only on ipad
What happens is that turning on the HealthKit capability on the Apple Watch extension adds a value healthkitto the UIRequiredDeviceCapabilities array of that same target.

For some strange reason that value prevents the app from launching properly on any iPad device. Manually removing the healthkit value from the Apple Watch extension target plist fixed the issue and submission was successful.

Xcode Could not find Developer Disk Image

Could not find Developer Disk Image
In case of same problem for better understanding how to fix do next:
1.Go to /Applications/Xcode-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport
2.Go to /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSup‌​port
3.Copy folder iOS 9.2 in another folder
4.Restart Xcode

2015年8月4日 星期二

Embedded Binary Validation Utility Error error: WatchKit apps must have a deployment target equal to iOS 8.2 (was 8.3)

Stack Overflow
Select your project settings and go to "TARGETS". Click on your Watch Kit App, select Build Settings. For the key "iOS Deployment Target" you should find "iOS 8.3". For some reason Xcode 6.3 Beta 4 wants to have this on "iOS 8.2" for "Debug" and "Release". Now your project should build as expected.