简体   繁体   English

无法安装临时 watchOS 配套应用程序

[英]Unable to install ad-hoc watchOS companion app

I have a companion app for my react-native iOS app.我的 React-native iOS 应用程序有一个配套应用程序。 I created an ad-hoc build to install it.我创建了一个临时构建来安装它。 But the install just fails when I try to install it to the watch.但是当我尝试将它安装到手表时,安装失败了。 I couldn't find anything useful from the watch logs.我从监视日志中找不到任何有用的东西。 Here are the logs from the phone:以下是手机的日志:

default 01:20:50.611742+0530 Bridge -[COSApplicationLinkCell installApp] default 01:20:50.611900+0530 Bridge Check if app needs update for default 01:20:50.613363+0530 atc request keybag sync to paired device default 01:20:50.613459+0530 atc |initiating keybag re-sync with priority 0 default 01:20:50.614612+0530 appconduitd 0x16ff8b000 -[ACXDeviceConnectionClient installApplication:withProvisioningProfileInfo:forTestFlight:onDeviceWithPairingID:completion:]: Requested by Bridge (pid 511) for app fit.cure.intl.ios.beta.watch not for test flight default 01:20:50.615236+0530 appconduitd 0x16ff8b000 -[ACXGizmoAppState setInstallStatus:]: Created unique install ID for fit.cure.intl.ios.beta.watch : fa48d8ed2f36c124829fe7b4d17caa7a default 01:20:50.615386+0530 appconduitd key: (AppStateVersion); default 01:20:50.611742+0530 Bridge -[COSApplicationLinkCell installApp] default 01:20:50.611900+0530 Bridge 检查应用程序是否需要更新默认值 01:20:50.613363+0530 atc request keybag sync to paired device default:2634059 +0530 atc |以优先级 0 默认启动 keybag 重新同步 01:20:50.614612+0530 appconduitd 0x16ff8b000 -[ACXDeviceConnectionClient installApplication:withProvisioningProfileInfo:forTestFlight:onDeviceWithPairingID:completion by Bridge1.]: 应用程序的请求适配。 intl.ios.beta.watch 不用于试飞默认 01:20:50.615236+0530 appconduitd 0x16ff8b000 -[ACXGizmoAppState setInstallStatus:]:为 fit.cure.intl.ios.beta.watch 创建唯一的安装 ID:fa48d8124b7d261c7a1c7f361 :50.615386+0530 appconduitd 键: (AppStateVersion); value type: (CFNumberRef): value: (2);值类型:(CFNumberRef):值:(2); completionHandler: (0x0) default 01:20:50.615664+0530 appconduitd requesting keybag sync to paired device default 01:20:50.615812+0530 appconduitd key: (CompletedInitialPairedSync); completionHandler: (0x0) 默认 01:20:50.615664+0530 appconduitd 请求密钥包同步到配对设备默认 01:20:50.615812+0530 appconduitd 密钥: (CompletedInitialPairedSync); value type: (CFBooleanRef): value: (1);值类型:(CFBooleanRef):值:(1); completionHandler: (0x0) default 01:20:50.616108+0530 appconduitd key: (ApplicationStates); completionHandler: (0x0) 默认 01:20:50.616108+0530 appconduitd key: (ApplicationStates); value type: (CFDictionaryRef): value: ();值类型:(CFDictionaryRef):值:(); completionHandler: (0x0) default 01:20:50.616367+0530 appconduitd key: (NeedsReunionSync); completionHandler: (0x0) 默认 01:20:50.616367+0530 appconduitd key: (NeedsReunionSync); value type: (CFBooleanRef): value: (0);值类型:(CFBooleanRef):值:(0); completionHandler: (0x0) default 01:20:50.617265+0530 appconduitd key: (PendingAppUpdateStates); completionHandler: (0x0) 默认 01:20:50.617265+0530 appconduitd key: (PendingAppUpdateStates); value type: (CFArrayRef): value: ();值类型:(CFArrayRef):值:(); completionHandler: (0x0) default 01:20:50.617424+0530 appconduitd default 01:20:50.617501+0530 filecoordinationd Received claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 default 01:20:50.617578+0530 appconduitd Write options: 0 -- URL: -- purposeID: 070EF6EA-3D01-4DC3-935D-CDC8F7BAF0CA -- claimID: 821CB7C0-4A82-4B1C-9B83-F18B46143C41 default 01:20:50.618812+0530 filecoordinationd Claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 granted in server default 01:20:50.619359+0530 filecoordinationd Claimer for 821CB7C0-4A82-4B1C-9B83-F18B46143C41 is waiting for presenter 070EF6EA-3D01-4DC3-935D-CDC8F7BAF0CA on the same item to relinquish default 01:20:50.619671+0530 filecoordinationd Presenter 070EF6EA-3D01-4DC3-935D-CDC8F7BAF0CA has finished relinquishing, unblocking claimer for 821CB7C0-4A82-4B1C-9B83-F18B46143C41 default 01:20:50.619781+0530 filecoordinationd Claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 invoked in server default 01:20:50.620120+0530 Bridge App () does not require update. completionHandler:(为0x0)默认01:20:50.617424 + 0530 appconduitd默认01:20:50.617501 + 0530 filecoordinationd收到的权利要求821CB7C0-4A82-4B1C-9B83-F18B46143C41默认01:20:50.617578 + 0530 appconduitd写入选项:0 - URL :--目的ID:070EF6EA-3D01-4DC3-935D-CDC8F7BAF0CA--claimID:821CB7C0-4A82-4B1C-9B83-F18B46143C41 default 01:20:50.618812-018812-018812-018812-01B7C04B40C40C40C40C40C40C40G 01:20:50.619359+0530 filecoordinationd Claimer for 821CB7C0-4A82-4B1C-9B83-F18B46143C41正在等待presenter 070EF6EA-3D01-4DC3-935D-CDC8F70070EFco0100000000000000000000000000000000000000000000000000010100000010000000105D-CDC8lin6F7 相同项目3D01-4DC3-935D-CDC8F7BAF0CA 已完成放弃,解除对 821CB7C0-4A82-4B1C-9B83-F18B46143C41 默认 01:20:50.619781+0530 filecoordination-BC80404030 filecoordination-BC80404030 filecoordination-BC80404030 filecoordination-B40404030 filecoordination-B3040403000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000; 50.620120+0530 Bridge App () 不需要更新。 default 01:20:50.620379+0530 Bridge -[COSApplicationLinkCell installNanoBundle:forDevice:] default 01:20:50.620786+0530 appconduitd Claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 granted in client default 01:20:50.620879+0530 appconduitd Claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 invoked in client default 01:20:50.620953+0530 appconduitd self: (0x206750648);默认 01:20:50.620379+0530 桥接 -[COSApplicationLinkCell installNanoBundle:forDevice:] 默认 01:20:50.620786+0530 appconduitd Claim 821CB7C0-4A82-4B1C-9B83-F43C05C707061 授予的 821CB7C0-4A82-4B1C-9B83-F43C07080C70707061 授予: -4A82-4B1C-9B83-F18B46143C41 在客户端默认调用 01:20:50.620953+0530 appconduitd self: (0x206750648); domainDict: (); domainDict: (); url: () default 01:20:50.621665+0530 atc <ATDeviceMessageLink: 0x125df1b30, type=1, open=1> ---> [ID=14, BeginKeybagSync Request, AirFair2, params=[0 bytes], payload=[0 bytes], EOF=1] default 01:20:50.634351+0530 appconduitd domain: (); url: () default 01:20:50.621665+0530 atc <ATDeviceMessageLink: 0x125df1b30, type=1, open=1> ---> [ID=14, BeginKeybagSync Request, AirFair2, params=[0 bytes], payload=[ 0 字节], EOF=1] 默认 01:20:50.634351+0530 appconduitd domain: (); queue: ((null));队列:((空)); pairingID: ();配对ID: (); pairingDataStore: () default 01:20:50.634490+0530 appconduitd self: (0x10038a180); pairingDataStore: () 默认 01:20:50.634490+0530 appconduitd self: (0x10038a180); queue: ((null));队列:((空)); internalAccessor: (0x10035f7c0) default 01:20:50.634546+0530 appconduitd default 01:20:50.634598+0530 appconduitd self: (0x10038a180) default 01:20:50.634964+0530 appconduitd 0x170017000 -[ACXInstallQueue installWatchApp:withPriority:appSettings:provisioningProfileInfo:isUserInitiated:completion:]_block_invoke: Enqueueing (first) install operation for fit.cure.intl.ios.beta.watch default 01:20:50.635272+0530 filecoordinationd Claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 was revoked default 01:20:50.635332+0530 filecoordinationd Making presenter 070EF6EA-3D01-4DC3-935D-CDC8F7BAF0CA reacquire after claim 821CB7C0-4A82-4B1C-9B83-F18B46143C41 default 01:20:50.635620+0530 appconduitd 0x170017000 -[ACXInstallQueue _onQueue_deQueueNextOperation]: Dequeued install operation for fit.cure.intl.ios.beta.watch (0 remaining in queue) default 01:20:50.637666+0530 installd 0x16d243000 -[MIClientConnection snapshotWKAppInCompanionAppID:toURL:options:completion:]: Snapshot requested for fit.cure.intl.ios internalAccessor:(0x10035f7c0)默认01:20:50.634546 + 0530 appconduitd默认01:20:50.634598 + 0530 appconduitd自:(0x10038a180)默认01:20:50.634964 + 0530 appconduitd 0x170017000 - [ACXInstallQueue installWatchApp:withPriority:的appSettings:provisioningProfileInfo:isUserInitiated :completion:]_block_invoke: fit.cure.intl.ios.beta.watch 默认 01:20:50.635272+0530 filecoordinationd Claim 821CB7C0-4A82-4B1C-9B83-F18B40143-F18B40143-F18B40143 的排队(第一次)安装操作: 50.635332 + 0530 filecoordinationd制作演示070EF6EA-3D01-4DC3-935D-CDC8F7BAF0CA重新获取之后,根据权利要求821CB7C0-4A82-4B1C-9B83-F18B46143C41默认01:20:50.635620 + 0530 appconduitd 0x170017000 - [ACXInstallQueue _onQueue_deQueueNextOperation]:已出列安装fit.cure操作.intl.ios.beta.watch(队列中剩余 0 个)默认 01:20:50.637666+0530 安装 0x16d243000 -[MIClientConnection snapshotWKAppInCompanionAppID:toURL:options:completion:]:fit.cure.intl.ios 请求的快照.beta by appconduitd (pid 134) to /var/mobile/Library/Caches/com.apple.AppConduit.staging/fit.cure.intl.ios.beta.watch_cTxswK/Transfer with options { CreatePlaceholderOption = 1; .beta 由 appconduitd (pid 134) 到 /var/mobile/Library/Caches/com.apple.AppConduit.staging/fit.cure.intl.ios.beta.watch_cTxswK/Transfer with options { CreatePlaceholderOption = 1; } default 01:20:50.639719+0530 com.apple.MobileInstallationHelperService 0x16f7d7000 -[MobileInstallationHelperService createAppSnapshotWithBundleID:snapshotToURL:onlyV1AppIfPresent:placeholderOnly:completion:]: Snapshot requested for fit.cure.intl.ios.beta to /var/mobile/Library/Caches/com.apple.AppConduit.staging/fit.cure.intl.ios.beta.watch_cTxswK/Transfer. } 默认 01:20:50.639719+0530 com.apple.MobileInstallationHelperService 0x16f7d7000 -[MobileInstallationHelperService createAppSnapshotWithBundleID:snapshotToURL:onlyV1AppIfPresent:placeholderOnly:completion:]: Snapshot.mobileInstallationHelperService 0x16f7d7000缓存/com.apple.AppConduit.staging/fit.cure.intl.ios.beta.watch_cTxswK/Transfer。 V1: 0, placeholder: 1 default 01:20:50.642383+0530 containermanagerd command=, client=, error= default 01:20:50.643722+0530 containermanagerd command=, client=, error= default 01:20:50.645194+0530 containermanagerd command=, client=, error= default 01:20:50.646353+0530 containermanagerd command=, client=, error= default 01:20:50.711675+0530 appconduitd 0x16ff8b000 -[ACXServerInstallOperation _onQueue_prepForTransferAndInstall]: Acquiring socket for fit.cure.intl.ios.beta.watch (p = Y, ui = Y) default 01:20:50.711987+0530 appconduitd 0x170017000 -[ACXIDSSocketManager _onInternalQueue_initiateConnectionWithCompletionBlock:]: Starting socket setup for stream ID 45562B9B-CA58-42AC-B54A-9A109EAF4DBE default 01:20:50.714184+0530 appconduitd 0x170017000 -[ACXIDSSocketManager _sendMessage:messageDictionary:withAcknowledgement:error:]: Sent socket setup message with IDS ID 2E98F311-4606-4F9B-A183-1777E188267A default 01:21:01.748374+0530 Bridge installApplication error: (Error Domain=ACXErrorDo V1: 0, placeholder: 1 default 01:20:50.642383+0530 containermanagerd command=, client=, error= default 01:20:50.643722+0530 containermanagerd command=, client=, error= default 01:20:50.6453194rd containermanage command=, client=, error= default 01:20:50.646353+0530 containermanagerd command=, client=, error= default 01:20:50.711675+0530 appconduitd 0x16ff8b000 -[ACXServerInstallOperation _onInstallOperation _onInstallOperation _onQueue_prepForint.Transferingforint ios.beta.watch (p = Y, ui = Y) 默认 01:20:50.711987+0530 appconduitd 0x170017000 -[ACXIDSSocketManager _onInternalQueue_initiateConnectionWithCompletionBlock:]: 为流 ID 455658-defaultA20A4B-CA9B-CA9F 开始套接字设置:50.714184+0530 appconduitd 0x170017000 -[ACXIDSSocketManager _sendMessage:messageDictionary:withAcknowledgement:error:]: 发送带有IDS ID 2E98F311-4606-4F9B-A183-17007 错误安装的套接字设置消息:880000000000000000Bridge:Bridge530770 =ACXErrorDo main Code=17 UserInfo={SourceFileLine=633, NSLocalizedDescription=, FunctionName=})主代码=17 UserInfo={SourceFileLine=633, NSLocalizedDescription=, FunctionName=})

Can anyone help me make sense of this log?谁能帮我理解这个日志? What went wrong here?这里出了什么问题?

The issue turned out to be watch UDID not included in the provisioning profile.事实证明,问题是配置文件中未包含 watch UDID。 🤷‍♂️ 🤷‍♂️

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM