无法在真正的Apple Watch上构建Hello World应用程序

问题描述 投票:0回答:1

[我试图在我的新Apple Watch 5上从Xcode Beta 11.3中构建一个WatchKit应用程序(与非Beta Xcode 11.2相同的问题,但非Beta版本的Xcode 11.2也存在同样的问题。) >

模拟器运行正常,但是当我尝试在设备上运行它时,它告诉我它无法使用此问题的高级详细信息安装应用程序:

Details  

Unable to install "Prova Watch WatchKit App"  
Domain: com.apple.dtdevicekit  
Code: -402620395  
--  
App installation failed  
Domain: com.apple.dtdevicekit  
Code: -402620395  
Failure Reason: A valid provisioning profile for this executable was not found.  
User Info: {  
    DVTRadarComponentKey = 487927;  
    "com.apple.dtdevicekit.stacktrace" = (  
  0   DTDeviceKitBase                     0x00000001210186e7 DTDKCreateNSError + 109  
  1   DTDeviceKitBase                     0x0000000121018de9 DTDK_AMDErrorToNSError + 792  
  2   DTDeviceKitBase                     0x000000012105856a __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 164  
  3   DVTFoundation                       0x0000000107711c22 DVTInvokeWithStrongOwnership + 73  
  4   DTDeviceKitBase                     0x0000000121058301 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1589  
  5   IDEiOSSupportCore                   0x0000000120ee0a25 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4523  
  6   DVTFoundation                       0x0000000107842e8a __DVT_CALLING_CLIENT_BLOCK__ + 7  
  7   DVTFoundation                       0x0000000107844562 __DVTDispatchAsync_block_invoke + 809  
  8   libdispatch.dylib                   0x00007fff67df6553 _dispatch_call_block_and_release + 12  
  9   libdispatch.dylib                   0x00007fff67df74de _dispatch_client_callout + 8  
  10  libdispatch.dylib                   0x00007fff67dfca9e _dispatch_lane_serial_drain + 597  
  11  libdispatch.dylib                   0x00007fff67dfd422 _dispatch_lane_invoke + 363  
  12  libdispatch.dylib                   0x00007fff67e06aa1 _dispatch_workloop_worker_thread + 598  
  13  libsystem_pthread.dylib             0x00007fff68050763 _pthread_wqthread + 290  
  14  libsystem_pthread.dylib             0x00007fff680505c3 start_wqthread + 15  
);  
}  
--  

我尝试了独立的WatchKit应用和Watch + Phone应用。使用Watch + Phone应用程序,我可以很好地将其安装在手机上,但是仍然无法在手表上运行watchkit应用程序目标。

我正在使用我的个人AppleID帐户(不是付费帐户,不确定是否需要在手表上测试一个应用程序)。在签名和功能中,我选中了“自动管理签名”,并将我的AppleId作为团队。

[我试图在我的新Apple Watch 5上从Xcode Beta 11.3中构建一个WatchKit应用程序(非Beta Xcode 11.2也存在相同问题,但我无法在真实设备上安装该应用程序。 ...

ios xcode watchkit apple-watch provisioning-profile
1个回答
0
投票
© www.soinside.com 2019 - 2024. All rights reserved.