So I had a fully working app, on which I was doing some updates, I was working on the last things, and testing on a real device, I run the app and test it, there was a UILabel text value I had to update, I did and ran the app again on the device to find an error stating "Unable to install iosApp" details below
Details
Unable to install "iosApp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
--
Could not inspect the application package.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTRadarComponentKey = 282703;
MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011a39b3b8 DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x000000011a3d9ae1 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x0000000104f4fbac DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x000000011a3d9822 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x00000001146d1999 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 3534
5 DVTFoundation 0x0000000105082921 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010508454b __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff201635dd _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff201647c7 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff2016a5fe _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff2016b0cb _dispatch_lane_invoke + 375
11 libdispatch.dylib 0x00007fff20174c5d _dispatch_workloop_worker_thread + 819
12 libsystem_pthread.dylib 0x00007fff2030c499 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff2030b467 start_wqthread + 15
);
}
--
System Information
macOS Version 11.0.1 (Build 20B29)
Xcode 12.5.1 (18212) (Build 12E507)
Timestamp: 2021-07-25T19:23:09-07:00
Out of nowhere the app can't be installed any longer. I restarted xcode, rebooted the computer, rebooted the ipod, uninstalled the app, un-paired the ipod, re-paired the ipod, clean build, deleted cache and still same problem.
So I thought, maybe the ipod has a problem so I attempted to run this on an iphone and the same, in the simulator it acts a bit different, it then gives me this error details
Failed to install the requested application
Domain: NSPOSIXErrorDomain
Code: 22
Failure Reason: The bundle identifier of the application could not be determined.
Recovery Suggestion: Ensure that the application's Info.plist contains a value for CFBundleIdentifier.
User Info: {
bundleURL = "file:///Users/tlacaelel-ramon-luis/Library/Developer/Xcode/DerivedData/iosApp-bgzddjaiahuysehfxtamviqbsuph/Build/Products/Debug-iphonesimulator/iosApp.app/";
}
--
System Information
macOS Version 11.0.1 (Build 20B29)
Xcode 12.5.1 (18212) (Build 12E507)
Timestamp: 2021-07-25T19:30:10-07:00
So I went to check the build info.plist and the CFBundleIdentifier is there. I really don't know where to go from here as I can't test the app.
Has anyone any ideas of what can be causing this issue and how to fix it?
Related
My flutter app runs well in Android(device and simulator both)
But in iOS there is an error.
The build and run both are succeded on simulator, but does not run on real device.
Unable to install "APP name"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
--
An unknown error has occurred.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620415
User Info: {
DVTRadarComponentKey = 280331;
MobileDeviceErrorCode = "(0xE8008001)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000011da4b3b8 DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x000000011da89ae1 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x0000000106b23b7c DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x000000011da89822 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x0000000115dc7999 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.294 + 3534
5 DVTFoundation 0x0000000106c56931 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x0000000106c5855b __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff204425dd _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff204437c7 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff204495fe _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff2044a0cb _dispatch_lane_invoke + 375
11 libdispatch.dylib 0x00007fff20453c5d _dispatch_workloop_worker_thread + 819
12 libsystem_pthread.dylib 0x00007fff205eb499 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff205ea467 start_wqthread + 15
);
}
--
System Information
macOS Version 11.2.3 (Build 20D91)
Xcode 12.5 (18205) (Build 12E262)
Timestamp: 2021-05-24T11:58:07+09:00
I searched on google, stack overflow, apple... and tried to figure it out. but I can't
What I tired is
pod install, reinstall
delet # in # platform :ios, '9.0'
update packages..
check singing&Capabilities
using another iPhone
using another usb cable
install lastest Xcode, flutter, dart
.... but still can't fix..
Please help!
setting the build configuration from debug to release and that installed the app again. Changed it back to debug and now it's running again as expected.
I was trying to run my application to my actual device. But I couldn't install it. I have no idea why. Could anyone give me a pointer on this issue? Thank you.
Unable to install "MyApp"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
--
Could not inspect the application package.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTRadarComponentKey = 282703;
MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000013029bc8f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x00000001302da241 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010f34264b DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x00000001302d9f82 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x000000013014aa10 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
5 DVTFoundation 0x000000010f47117e __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010f472da0 __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff202765dd _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff202777c7 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff2027d5fe _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff2027e0cb _dispatch_lane_invoke + 375
11 libdispatch.dylib 0x00007fff20287c5d _dispatch_workloop_worker_thread + 819
12 libsystem_pthread.dylib 0x00007fff2041f499 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff2041e467 start_wqthread + 15
);
}
--
System Information
macOS Version 11.2.3 (Build 20D91)
Xcode 12.4 (17801) (Build 12D4e)
Timestamp: 2021-05-13T15:49:43+09:00
I had the same problem and continue to have it still.
The device I was using to test applications is the initial iPhone X distribution.
I could install the application just fine on other devices.
"Could not inspect the application package" means you were probably stuck on the pkgConfig part of the install process, no doubt on your second run (it usually gets stuck before then on the first try).
"Clean Build Folder" is your first bet for what could fix the issue. It doesn't fully for me.
However I found a way to install applications on my phone, but it is very hacky.
The trick is to "Clean Build Folder", disconnect your device when it's in the build stage, and reconnect it before the build stage is over.
You will then have to re-install the application on the device after you get stuck the first time.
Do not uninstall the application on your device (not that you can even if you wanted, if it is the same issue as mine).
I will warn that Xcode tends to crash when you disconnect your device mid-install like so.
Best of luck to you, cause you're gonna need it.
if you have "Sign In with Your Apple ID" instead of "Apple Developer Program", you have only run one project on your real device. Also you have only one device register your membership during the free memberships.
compare memberships details
I solved this problem by changing the USB port where the cable is connected
When compiling and installing my app on a simulator/my device using the latest version of Google Ad Mobile SDK (7.68.0) I receive this error...
Domain: IXUserPresentableErrorDomain
Code: 1
Failure Reason: Please try again later.
Recovery Suggestion: Failed to load Info.plist from bundle at path /Users/name/Library/Developer/CoreSimulator/Devices/A9B9B907-B164-48B3-B71D-FEFF3A42B95C/data/Library/Caches/com.apple.mobile.installd.staging/temp.8US3se/extracted/AppName.app/Frameworks/GoogleMobileAds.framework; Extra info about Info.plist: Couldn't stat /Users/name/Library/Developer/CoreSimulator/Devices/A9B9B907-B164-48B3-B71D-FEFF3A42B95C/data/Library/Caches/com.apple.mobile.installd.staging/temp.8US3se/extracted/AppName.app/Frameworks/GoogleMobileAds.framework/Info.plist: No such file or directory
--
Failed to load Info.plist from bundle at path /Users/name/Library/Developer/CoreSimulator/Devices/A9B9B907-B164-48B3-B71D-FEFF3A42B95C/data/Library/Caches/com.apple.mobile.installd.staging/temp.8US3se/extracted/AppName.app/Frameworks/GoogleMobileAds.framework; Extra info about Info.plist: Couldn't stat /Users/name/Library/Developer/CoreSimulator/Devices/A9B9B907-B164-48B3-B71D-FEFF3A42B95C/data/Library/Caches/com.apple.mobile.installd.staging/temp.8US3se/extracted/AppName.app/Frameworks/GoogleMobileAds.framework/Info.plist: No such file or directory
Domain: MIInstallerErrorDomain
Code: 35
User Info: {
FunctionName = "-[MIBundle _validateWithError:]";
LegacyErrorString = PackageInspectionFailed;
SourceFileLine = 131;
}
--
System Information
macOS Version 11.0.1 (Build 20B29)
Xcode 12.2 (17535) (Build 12B45b)
Timestamp: 2020-11-26T18:13:21-05:00
When trying to install it using my device I get this error...
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
--
Could not inspect the application package.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402653103
User Info: {
DVTRadarComponentKey = 282703;
MobileDeviceErrorCode = "(0xE8000051)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000013037e99f DTDKCreateNSErrorFromAMDErrorCode + 220
1 DTDeviceKitBase 0x00000001303bd164 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010d34f993 DVTInvokeWithStrongOwnership + 71
3 DTDeviceKitBase 0x00000001303bcea5 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1440
4 IDEiOSSupportCore 0x000000013022d7bc __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.292 + 3513
5 DVTFoundation 0x000000010d47e2ae __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010d47fed0 __DVTDispatchAsync_block_invoke + 1191
7 libdispatch.dylib 0x00007fff201725dd _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff201737c7 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff201795fe _dispatch_lane_serial_drain + 606
10 libdispatch.dylib 0x00007fff2017a0cb _dispatch_lane_invoke + 375
11 libdispatch.dylib 0x00007fff20183c5d _dispatch_workloop_worker_thread + 819
12 libsystem_pthread.dylib 0x00007fff2031b499 _pthread_wqthread + 314
13 libsystem_pthread.dylib 0x00007fff2031a467 start_wqthread + 15
);
}
--
System Information
macOS Version 11.0.1 (Build 20B29)
Xcode 12.2 (17535) (Build 12B45b)
Timestamp: 2020-11-26T17:02:40-05:00
If anyone has any solutions I would be very grateful.
I had the same problem but it was related to my private pods.
How I solved this:
Delete the old app;
Close the XCode;
pod deintegrate;
pod install --clean-install;
Open XCode, clean and clean build folder;
Run the project.
I using XCode 12.2 with MacOS 10.15.6.
Before I open the question, i research all of similar questions and try that solution advices but i do not solve it.
My flutter app does work on iOS Simulator and Android Simulator but when i want to launch it on my physical device (iPhone X), i take error massage about maximum numbers of app for free profiles.
I clean all of apps, provisioning profiles but this is not solved.
Error message form Xcode:
Unable to install "Runner"
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620383
--
The maximum number of apps for free development profiles has been reached.
Domain: com.apple.dt.MobileDeviceErrorDomain
Code: -402620383
User Info: {
DVTRadarComponentKey = 487925;
MobileDeviceErrorCode = "(0xE8008021)";
"com.apple.dtdevicekit.stacktrace" = (
0 DTDeviceKitBase 0x000000012771381a DTDKCreateNSErrorFromAMDErrorCode + 233
1 DTDeviceKitBase 0x0000000127754f70 __90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke + 155
2 DVTFoundation 0x000000010e201155 DVTInvokeWithStrongOwnership + 73
3 DTDeviceKitBase 0x0000000127754ca8 -[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:] + 1654
4 IDEiOSSupportCore 0x00000001275cbe91 __118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352 + 4165
5 DVTFoundation 0x000000010e3347f4 __DVT_CALLING_CLIENT_BLOCK__ + 7
6 DVTFoundation 0x000000010e336436 __DVTDispatchAsync_block_invoke + 1194
7 libdispatch.dylib 0x00007fff69e426c4 _dispatch_call_block_and_release + 12
8 libdispatch.dylib 0x00007fff69e43658 _dispatch_client_callout + 8
9 libdispatch.dylib 0x00007fff69e48c44 _dispatch_lane_serial_drain + 597
10 libdispatch.dylib 0x00007fff69e495d6 _dispatch_lane_invoke + 363
11 libdispatch.dylib 0x00007fff69e52c09 _dispatch_workloop_worker_thread + 596
12 libsystem_pthread.dylib 0x00007fff6a09da3d _pthread_wqthread + 290
13 libsystem_pthread.dylib 0x00007fff6a09cb77 start_wqthread + 15
);
}
--
System Information
macOS Version 10.15.4 (Build 19E287)
Xcode 11.5 (16139)
and Flutter message:
2020-06-06 18:05:07.469 ios-deploy[10781:107643] [ !! ] Error 0xe8008021: The maximum number of apps for free development profiles has been reached. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)
Could not run build/ios/iphoneos/Runner.app on c2e128563bf0d17be5554ecaf3ed00de53b4b2ec.
Try launching Xcode and selecting "Product > Run" to fix the problem:
open ios/Runner.xcworkspace
Installing and launching... 16,3s
Error launching application on Ata Batuhan iPhone’u.
I am waiting for your advices. Thank you.
An app I was developing was running fine on my iPhone then after updating iOS, the app builds but does not install to the phone but works in the simulator. A message pops up saying unable to install "app name".
What I have tried
-Reinstalling Xcode
-Deleting and adding provisioning profiles
-restarting Mac and iPhone
-Create a new blank app
It still fails to install after all that I've done
Below is the details of why it fails:
Details
Unable to install "CharliNote" Domain:
com.apple.dt.MobileDeviceErrorDomain Code: -402653081
-- There was an internal API error. Domain: com.apple.dt.MobileDeviceErrorDomain Code: -402653081 User Info: {
DVTRadarComponentKey = 261622;
MobileDeviceErrorCode = "(0xE8000067)";
"com.apple.dtdevicekit.stacktrace" = ( 0 DTDeviceKitBase 0x000000012830881a DTDKCreateNSErrorFromAMDErrorCode + 233 1
DTDeviceKitBase 0x0000000128349f70
90-[DTDKMobileDeviceToken installApplicationBundleAtPath:withOptions:andError:withCallback:]_block_invoke
+ 155 2 DVTFoundation 0x000000010ef11155 DVTInvokeWithStrongOwnership + 73 3 DTDeviceKitBase
0x0000000128349ca8 -[DTDKMobileDeviceToken
installApplicationBundleAtPath:withOptions:andError:withCallback:] +
1654 4 IDEiOSSupportCore 0x00000001281c0e91
__118-[DVTiOSDevice(DVTiPhoneApplicationInstallation) processAppInstallSet:appUninstallSet:installOptions:completionBlock:]_block_invoke.352
+ 4165 5 DVTFoundation 0x000000010f0447f4 __DVT_CALLING_CLIENT_BLOCK + 7 6 DVTFoundation 0x000000010f046436 __DVTDispatchAsync_block_invoke + 1194 7
libdispatch.dylib 0x00007fff67c226c4
_dispatch_call_block_and_release + 12 8 libdispatch.dylib 0x00007fff67c23658 _dispatch_client_callout + 8 9 libdispatch.dylib
0x00007fff67c28c44 _dispatch_lane_serial_drain + 597 10
libdispatch.dylib 0x00007fff67c295d6
_dispatch_lane_invoke + 363 11 libdispatch.dylib 0x00007fff67c32c09 _dispatch_workloop_worker_thread + 596 12
libsystem_pthread.dylib 0x00007fff67e7da3d
_pthread_wqthread + 290 13 libsystem_pthread.dylib 0x00007fff67e7cb77 start_wqthread + 15 ); }
System Information
macOS Version 10.15.4 (Build 19E287) Xcode 11.5 (16139)
I had the same issue and I solved it. In my case, I wanted to re-use a NotificationContentExtension between various projects and went one step too far, removing basically every file from the extension. I fixed that by placing one file in the extension that simply inherited from the class that I wanted to reuse but had no further content.
The reason I could figure out that this was the problem was that I tried to install to the simulator instead of my device, and it clearly stated it could not find NotificationExtension. So definitely try to install it to the Simulator in this case, to see if it yields a more detailed error message.