NativeScript / NativeScript/nativescript-cli
Updated to latest IOS, won't build
Chưa có ai nhận issue này.
- Ngôn ngữ chính
- JavaScript
- Star
- 1.1k
- Fork
- 204
- Merge trung bình
- 1 ngày 9 giờ
- Pull request đã merge (30 ngày)
- 8
Mô tả
This is getting old real quick!! Not the first time and I am realizing it wont be the last. I have tried updating nativescript, updating my project, updating my ios, updating xcode, updating everything. It will not build. (it build just fine like, a week ago) . It says "user has not accepted the pairing request". I have. On both devices, multiple times. I keep blowing out the settings and resetting and it doesn't matter. It thinks that the device has not responded to the pairing request, no matter what I do.
Environment
Provide version numbers for the following components (information can be retrieved by running tns info in your project folder or by inspecting the package.json of the project):
- CLI: updated to latest
- Cross-platform modules: ??
- Android Runtime:
- iOS Runtime: 13.3
- Plugin(s): firebase
Describe the bug
Won't build. It claims "the user has not responded to the pairing request". This is untrue. I blew out all of the phone settings and when I plug it into the macbook, it asks me to trust it which I do, on both devices. Yet it claims The user has not responded.
To Reproduce
tns run ios
Expected behavior
app builds
Sample project
Additional context
DTDeviceKit: Failed to mount DDI from 'DVTFilePath:0x7fa7cd6922b0:'/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport/6.1/DeveloperDiskImage.dmg'', error=-402653034: Error Domain=com.apple.dtdevicekit Code=-402653034 "Xcode encountered an error" UserInfo={NSLocalizedFailureReason=The user has not yet responded to the pairing request., com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x0000000110f626e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000110f62de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x0000000110fa0780 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 844
3 DTDeviceKitBase 0x0000000110fa129d __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 699
4 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff5cc82129 _dispatch_lane_barrier_sync_invoke_and_complete + 60
6 DTDeviceKitBase 0x0000000110fa0f80 -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
7 IDEiOSSupportCore 0x0000000110b5c107 __28-[DVTiOSDevice attachToken:]_block_invoke_4 + 254
8 DVTFoundation 0x00000001012fbe8a DVT_CALLING_CLIENT_BLOCK + 7
9 DVTFoundation 0x00000001012fd562 __DVTDispatchAsync_block_invoke + 809
10 libdispatch.dylib 0x00007fff5cc755f8 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff5cc78de6 _dispatch_continuation_pop + 414
13 libdispatch.dylib 0x00007fff5cc784a3 _dispatch_async_redirect_invoke + 703
14 libdispatch.dylib 0x00007fff5cc843bc _dispatch_root_queue_drain + 324
15 libdispatch.dylib 0x00007fff5cc84b46 _dispatch_worker_thread2 + 90
16 libsystem_pthread.dylib 0x00007fff5ceb66b3 _pthread_wqthread + 583
17 libsystem_pthread.dylib 0x00007fff5ceb63fd start_wqthread + 13
), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error}
2020-01-10 20:43:26.176 xcodebuild[628:7703] iPhoneSupport: 📱<DVTiOSDevice (0x7fa7cd60bda0), iPhone, iPhone, 13.3 (17C54), ce4ada5943169eabdead45103bfd40c686a97e62> unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=-402653034 "Xcode encountered an error" UserInfo={NSLocalizedFailureReason=The user has not yet responded to the pairing request., com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x0000000110f626e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000110f62de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x0000000110fa0780 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 844
3 DTDeviceKitBase 0x0000000110fa129d __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 699
4 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff5cc82129 _dispatch_lane_barrier_sync_invoke_and_complete + 60
6 DTDeviceKitBase 0x0000000110fa0f80 -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
7 IDEiOSSupportCore 0x0000000110b5c107 __28-[DVTiOSDevice attachToken:]_block_invoke_4 + 254
8 DVTFoundation 0x00000001012fbe8a DVT_CALLING_CLIENT_BLOCK + 7
9 DVTFoundation 0x00000001012fd562 __DVTDispatchAsync_block_invoke + 809
10 libdispatch.dylib 0x00007fff5cc755f8 _dispatch_call_block_and_release + 12
11 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
12 libdispatch.dylib 0x00007fff5cc78de6 _dispatch_continuation_pop + 414
13 libdispatch.dylib 0x00007fff5cc784a3 _dispatch_async_redirect_invoke + 703
14 libdispatch.dylib 0x00007fff5cc843bc _dispatch_root_queue_drain + 324
15 libdispatch.dylib 0x00007fff5cc84b46 _dispatch_worker_thread2 + 90
16 libsystem_pthread.dylib 0x00007fff5ceb66b3 _pthread_wqthread + 583
17 libsystem_pthread.dylib 0x00007fff5ceb63fd start_wqthread + 13
), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error})
2020-01-10 20:43:29.456 xcodebuild[628:7700] DTDeviceKit: Failed to mount DDI from 'DVTFilePath:0x7fa7cd6922b0:'/Applications/Xcode.app/Contents/Developer/Platforms/WatchOS.platform/DeviceSupport/6.1/DeveloperDiskImage.dmg'', error=-402653034: Error Domain=com.apple.dtdevicekit Code=-402653034 "Xcode encountered an error" UserInfo={NSLocalizedFailureReason=The user has not yet responded to the pairing request., com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x0000000110f626e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000110f62de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x0000000110fa0780 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 844
3 DTDeviceKitBase 0x0000000110fa129d __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 699
4 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff5cc82478 _dispatch_sync_invoke_and_complete_recurse + 65
6 libdispatch.dylib 0x00007fff5cc81fe6 _dispatch_sync_f_slow + 195
7 DTDeviceKitBase 0x0000000110fa0f80 -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
8 IDEiOSSupportCore 0x0000000110b5c107 __28-[DVTiOSDevice attachToken:]_block_invoke_4 + 254
9 DVTFoundation 0x00000001012fbe8a DVT_CALLING_CLIENT_BLOCK + 7
10 DVTFoundation 0x00000001012fd562 __DVTDispatchAsync_block_invoke + 809
11 libdispatch.dylib 0x00007fff5cc755f8 _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff5cc78de6 _dispatch_continuation_pop + 414
14 libdispatch.dylib 0x00007fff5cc784a3 _dispatch_async_redirect_invoke + 703
15 libdispatch.dylib 0x00007fff5cc843bc _dispatch_root_queue_drain + 324
16 libdispatch.dylib 0x00007fff5cc84b46 _dispatch_worker_thread2 + 90
17 libsystem_pthread.dylib 0x00007fff5ceb66b3 _pthread_wqthread + 583
18 libsystem_pthread.dylib 0x00007fff5ceb63fd start_wqthread + 13
), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error}
2020-01-10 20:43:29.456 xcodebuild[628:7700] iPhoneSupport: 📱<DVTiOSDevice (0x7fa7cd60bda0), iPhone, iPhone, 13.3 (17C54), ce4ada5943169eabdead45103bfd40c686a97e62> unable to mount DeveloperDiskImage (Error Domain=com.apple.dtdevicekit Code=-402653034 "Xcode encountered an error" UserInfo={NSLocalizedFailureReason=The user has not yet responded to the pairing request., com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x0000000110f626e7 DTDKCreateNSError + 109
1 DTDeviceKitBase 0x0000000110f62de9 DTDK_AMDErrorToNSError + 792
2 DTDeviceKitBase 0x0000000110fa0780 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 844
3 DTDeviceKitBase 0x0000000110fa129d __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 699
4 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
5 libdispatch.dylib 0x00007fff5cc82478 _dispatch_sync_invoke_and_complete_recurse + 65
6 libdispatch.dylib 0x00007fff5cc81fe6 _dispatch_sync_f_slow + 195
7 DTDeviceKitBase 0x0000000110fa0f80 -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
8 IDEiOSSupportCore 0x0000000110b5c107 __28-[DVTiOSDevice attachToken:]_block_invoke_4 + 254
9 DVTFoundation 0x00000001012fbe8a DVT_CALLING_CLIENT_BLOCK + 7
10 DVTFoundation 0x00000001012fd562 __DVTDispatchAsync_block_invoke + 809
11 libdispatch.dylib 0x00007fff5cc755f8 _dispatch_call_block_and_release + 12
12 libdispatch.dylib 0x00007fff5cc7663d _dispatch_client_callout + 8
13 libdispatch.dylib 0x00007fff5cc78de6 _dispatch_continuation_pop + 414
14 libdispatch.dylib 0x00007fff5cc784a3 _dispatch_async_redirect_invoke + 703
15 libdispatch.dylib 0x00007fff5cc843bc _dispatch_root_queue_drain + 324
16 libdispatch.dylib 0x00007fff5cc84b46 _dispatch_worker_thread2 + 90
17 libsystem_pthread.dylib 0x00007fff5ceb66b3 _pthread_wqthread + 583
18 libsystem_pthread.dylib 0x00007fff5ceb63fd start_wqthread + 13
), DVTRadarComponentKey=487927, NSLocalizedDescription=Xcode encountered an error})
In file included from /Users/curt/github/vue-nativescript-notices/platforms/ios/internal/main.m:5:
In file included from /Users/curt/github/vue-nativescript-notices/platforms/ios/internal/TNSExceptionHandler.h:13:
In file included from /Users/curt/github/vue-nativescript-notices/platforms/ios/internal/NativeScript.framework/Headers/NativeScript.h:12:
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Hướng nghiên cứu
Bắt đầu bằng cách tái hiện tns run ios với thiết lập iOS 13.3 và Xcode được báo cáo, sau đó kiểm tra lỗi ghép đôi thiết bị và DeveloperDiskImage trong đầu ra của lệnh. Issue đề cập đến package.json và tệp được tạo platforms/ios/internal/main.m; công việc được xem là hoàn tất khi xác định được nguyên nhân trong NativeScript CLI hoặc ghi lại rằng lỗi nằm ngoài CLI, với một bản build iOS thành công đã được xác minh.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- ios, javascript
- Lĩnh vực
- cli, mobile-dev
- Loại issue
- Lỗi
- Độ khó
- 4/5
- Thời gian dự kiến
- 3-5 ngày
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Cần làm rõ
- Mức phù hợp với người mới
- 20/100