Details
-
Type:
Bug
-
Status: Open
-
Priority:
Medium
-
Resolution: Unresolved
-
Component/s: Package Manager
-
Labels:None
-
Environment:
Xcode 12 beta 3. SwiftPM tools 5.3. Targeting iOS 13.0+. Tested running on iPhone X hardware.
-
Radar URL:
Description
When a SwiftPM dependency utilizing a binaryTarget directive is used in a project that has embedded frameworks or xcframeworks, the project cannot be installed on a device. Doing so results in a code signing error, shown below. Removing either the SwiftPM dependency or the embedded framework will allow the application to be installed and run on a device. Works on a simulator since no code signing is needed there.
{{}}
Details
Unable to install "OpensslTest"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
–
No code signature found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620388
User Info:
{ DVTRadarComponentKey = 261622; MobileDeviceErrorCode = "(0xE800801C)"; "com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x0000000123f0091f DTDKCreateNSErrorFromAMDErrorCode + 220 1 DTDeviceKitBase 0x0000000123f3f104 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155 2 DVTFoundation 0x000000010742116f DVTInvokeWithStrongOwnership + 71 3 DTDeviceKitBase 0x0000000123f3ee45 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440 4 IDEiOSSupportCore 0x0000000123dafd4c __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513 5 DVTFoundation 0x000000010754f14b __DVT_CALLING_CLIENT_BLOCK__ + 7 6 DVTFoundation 0x0000000107550d6d __DVTDispatchAsync_block_invoke + 1191 7 libdispatch.dylib 0x00007fff6b2206c4 _dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007fff6b221658 _dispatch_client_callout + 8 9 libdispatch.dylib 0x00007fff6b226c44 _dispatch_lane_serial_drain + 597 10 libdispatch.dylib 0x00007fff6b2275d6 _dispatch_lane_invoke + 363 11 libdispatch.dylib 0x00007fff6b230c09 _dispatch_workloop_worker_thread + 596 12 libsystem_pthread.dylib 0x00007fff6b47ba3d _pthread_wqthread + 290 13 libsystem_pthread.dylib 0x00007fff6b47ab77 start_wqthread + 15 ); }–
System Information
macOS Version 10.15.6 (Build 19G73)
Xcode 12.0 (17189.4)