Errors Trying to Build / Publish Ios
See original GitHub issueEnvironment
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):
“dependencies”: { “@angular/animations”: “~8.2.0”, “@angular/common”: “~8.2.0”, “@angular/compiler”: “~8.2.0”, “@angular/core”: “~8.2.0”, “@angular/forms”: “~8.2.0”, “@angular/platform-browser”: “~8.2.0”, “@angular/platform-browser-dynamic”: “~8.2.0”, “@angular/router”: “~8.2.0”, “@nativescript/theme”: “~2.3.0”, “nativescript-angular”: “~8.21.0”, “nativescript-ui-sidedrawer”: “~8.0.0”, “reflect-metadata”: “~0.1.12”, “rxjs”: “^6.4.0”, “tns-core-modules”: “~6.5.0”, “zone.js”: “~0.9.1” }, “devDependencies”: { “@angular/compiler-cli”: “~8.2.0”, “@nativescript/schematics”: “^9.0.0”, “@ngtools/webpack”: “~8.2.0”, “codelyzer”: “~4.5.0”, “nativescript-angular-cli”: “^0.1.9”, “nativescript-dev-webpack”: “~1.5.0”, “node-sass”: “^4.7.1”, “tslint”: “~5.19.0”,
Describe the bug I am getting errors when trying to run tns build…
To Reproduce Try to run tns build…
Expected behavior It should build
Sample project https://github.com/JimLynchCodes/Study-App
Additional context I am trying to follow this guide here (https://docs.nativescript.org/tooling/publishing/publishing-ios-apps). I am stuck on the step “Configure project for distribution”. It just links to an apple website page that doesn’t seem to make sense… 🤔
I am able to run my app locally with tns preview
, scan the qr-code on my iphone with the nativescript playground app, and it works great. Now, I’m trying to deploy to my beta test users.
When I run tns prepare ios --release
Then the webpack all Webpack compilation complete.
And the project is successfully prepared (ios).
When running
tns publish ios [my-apple-email]
Getting this error:
? Apple ID password [hidden]
Your account has two-factor authentication enabled but --appleApplicationSpecificPassword option is not provided.
To generate an application-specific password, please go to https://appleid.apple.com/account/manage.
This password will be used for the iTunes Transporter, which is used to upload your application.
I created a deployment provisioning profile on the apple dev website and am referring to it when running the build command.
When running tns build ios --release --bundle ./certs/EnrolledAgentStudyApp_ios_certs/EnrolledAgentStudyAppPP.mobileprovision
Getting this error:
Preparing project...
Hash: cf8fb0bb49ea347b1ef1
Version: webpack 4.27.1
Time: 4848ms
Built at: 07/30/2020 10:37:35 PM
Asset Size Chunks Chunk Names
2.js 11.4 KiB 2 [emitted]
5.js 5 KiB 5 [emitted]
6.js 3.86 KiB 6 [emitted]
7.js 4.77 KiB 7 [emitted]
8.js 3.73 KiB 8 [emitted]
bundle.js 140 KiB 3, 4 [emitted] bundle
fonts/fa-brands-400.ttf 131 KiB [emitted]
fonts/fa-regular-400.ttf 39.1 KiB [emitted]
fonts/fa-solid-900.ttf 204 KiB [emitted]
package.json 112 bytes [emitted]
runtime.js 6.58 KiB 0 [emitted] runtime
tns_modules/tns-core-modules/inspector_modules.js 304 bytes 4 [emitted] tns_modules/tns-core-modules/inspector_modules
vendor.js 6.49 MiB 1 [emitted] vendor
Entrypoint bundle = runtime.js vendor.js bundle.js
Entrypoint tns_modules/tns-core-modules/inspector_modules = runtime.js vendor.js tns_modules/tns-core-modules/inspector_modules.js
[4] ../node_modules/rxjs/_esm5/internal/Observable.js + 1 modules 4.75 KiB {1} [built]
| 2 modules
[82] ../node_modules/rxjs/_esm5/internal/scheduler/asap.js + 3 modules 3.74 KiB {1} [built]
| 4 modules
[111] ../node_modules/rxjs/_esm5/internal/scheduler/queue.js + 2 modules 2.23 KiB {1} [built]
| 3 modules
[130] ../node_modules/rxjs/_esm5/operators/index.js + 80 modules 152 KiB {1} [built]
| 81 modules
[131] ../node_modules/rxjs/_esm5/index.js + 19 modules 35.8 KiB {1} [built]
| 20 modules
[223] ./app.scss 121 KiB {3} [built]
[277] ../$$_lazy_route_resource lazy namespace object 160 bytes {3} [built]
[290] ./app/question-generator/question-generator.service.ts + 2 modules 9.79 KiB {3} [built]
| ./app/question-generator/question-generator.service.ts 1.96 KiB [built]
| ./app/models/question.ts 238 bytes [built]
| ./app/data/question-bank.ts 7.59 KiB [built]
[496] ./app/app.component.html 2.18 KiB {3} [built]
[501] ./main.ts + 3 modules 5.79 KiB {3} [built]
| ./main.ts 1.17 KiB [built]
| ./app/app.module.ts 1.04 KiB [built]
| ./app/app-routing.module.ts 1.56 KiB [built]
| ./app/app.component.ts 1.99 KiB [built]
[509] ./app/home/home.module.ts + 2 modules 2.05 KiB {6} [built]
| ./app/home/home.module.ts 710 bytes [built]
| ./app/home/home.component.ts 773 bytes [built]
| ./app/home/home-routing.module.ts 593 bytes [built]
[510] ./app/settings/settings.module.ts + 2 modules 2.17 KiB {8} [built]
| ./app/settings/settings.module.ts 758 bytes [built]
| ./app/settings/settings.component.ts 813 bytes [built]
| ./app/settings/settings-routing.module.ts 629 bytes [built]
[511] ./app/fast-feedback/fast-feedback.module.ts + 2 modules 2.77 KiB {5} [built]
| ./app/fast-feedback/fast-feedback.module.ts 808 bytes [built]
| ./app/fast-feedback/fast-feedback.component.ts 1.31 KiB [built]
| ./app/fast-feedback/fast-feedback-routing.module.ts 666 bytes [built]
[512] ./app/fast-feedback-question/fast-feedback-question.module.ts + 2 modules 5.45 KiB {2} [built]
| ./app/fast-feedback-question/fast-feedback-question.module.ts 906 bytes [built]
| ./app/fast-feedback-question/fast-feedback-question.component.ts 3.82 KiB [built]
| ./app/fast-feedback-question/fast-feedback-question-routing.module.ts 739 bytes [built]
[513] ./app/mock-exam/mock-exam.module.ts + 2 modules 2.59 KiB {7} [built]
| ./app/mock-exam/mock-exam.module.ts 760 bytes [built]
| ./app/mock-exam/mock-exam.component.ts 1.21 KiB [built]
| ./app/mock-exam/mock-exam-routing.module.ts 630 bytes [built]
+ 499 hidden modules
Webpack compilation complete.
Project successfully prepared (ios)
Building project...
Xcode build...
2020-07-30 22:37:36.915 xcodebuild[82315:2070047] DVTProvisioningProfileManager: Failed to load profile "/Users/jim/Library/MobileDevice/Provisioning Profiles/distribution.cer" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/jim/Library/MobileDevice/Provisioning Profiles/distribution.cer"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/jim/Library/MobileDevice/Provisioning Profiles/distribution.cer".})
2020-07-30 22:37:36.915 xcodebuild[82315:2070049] DVTProvisioningProfileManager: Failed to load profile "/Users/jim/Library/MobileDevice/Provisioning Profiles/EnrolledAgentStudyApp_CertificateSigningRequest.certSigningRequest" (Error Domain=DVTProvisioningProfileSourceErrorDomain Code=0 "No provisioning profile provider found for profile "/Users/jim/Library/MobileDevice/Provisioning Profiles/EnrolledAgentStudyApp_CertificateSigningRequest.certSigningRequest"." UserInfo={NSLocalizedDescription=No provisioning profile provider found for profile "/Users/jim/Library/MobileDevice/Provisioning Profiles/EnrolledAgentStudyApp_CertificateSigningRequest.certSigningRequest".})
2020-07-30 22:37:36.982 xcodebuild[82315:2069949] DTDeviceKit: deviceType from 2efbecc42eb123fabaf735d6e656d908ec29e3dc was NULL
2020-07-30 22:37:37.033 xcodebuild[82315:2069948] DTDeviceKit: deviceType from 2efbecc42eb123fabaf735d6e656d908ec29e3dc was NULL
2020-07-30 22:37:37.418 xcodebuild[82315:2070055] DTDeviceKit: Failed to mount DDI from '<DVTFilePath:0x7ffbfedf7fb0:'/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/11.4/DeveloperDiskImage.dmg'>', error=-402652958: Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x7ffbff1a8bf0 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402652958 "The device is locked." UserInfo={MobileDeviceErrorCode=(0xE80000E2), com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000011476e81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001147ad8a9 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 1034
2 DTDeviceKitBase 0x00000001147ae5e7 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 779
3 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff652f9567 _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x00000001147ae27a -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
6 IDEiOSSupportCore 0x0000000114362741 __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 265
7 DVTFoundation 0x0000000103bde5d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000103be346b __DVTDispatchGroupAsync_block_invoke + 1194
9 libdispatch.dylib 0x00007fff652ec583 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff652ef738 _dispatch_continuation_pop + 534
12 libdispatch.dylib 0x00007fff652eedbe _dispatch_async_redirect_invoke + 703
13 libdispatch.dylib 0x00007fff652fb7e2 _dispatch_root_queue_drain + 326
14 libdispatch.dylib 0x00007fff652fbf22 _dispatch_worker_thread2 + 92
15 libsystem_pthread.dylib 0x00007fff655476b6 _pthread_wqthread + 220
16 libsystem_pthread.dylib 0x00007fff65546827 start_wqthread + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=The device is locked.}}, NSLocalizedRecoverySuggestion=If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device., NSLocalizedFailure=This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare device for development.}
2020-07-30 22:37:37.418 xcodebuild[82315:2070055] iPhoneConnect: 📱<DVTiOSDevice (0x7ffc2edefd30), hadxain’s iPhone, iPhone, 11.4.1 (15G77), 2efbecc42eb123fabaf735d6e656d908ec29e3dc> unable to mount developer disk image, (Error Domain=com.apple.dtdevicekit Code=806 "Failed to prepare device for development." UserInfo={AssociatedMobileDeviceFunction=AMDeviceMountImage, NSUnderlyingError=0x7ffbff1a8bf0 {Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402652958 "The device is locked." UserInfo={MobileDeviceErrorCode=(0xE80000E2), com.apple.dtdevicekit.stacktrace=(
0 DTDeviceKitBase 0x000000011476e81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001147ad8a9 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 1034
2 DTDeviceKitBase 0x00000001147ae5e7 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 779
3 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff652f9567 _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x00000001147ae27a -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
6 IDEiOSSupportCore 0x0000000114362741 __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 265
7 DVTFoundation 0x0000000103bde5d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000103be346b __DVTDispatchGroupAsync_block_invoke + 1194
9 libdispatch.dylib 0x00007fff652ec583 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff652ef738 _dispatch_continuation_pop + 534
12 libdispatch.dylib 0x00007fff652eedbe _dispatch_async_redirect_invoke + 703
13 libdispatch.dylib 0x00007fff652fb7e2 _dispatch_root_queue_drain + 326
14 libdispatch.dylib 0x00007fff652fbf22 _dispatch_worker_thread2 + 92
15 libsystem_pthread.dylib 0x00007fff655476b6 _pthread_wqthread + 220
16 libsystem_pthread.dylib 0x00007fff65546827 start_wqthread + 15
), DVTRadarComponentKey=261622, NSLocalizedDescription=The device is locked.}}, NSLocalizedRecoverySuggestion=If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device., NSLocalizedFailure=This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running., DVTRadarComponentKey=487927, NSLocalizedDescription=Failed to prepare device for development.}) {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedDescription = "Failed to prepare device for development.";
NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running.";
NSLocalizedRecoverySuggestion = "If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device.";
NSUnderlyingError = "Error Domain=com.apple.dt.MobileDeviceErrorDomain Code=-402652958 \"The device is locked.\" UserInfo={MobileDeviceErrorCode=(0xE80000E2), com.apple.dtdevicekit.stacktrace=(\n\t0 DTDeviceKitBase 0x000000011476e81a DTDKCreateNSErrorFromAMDErrorCode + 233\n\t1 DTDeviceKitBase 0x00000001147ad8a9 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 1034\n\t2 DTDeviceKitBase 0x00000001147ae5e7 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 779\n\t3 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8\n\t4 libdispatch.dylib 0x00007fff652f9567 _dispatch_lane_barrier_sync_invoke_and_complete + 60\n\t5 DTDeviceKitBase 0x00000001147ae27a -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199\n\t6 IDEiOSSupportCore 0x0000000114362741 __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 265\n\t7 DVTFoundation 0x0000000103bde5d4 __DVT_CALLING_CLIENT_BLOCK__ + 7\n\t8 DVTFoundation 0x0000000103be346b __DVTDispatchGroupAsync_block_invoke + 1194\n\t9 libdispatch.dylib 0x00007fff652ec583 _dispatch_call_block_and_release + 12\n\t10 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8\n\t11 libdispatch.dylib 0x00007fff652ef738 _dispatch_continuation_pop + 534\n\t12 libdispatch.dylib 0x00007fff652eedbe _dispatch_async_redirect_invoke + 703\n\t13 libdispatch.dylib 0x00007fff652fb7e2 _dispatch_root_queue_drain + 326\n\t14 libdispatch.dylib 0x00007fff652fbf22 _dispatch_worker_thread2 + 92\n\t15 libsystem_pthread.dylib 0x00007fff655476b6 _pthread_wqthread + 220\n\t16 libsystem_pthread.dylib 0x00007fff65546827 start_wqthread + 15\n), DVTRadarComponentKey=261622, NSLocalizedDescription=The device is locked.}";
}
2020-07-30 22:37:37.418 xcodebuild[82315:2069895] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7ffc2edefd30), hadxain’s iPhone, iPhone, 11.4.1 (15G77), 2efbecc42eb123fabaf735d6e656d908ec29e3dc> -- An error occurred whilst preparing device for development -- Failed to prepare device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running.";
}
--
The device is locked.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402652958
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE80000E2)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011476e81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001147ad8a9 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 1034
2 DTDeviceKitBase 0x00000001147ae5e7 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 779
3 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff652f9567 _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x00000001147ae27a -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
6 IDEiOSSupportCore 0x0000000114362741 __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 265
7 DVTFoundation 0x0000000103bde5d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000103be346b __DVTDispatchGroupAsync_block_invoke + 1194
9 libdispatch.dylib 0x00007fff652ec583 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff652ef738 _dispatch_continuation_pop + 534
12 libdispatch.dylib 0x00007fff652eedbe _dispatch_async_redirect_invoke + 703
13 libdispatch.dylib 0x00007fff652fb7e2 _dispatch_root_queue_drain + 326
14 libdispatch.dylib 0x00007fff652fbf22 _dispatch_worker_thread2 + 92
15 libsystem_pthread.dylib 0x00007fff655476b6 _pthread_wqthread + 220
16 libsystem_pthread.dylib 0x00007fff65546827 start_wqthread + 15
);
}
--
2020-07-30 22:37:37.418 xcodebuild[82315:2069895] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7ffc2edefd30), hadxain’s iPhone, iPhone, 11.4.1 (15G77), 2efbecc42eb123fabaf735d6e656d908ec29e3dc> == Underlying device preparation errors ==
2020-07-30 22:37:37.418 xcodebuild[82315:2069895] [MT] iPhoneConnect: Failed to prepare device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running.";
}
--
The device is locked.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402652958
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE80000E2)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011476e81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001147ad8a9 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 1034
2 DTDeviceKitBase 0x00000001147ae5e7 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 779
3 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff652f9567 _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x00000001147ae27a -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
6 IDEiOSSupportCore 0x0000000114362741 __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 265
7 DVTFoundation 0x0000000103bde5d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000103be346b __DVTDispatchGroupAsync_block_invoke + 1194
9 libdispatch.dylib 0x00007fff652ec583 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff652ef738 _dispatch_continuation_pop + 534
12 libdispatch.dylib 0x00007fff652eedbe _dispatch_async_redirect_invoke + 703
13 libdispatch.dylib 0x00007fff652fb7e2 _dispatch_root_queue_drain + 326
14 libdispatch.dylib 0x00007fff652fbf22 _dispatch_worker_thread2 + 92
15 libsystem_pthread.dylib 0x00007fff655476b6 _pthread_wqthread + 220
16 libsystem_pthread.dylib 0x00007fff65546827 start_wqthread + 15
);
}
--
2020-07-30 22:37:37.419 xcodebuild[82315:2069895] [MT] iPhoneConnect: Failed to prepare device for development.
Domain: com.apple.dtdevicekit
Code: 806
Recovery Suggestion: If you are certain that Xcode supports development on this device, try disconnecting and reconnecting the device.
User Info: {
AssociatedMobileDeviceFunction = AMDeviceMountImage;
DVTRadarComponentKey = 487927;
NSLocalizedFailure = "This operation can fail if the version of the OS on the device is newer than the version of Xcode that is running.";
}
--
The device is locked.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402652958
User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE80000E2)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011476e81a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001147ad8a9 -[DTDKMobileDeviceToken _mountDeveloperDiskImage:withError:] + 1034
2 DTDeviceKitBase 0x00000001147ae5e7 __58-[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:]_block_invoke + 779
3 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
4 libdispatch.dylib 0x00007fff652f9567 _dispatch_lane_barrier_sync_invoke_and_complete + 60
5 DTDeviceKitBase 0x00000001147ae27a -[DTDKMobileDeviceToken mountDeveloperDiskImageWithError:] + 199
6 IDEiOSSupportCore 0x0000000114362741 __37-[DVTiOSDevice(Connect) hasConnected]_block_invoke_2 + 265
7 DVTFoundation 0x0000000103bde5d4 __DVT_CALLING_CLIENT_BLOCK__ + 7
8 DVTFoundation 0x0000000103be346b __DVTDispatchGroupAsync_block_invoke + 1194
9 libdispatch.dylib 0x00007fff652ec583 _dispatch_call_block_and_release + 12
10 libdispatch.dylib 0x00007fff652ed50e _dispatch_client_callout + 8
11 libdispatch.dylib 0x00007fff652ef738 _dispatch_continuation_pop + 534
12 libdispatch.dylib 0x00007fff652eedbe _dispatch_async_redirect_invoke + 703
13 libdispatch.dylib 0x00007fff652fb7e2 _dispatch_root_queue_drain + 326
14 libdispatch.dylib 0x00007fff652fbf22 _dispatch_worker_thread2 + 92
15 libsystem_pthread.dylib 0x00007fff655476b6 _pthread_wqthread + 220
16 libsystem_pthread.dylib 0x00007fff65546827 start_wqthread + 15
);
}
--
2020-07-30 22:37:37.419 xcodebuild[82315:2069895] [MT] iPhoneConnect: 📱<DVTiOSDevice (0x7ffc2edefd30), hadxain’s iPhone, iPhone, 11.4.1 (15G77), 2efbecc42eb123fabaf735d6e656d908ec29e3dc> == END: Underlying device preparation errors ==
note: Using new build system
note: Building targets in parallel
note: Planning build
note: Constructing build description
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the studyapp editor. (in target 'studyapp' from project 'studyapp')
Project successfully built.
The build result is located at: /Users/jim/Git-Projects/Study-App/study-app/platforms/ios/build/Release-iphonesimulator/studyapp.app
Do I need nativescript sidekick?
Do I need fastlane?
When I open up the testflight app there is a strange “Redeem,” button and the text displayed saying “No App Available to Test”.
This is all extremely confusing…
It would be great if someone could help me out and improve the docs a bit! 😃
Thanks
Issue Analytics
- State:
- Created 3 years ago
- Comments:18 (4 by maintainers)
HUZZAAAAH!
First, I revoked all current certificate and profiles in the Apple portal to make things less confusing.
I ended up needing to create an “Apple Distribution” (not iOS distribution!!) certificate & profile for that certificate.
Downloaded the certificate and double-clicked to add to my local key-chain.
Specified the profile name when running
tns prepare
andtns build
.Finally everything built successfully! 🎉
Then used
tns publish
to sent the app to apple. I can see it in itunes connect, and testers can use it from testflight. 😎Thanks!
ok, I am able to get everything set with no errors in xcode:
however, when I run “tns build” I still get an error that it’s trying to use a mysterious “Apple Distribution certificate” that is nowhere to be found in the apple developer portal, instead of the “iOS Distribution” certificate that is in my keychain… 🤔