Watchkit 应用仅在 ipad 上无法启动
Watchkit app fails to launch only on ipad
我正在尝试向 TestFlight 提交应用程序,但由于以下原因被拒绝了两次:
2.3 Details
However, we attempted to review your app but were unable to install
the app on iPad. The UIRequiredDeviceCapabilities key in the
Info.plist is set in such a way that the app will not install on an
iPad.
Next Steps
Please check the UIRequiredDeviceCapabilities key to verify that it
contains only the attributes required for your app features or the
attributes that must not be present on the device. Attributes
specified by a dictionary should be set to true if they are required
and false if they must not be present on the device.
当我尝试在 ipad 模拟器上启动应用程序时,出现错误:
Oct 2 11:32:04 exploiter.local com.apple.dt.Xcode[59574] <Error>: Error
Domain=LaunchServicesError Code=0
"The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x7fe30acc1950
{Error=WatchKitTwoAppMissingExtension, ErrorDescription=WatchKit 2 app at /Users/yair/Library/Developer/CoreSimulator/Devices/1E3162E3-A525-4B7E-B36C-4EC17B4C7A96/data/Library/Caches/com.apple.mobile.installd.staging/temp.sq7Y13/extracted/MA.app/Watch/MA WatchKit App.app
is missing its app extension.}
有人见过这个问题吗?
我相信这会对某些人有所帮助,因为我认为这是一个 xcode 错误。
发生的事情是,在 Apple Watch 扩展上打开 HealthKit 功能会向同一目标的 UIRequiredDeviceCapabilities 数组添加一个值 healthkit
。
由于某些奇怪的原因,该值会阻止应用程序在任何 iPad 设备上正常启动。从 Apple Watch 扩展目标 plist 中手动删除 healthkit
值解决了问题,提交成功。
此外,如果在删除值后您在该屏幕上看到警告,您可以忽略它。该应用程序将顺利部署和安装。
Apple Watch 应用程序(WatchKit 扩展)旨在成为 iPhone 的伴侣,并且只能与 iPhone 一起正常工作。可能有一种解决方法可以将其连接到 iPad(据我所知),但应用程序无法按您的预期运行。
我正在尝试向 TestFlight 提交应用程序,但由于以下原因被拒绝了两次:
2.3 Details
However, we attempted to review your app but were unable to install the app on iPad. The UIRequiredDeviceCapabilities key in the Info.plist is set in such a way that the app will not install on an iPad.
Next Steps
Please check the UIRequiredDeviceCapabilities key to verify that it contains only the attributes required for your app features or the attributes that must not be present on the device. Attributes specified by a dictionary should be set to true if they are required and false if they must not be present on the device.
当我尝试在 ipad 模拟器上启动应用程序时,出现错误:
Oct 2 11:32:04 exploiter.local com.apple.dt.Xcode[59574] <Error>: Error
Domain=LaunchServicesError Code=0
"The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x7fe30acc1950
{Error=WatchKitTwoAppMissingExtension, ErrorDescription=WatchKit 2 app at /Users/yair/Library/Developer/CoreSimulator/Devices/1E3162E3-A525-4B7E-B36C-4EC17B4C7A96/data/Library/Caches/com.apple.mobile.installd.staging/temp.sq7Y13/extracted/MA.app/Watch/MA WatchKit App.app
is missing its app extension.}
有人见过这个问题吗?
我相信这会对某些人有所帮助,因为我认为这是一个 xcode 错误。
发生的事情是,在 Apple Watch 扩展上打开 HealthKit 功能会向同一目标的 UIRequiredDeviceCapabilities 数组添加一个值 healthkit
。
由于某些奇怪的原因,该值会阻止应用程序在任何 iPad 设备上正常启动。从 Apple Watch 扩展目标 plist 中手动删除 healthkit
值解决了问题,提交成功。
此外,如果在删除值后您在该屏幕上看到警告,您可以忽略它。该应用程序将顺利部署和安装。
Apple Watch 应用程序(WatchKit 扩展)旨在成为 iPhone 的伴侣,并且只能与 iPhone 一起正常工作。可能有一种解决方法可以将其连接到 iPad(据我所知),但应用程序无法按您的预期运行。