Can't install app with WatchKit Extension on iOS 8.1 Simulator with Xcode 6.2

I have an iOS app to deploy iOS 7.0, and I added a WatchKit target. As expected, the extension WatchKitaims to deploy iOS 8.2. When I run the main application on the iOS 8.2 simulator, everything works as expected. However, if I try to run it on the iOS 8.1 simulator, Xcode reports:The operation couldn’t be completed. (LaunchServicesError error 0.)

The CoreSimulator.log file contains the following message:

com.apple.dt.Xcode [12181]: Error Domain = LaunchServicesError Code = 0 "Operation could not be completed (LaunchServicesError error 0.)" UserInfo = 0x7ff46e2dc980 {Error = AppexBundleUnknownExtensionPointIdentifier, ErrorDescription = Appex bundle at / Users Developer / CoreSimulator / Devices // data / Library / Caches / com.apple.mobile.installd.staging / temp.xmo2ks / extracted / InstallBug.app / PlugIns / InstallBug WatchKit Extension.appex with the identifier com.InstallBug.watchkitextension indicates the value ( com.apple.watchkit) for the NSExtensionPointIdentifier key in the NSExtension dictionary in its Info.plist, which does not correspond to a known extension point.

I don't see this issue mentioned in the release notes, and I wonder, this is what others have come across. If so, is there anything else I need to set up to make this work? If not, I will send an error report.

Thank.

+4
source share
2 answers

This is a known issue with Xcode 6.2.

You can get around this by adding a key-value pair "MinimumOSVersion" = "8.2"to the Info.plist file of the Apple Watch extension.

+4
source

Users must be upgraded to iOS 8.2 to install and run the Watch app. Anyone who does not launch iOS 8.2+ will not ask to install the Watch application and will not even know that it is available. There are several reasons for this.

  • Apple Watch iOS iOS, iOS 8.2 +
  • API- Watch Extension iOS , iOS 8.2 +

.

, .

+1

All Articles