What is up with provisioning profiles?
Posted: Fri Sep 08, 2023 10:19 pm
Hi all,
I have been struggling for the past few days to get an app built and running on an iPad. I've got a dev certificate and have created a provisioning profile using that certificate, which includes my device, among others.
When I select my iPad in the Test Target menu and then select Test from the Development menu, I end up with the error message in attachment 1. If I just build the standalone like normal, the process completes as expected, but when I use Xcode to install the app on my device, I get the following from Xcode:
Error installing '/Volumes/LaCie Dev/Read Naturally/ReadNatDev/LiveCode/Mobile Projects/Splat-o-nym/builds/Splat-O-Nym/1.0.4.1/splatonym2/splatonym.app', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSLocalizedDescription=Failed to install the app on the device., NSURL=file:///Volumes/LaCie%20Dev/Read%20Naturally/ReadNatDev/LiveCode/Mobile%20Projects/Splat-o-nym/builds/Splat-O-Nym/1.0.4.1/splatonym2/splatonym.app/, NSUnderlyingError=0x600002bbdc50 {Error Domain=IXUserPresentableErrorDomain Code=14 "Unable to Install “Splat-O-Nym”" UserInfo={NSUnderlyingError=0x600002bbde30 {Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.J3HWHj/extracted/splatonym.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)" UserInfo={FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=78, LibMISErrorNumber=-402620395, NSLocalizedDescription=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.J3HWHj/extracted/splatonym.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)}}, NSLocalizedDescription=Unable to Install “Splat-O-Nym”, NSLocalizedRecoverySuggestion=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.J3HWHj/extracted/splatonym.app : 0xe8008015 (A valid provisioning profile for this executable was not found.), NSLocalizedFailureReason=This app cannot be installed because its integrity could not be verified.}}}
Domain: com.apple.dt.DVTCoreDevice
Code: -1
User Info: {
DVTErrorCreationDateKey = "2023-09-08 21:14:20 +0000";
}
--
What am I missing? I've gone through the process of regenerating certificates and profiles three or four times now, trying different things. Nothing seems to fix the issue for me. I'm running MacOS Ventura 13.5.2, LiveCode 9.6.10, and Xcode 14.2.
Any help would be appreciated. Thanks!
I have been struggling for the past few days to get an app built and running on an iPad. I've got a dev certificate and have created a provisioning profile using that certificate, which includes my device, among others.
When I select my iPad in the Test Target menu and then select Test from the Development menu, I end up with the error message in attachment 1. If I just build the standalone like normal, the process completes as expected, but when I use Xcode to install the app on my device, I get the following from Xcode:
Error installing '/Volumes/LaCie Dev/Read Naturally/ReadNatDev/LiveCode/Mobile Projects/Splat-o-nym/builds/Splat-O-Nym/1.0.4.1/splatonym2/splatonym.app', ERROR: Error Domain=com.apple.dt.CoreDeviceError Code=3002 "Failed to install the app on the device." UserInfo={NSLocalizedDescription=Failed to install the app on the device., NSURL=file:///Volumes/LaCie%20Dev/Read%20Naturally/ReadNatDev/LiveCode/Mobile%20Projects/Splat-o-nym/builds/Splat-O-Nym/1.0.4.1/splatonym2/splatonym.app/, NSUnderlyingError=0x600002bbdc50 {Error Domain=IXUserPresentableErrorDomain Code=14 "Unable to Install “Splat-O-Nym”" UserInfo={NSUnderlyingError=0x600002bbde30 {Error Domain=MIInstallerErrorDomain Code=13 "Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.J3HWHj/extracted/splatonym.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)" UserInfo={FunctionName=+[MICodeSigningVerifier _validateSignatureAndCopyInfoForURL:withOptions:error:], LegacyErrorString=ApplicationVerificationFailed, SourceFileLine=78, LibMISErrorNumber=-402620395, NSLocalizedDescription=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.J3HWHj/extracted/splatonym.app : 0xe8008015 (A valid provisioning profile for this executable was not found.)}}, NSLocalizedDescription=Unable to Install “Splat-O-Nym”, NSLocalizedRecoverySuggestion=Failed to verify code signature of /var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.J3HWHj/extracted/splatonym.app : 0xe8008015 (A valid provisioning profile for this executable was not found.), NSLocalizedFailureReason=This app cannot be installed because its integrity could not be verified.}}}
Domain: com.apple.dt.DVTCoreDevice
Code: -1
User Info: {
DVTErrorCreationDateKey = "2023-09-08 21:14:20 +0000";
}
--
What am I missing? I've gone through the process of regenerating certificates and profiles three or four times now, trying different things. Nothing seems to fix the issue for me. I'm running MacOS Ventura 13.5.2, LiveCode 9.6.10, and Xcode 14.2.
Any help would be appreciated. Thanks!