Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Run error #95

Open
sxsdjkk opened this issue Sep 26, 2023 · 1 comment
Open

Run error #95

sxsdjkk opened this issue Sep 26, 2023 · 1 comment

Comments

@sxsdjkk
Copy link

sxsdjkk commented Sep 26, 2023

I can't run IPAPatch-DummyApp in iOS17 device. At the same time, there is no problem on another iOS15 device. And same profile in other empty project is OK.

Xcode: Version 15.0 (15A240d)
device: iPhone13, iOS 17.0.1
Error: Failed to install embedded profile for com.xxx.xxxx : 0xe8008012 (This provisioning profile cannot be installed on this device.)
Verify that the Developer App certificate for your account is trusted on your device. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.
ser Info: {
DVTErrorCreationDateKey = "2023-09-26 02:52:22 +0000";
IDERunOperationFailingWorker = IDEInstallCoreDeviceWorker;
}

Failed to install the app on the device.
Domain: com.apple.dt.CoreDeviceError
Code: 3002
User Info: {
NSURL = "file:///path/DerivedData/IPAPatch-givjqsbffasjchfvsdasuawctkng/Build/Products/Debug-iphoneos/IPAPatch-DummyApp.app/";
}

无法安装“XXXXX”
Domain: IXUserPresentableErrorDomain
Code: 14
Failure Reason: 无法安装此App,因为无法验证其完整性。
Recovery Suggestion: Failed to install embedded profile for com.xxx.xxxx : 0xe8008012 (This provisioning profile cannot be installed on this device.)

Failed to install embedded profile for com.xxx.xxxx : 0xe8008012 (This provisioning profile cannot be installed on this device.)
Domain: MIInstallerErrorDomain
Code: 13
User Info: {
FunctionName = "-[MIInstallableBundle _installEmbeddedProfilesWithError:]";
LegacyErrorString = ApplicationVerificationFailed;
LibMISErrorNumber = "-402620398";
SourceFileLine = 200;
}

Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_isCoreDevice" = 1;
"device_model" = "iPhone14,5";
"device_osBuild" = "17.0.1 (21A340)";
"device_platform" = "com.apple.platform.iphoneos";
"dvt_coredevice_version" = "348.1";
"dvt_mobiledevice_version" = "1643.2.4";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 2423;
"operation_errorCode" = 0;
"operation_errorDomain" = IDEInstallCoreDevice;
"operation_errorWorker" = IDEInstallCoreDeviceWorker;
"operation_name" = IDERunOperationWorkerGroup;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_checker_tpc_enable" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 99;
"param_launcher_substyle" = 8192;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_structuredConsoleMode" = 1;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos17.0";
"sdk_osVersion" = "17.0";
"sdk_variant" = iphoneos;
}

System Information

macOS Version 13.6 (Build 22G120)
Xcode 15.0 (22265) (Build 15A240d)
Timestamp: 2023-09-26T10:52:22+08:00

@samova
Copy link

samova commented Feb 23, 2024

my solution is:

  1. Side load any ipa using the same AppleID with sideloadly
  2. Open Settings on the device and navigate to General -> VPN & Device Management, then select your Developer App certificate to trust it.
  3. Build by Xcode
  4. Every time when you want to build by Xcode, you have to repeat this from No.1.
    我的解决方法是:
    1、用同一苹果ID通过sideloadly工具side load任意ipa
    2、打开iPhone的设定>一般>VPN和设备管理,选择你的开发者证书然后信任
    3、在Xcode运行build
    4、每次使用Xcode build时都需要重复上述操作

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants