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