The project builds and installs on a simulator, but when I try on a real device I get an unable to install message after the build when its attempting to install it to the iphone. This all happens when trying to embed a dynamic framework. It gives me the error The executable was signed with invalid entitlements. and I'm pretty sure the executable the error message is referring to is the framework's executable which I don't understand because I have no entitlements enable nor do I have an entitlements file. If I try to disable signing for the framework I get An unknown error has occurred. and it still fails to install. Is there a way to specify entitlements for a framework maybe?
Details
Unable to install "Prototype"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620394
--
The executable was signed with invalid entitlements.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620394
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008016)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001200b881a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001200f9f70 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]blockinvoke + 155
2 DVTFoundation 0x00000001062ac155 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x00000001200f9ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x000000011ff70e91 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]blockinvoke.352 + 4165
5 DVTFoundation 0x00000001063df7f4 DVTCALLINGCLIENTBLOCK + 7
6 DVTFoundation 0x00000001063e1436 _DVTDispatchAsyncblockinvoke + 1194
7 libdispatch.dylib 0x00007fff6330e583 dispatchcallblockandrelease + 12
8 libdispatch.dylib 0x00007fff6330f50e dispatchclientcallout + 8
9 libdispatch.dylib 0x00007fff63314ace dispatchlaneserialdrain + 597
10 libdispatch.dylib 0x00007fff63315452 dispatchlaneinvoke + 363
11 libdispatch.dylib 0x00007fff6331ea9e dispatchworkloopworkerthread + 598
12 libsystempthread.dylib 0x00007fff635696fc pthreadwqthread + 290
13 libsystempthread.dylib 0x00007fff63568827 startwqthread + 15
);
}
--
System Information
macOS Version 10.15.2 (Build 19C57)
Xcode 11.5 (16139)
Details
Unable to install "Prototype"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620394
--
The executable was signed with invalid entitlements.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620394
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008016)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x00000001200b881a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x00000001200f9f70 90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]blockinvoke + 155
2 DVTFoundation 0x00000001062ac155 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x00000001200f9ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x000000011ff70e91 118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]blockinvoke.352 + 4165
5 DVTFoundation 0x00000001063df7f4 DVTCALLINGCLIENTBLOCK + 7
6 DVTFoundation 0x00000001063e1436 _DVTDispatchAsyncblockinvoke + 1194
7 libdispatch.dylib 0x00007fff6330e583 dispatchcallblockandrelease + 12
8 libdispatch.dylib 0x00007fff6330f50e dispatchclientcallout + 8
9 libdispatch.dylib 0x00007fff63314ace dispatchlaneserialdrain + 597
10 libdispatch.dylib 0x00007fff63315452 dispatchlaneinvoke + 363
11 libdispatch.dylib 0x00007fff6331ea9e dispatchworkloopworkerthread + 598
12 libsystempthread.dylib 0x00007fff635696fc pthreadwqthread + 290
13 libsystempthread.dylib 0x00007fff63568827 startwqthread + 15
);
}
--
System Information
macOS Version 10.15.2 (Build 19C57)
Xcode 11.5 (16139)