After upgrading my iPhone 13 Pro Max to iOS 16.2, I started getting the below error when trying to run my app via Xcode. Not 100% certain that was the cause but there's strong correlation. I'd love any guidance on additional troubleshooting; thank you!
Things I've tried that haven't fixed the problem (mostly via searching this board):
Upgrading Xcode and MacOS
Disabling/enabling my device in Certificates, Identifiers & Profiles
Disabling device in Certificates, Identifiers & Profiles and allowing Xcode to re-enabling it by attempting to Run on device
Creating a new development profile in Certificates, Identifiers & Profiles
Manually installing a development profile on the device via Xcode -> Devices and Simulators -> Connected -> Device -> Show Provisioning Profiles
Unpairing and pairing device
Switching off/on developer mode on device
Restarting the device and computer
Cleaning build folder
Signing in/out of the account in xcode
Switching on/off "Automatically manage signing"
Xcode "Download Manual Profiles"
Delete DerivedData folder
What does work:
Ad Hoc installing app (ad hoc profile does also appear on device)
Details
Unable to install "[appname]"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
DVTErrorCreationDateKey = "2023-01-06 00:27:00 +0000";
IDERunOperationFailingWorker = IDEInstalliPhoneLauncher;
}
--
A valid provisioning profile for this executable was not found.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620395
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008015)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000010c696c90 DTDKCreateNSErrorFromAMDErrorCode + 235
1 DTDeviceKitBase 0x000000010c6d32ee __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x00000001020c1e01 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x000000010c6d3016 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1409
4 IDEiOSSupportCore 0x000000010c5aa7a0 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.301 + 3520
5 DVTFoundation 0x00000001021f7a09 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x00000001021f851d __DVTDispatchAsync_block_invoke + 196
7 libdispatch.dylib 0x00007ff80a3dc7fb _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007ff80a3dda44 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007ff80a3e3ac4 _dispatch_lane_serial_drain + 694
10 libdispatch.dylib 0x00007ff80a3e45b4 _dispatch_lane_invoke + 366
11 libdispatch.dylib 0x00007ff80a3eead7 _dispatch_workloop_worker_thread + 762
12 libsystem_pthread.dylib 0x00007ff80a559ce3 _pthread_wqthread + 326
13 libsystem_pthread.dylib 0x00007ff80a558c67 start_wqthread + 15
);
}
--
Analytics Event: com.apple.dt.IDERunOperationWorkerFinished : {
"device_model" = "iPhone14,3";
"device_osBuild" = "16.2 (20C65)";
"device_platform" = "com.apple.platform.iphoneos";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 5576;
"operation_errorCode" = "-402620395";
"operation_errorDomain" = "com.apple.dt.MobileDeviceErrorDomain";
"operation_errorWorker" = IDEInstalliPhoneLauncher;
"operation_name" = IDEiPhoneRunOperationWorkerGroup;
"param_consoleMode" = 0;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 5;
"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" = 0;
"param_launcher_substyle" = 0;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_runnable_type" = 2;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos16.2";
"sdk_osVersion" = "16.2";
"sdk_variant" = iphoneos;
}
--
System Information
macOS Version 13.1 (Build 22C65)
Xcode 14.2 (21534) (Build 14C18)
Timestamp: 2023-01-05T16:27:00-08:00
Post
Replies
Boosts
Views
Activity
Hi all! I have a few questions related to app installs; I was unable to find explicit commentary on these on Google/the forums, so I figured I'd ask it here.
Can a user block an install from showing up on my iTunesConnect dashboard? For example, if they choose to not share their data with developers (or any other mechanism), would that install not show up on iTunesConnect?
If a user downloads the app and then *immediately* uninstalls it, will it not show up on iTunesConnect? If a user taps "Install" and then cancels, does that show up on iTunesConnect? What is the "install"/"conversion" event connected to?
What is the "viewed store listing page" event connected to? Is there any scenario that isn't the standard "I'm viewing an app's entire screenshots/description/etc page"?
Thanks for your help!
My app has been available for several years, receives a rather large number of downloads, yet it still doesn't get any Metrics data in the Xcode Organizer. There's enough data to get information Crashes and Energy, but when load Metrics it tells me:"Insufficient usage data is available to generate metrics"I'm signed into my iTunes account on Xcode; not really sure what extra data I should provide here. Any direction would be really helpful. Thanks!
(I've seen a number of other people ask about this, but no one seems to respond to the questions, not totally sure why)Pretty straightforward situation: I have an annual subscription in my app now. I would like to add a lifetime membership that a user can buy that will replace the annual subscription, but that does not appear to be possible since 1) I can't cancel their old subscription directly, and 2) the lifetime membership can't be a subscription (since it's a one-payment lifetime purchase) and so can't be part of the same subscription group.Has anyone encountered this/does anyone have a solution? Any tips would be super helpful.
For a new CMMotionManager, I cannot get startDeviceMotionUpdatesToQueue or startGyroUpdatesToQueue to work. As I have seen elsewhere in the forums, isGyroAvailable fails, and the only check I can currently pass is isAccelerometerAvailable. I have, albeit not with 100% success, been able to read accelerometer data with startAccelerometerUpdatesToQueue.Has anyone had success here, or does anyone have better information on CoreMotion in WatchOS2? Has anyone had success with CMSensorRecorder and gyroscope data?Other Useful information:-I can get perfect CoreMotion gyroscope access with a regular watch kit extension run on an watchOS2 device (using startDeviceMotionUpdatesToQueue). Clearly all the sensors are in place and are capable.-In the documentation for prerelease watchOS, the full CoreMotion framework appears still to be available: https://developer.apple.com/library/prerelease/watchos/documentation/CoreMotion/Reference/CMMotionManager_Class/index.html#//apple_ref/occ/instm/CMMotionManager/startDeviceMotionUpdatesToQueue:withHandler: