Lew*_*s42 6 xcode objective-c watchkit
我在尝试在真实设备上运行项目时看到以下错误,在模拟器中运行正常.
error: WatchKit App doesn't contain any WatchKit Extensions. Verify that the value of NSExtensionPointIdentifier in your WatchKit Extension's Info.plist is set to com.apple.watchkit
< app id >< app id >.watchkitWKCompanionAppBundleIdentifier:< app id >< app id >.watchkit.extensionNSExtension> NSExtensionAttributes> WKAppBundleIdentifier:< app id >.watchkitNSExtension> NSExtensionPointIdentifier:com.apple.watchkitWKWatchKitAppYES在Watch Extension和Watch App中都设置为Build Phases> 删除并重新添加了.appexEmbed App ExtensionsMach-O Type被设置为executable在所有目标代替答案,关于调试/故障排除的建议也将受到赞赏.
| 归档时间: |
|
| 查看次数: |
156 次 |
| 最近记录: |