微信公众号搜"智元新知"关注
微信扫一扫可直接关注哦!

在 iphone 设备上运行 appc 时,在 iphone 设备上调用 xcodebuild 失败

如何解决在 iphone 设备上运行 appc 时,在 iphone 设备上调用 xcodebuild 失败

Using command as -

appc run -p ios -T device -C "iOS Device" -V "Loretta Martin (GE7BAC5)" -P "11111111-2222-3333-4444-555555555555"

Prov 配置文件名称、UUID 等是正确的。

低于错误

[INFO]  Invoking xcodebuild
[ERROR] 2021-06-04 15:40:25.269 xcodebuild[70250:1650277]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
[ERROR] Details:  (null) deviceType from 0fbc9912d1ea30674a5bdb31f3c9e5c3e10e387f was NULL when -platform called.
[ERROR] Object:   <DTDKMobileDevicetoken: 0x7fc2321b2cb0>
[ERROR] Method:   -platform
[ERROR] Thread:   <NSThread: 0x7fc232311a20>{number = 6,name = (null)}
[ERROR] Please file a bug at https://Feedbackassistant.apple.com with this warning message and any useful information you can provide.
[ERROR] 2021-06-04 15:40:25.612 xcodebuild[70250:1650282]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
[ERROR] Details:  (null) deviceType from 0fbc9912d1ea30674a5bdb31f3c9e5c3e10e387f was NULL when -platform called.
[ERROR] Object:   <DTDKMobileDevicetoken: 0x7fc2321b2cb0>
[ERROR] Method:   -platform
[ERROR] Thread:   <NSThread: 0x7fc231d49f80>{number = 3,name = (null)}
[ERROR] Please file a bug at https://Feedbackassistant.apple.com with this warning message and any useful information you can provide.
[ERROR] 2021-06-04 15:40:25.721 xcodebuild[70250:1650282]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
[ERROR] Details:  (null) deviceType from 0fbc9912d1ea30674a5bdb31f3c9e5c3e10e387f was NULL when -platform called.
[ERROR] Object:   <DTDKMobileDevicetoken: 0x7fc2321b2cb0>
[ERROR] Method:   -platform
[ERROR] Thread:   <NSThread: 0x7fc231d49f80>{number = 3,name = (null)}
[ERROR] Please file a bug at https://Feedbackassistant.apple.com with this warning message and any useful information you can provide.
[ERROR] ** BUILD Failed **
[ERROR] The following build commands Failed:
[ERROR]         CodeSign /Users/avinashkale/Documents/SITB-Appcel-build/CheckIPhoenInstall/build/iphone/build/Products/Debug-iphoneos/CheckIPhoenInstall.app/Frameworks/TitaniumKit.framework
[ERROR] (1 failure)

一个错误日志(有时)-

[INFO] :   Invoking xcodebuild
[ERROR] :  2021-06-04 17:35:16.164 xcodebuild[93030:1799625]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
[ERROR] :  Details:  (null) deviceType from 0fbc9912d1ea30674a5bdb31f3c9e5c3e10e387f was NULL when -platform called.
[ERROR] :  Object:   <DTDKMobileDevicetoken: 0x7feb71b8e220>
[ERROR] :  Method:   -platform
[ERROR] :  Thread:   <NSThread: 0x7feb718bacf0>{number = 6,name = (null)}
[ERROR] :  Please file a bug at https://Feedbackassistant.apple.com with this warning message and any useful information you can provide.
[ERROR] :  2021-06-04 17:35:16.500 xcodebuild[93030:1799817]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
[ERROR] :  Details:  (null) deviceType from 0fbc9912d1ea30674a5bdb31f3c9e5c3e10e387f was NULL when -platform called.
[ERROR] :  Object:   <DTDKMobileDevicetoken: 0x7feb71b8e220>
[ERROR] :  Method:   -platform
[ERROR] :  Thread:   <NSThread: 0x7feb71e7a5c0>{number = 9,name = (null)}
[ERROR] :  Please file a bug at https://Feedbackassistant.apple.com with this warning message and any useful information you can provide.
[ERROR] :  2021-06-04 17:35:16.714 xcodebuild[93030:1799817]  DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-18108/DTDeviceKitBase/DTDKRemoteDeviceData.m:371
[ERROR] :  Details:  (null) deviceType from 0fbc9912d1ea30674a5bdb31f3c9e5c3e10e387f was NULL when -platform called.
[ERROR] :  Object:   <DTDKMobileDevicetoken: 0x7feb71b8e220>
[ERROR] :  Method:   -platform
[ERROR] :  Thread:   <NSThread: 0x7feb71e7a5c0>{number = 9,name = (null)}
[ERROR] :  Please file a bug at https://Feedbackassistant.apple.com with this warning message and any useful information you can provide.
[ERROR] :  ** BUILD Failed **
[ERROR] :  The following build commands Failed:
[ERROR] :   Ld /Users/XXX/Documents/SATB-Appcel-build/SATB-New-Setup/build/iphone/build/Intermediates/SATB.build/Debug-iphoneos/SATB.build/Objects-normal/armv7/Binary/SATB normal armv7
[ERROR] :  (1 failure)

版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。