ios - the - xamarin this app could not be installed at this time
Xcode: “This app could not be installed at this time.” (18)
Working with my first application for learning purposes. It goes well but has met into a problem with Xcode. When I try to run the application on the iPhone simulator this message always pops up "This app could not be installed at this time."
What is wrong? There are no errors when trying to build the app. Has tried to clean the build. Reinstall pods. Restarted Xcode. Erased all settings on the simulator device, however, the problems still exist.
The error message does not give me any information. Is there another logfile I could look into or something?
Changing the CFBundleShortVersionString in InfoPlist.strings to match the one in info.plist fixed this for me. I had to use the simulator's "Erase All Content and Settings" after making this change.
Trying to launch on a simulator with iOS 9.0 (instead of 11.2) gave this error instead, which helped me to find more answers on what's apparently the same issue:
The operation couldn’t be completed. (LaunchServicesError error 0.)
For anybody wasting time on this obscure error. If you don't have any relevant logs and all the other answers fail, you might check if you recently added a framework that for some reason (didn't investigated why) can't be embedded, only linked. Happened to me with GoogleMaps for iOS.
Hi Guys just want to let you know that none of the above worked for me.
I was busy working, integrating a dynamic library into my project. I know that the library worked, so I didn't give it a second thought.W hat I did was just to delete the reference to MyLibrary1, recompiled MyLibrary1 and embedded again for a successful build. Hope this helps someone.
I delete the files in ~/Library/Logs/CoreSimulator/ but problem still exist. Then I erase all contents and settings and it's ok!
I encountered this error, but it had nothing to do with my
or Cocoapods. I had mistakenly deleted a duplicate
group in my Xcode project, which caused me to end up with a
target that had no source files (I only need one source file to integrate/piggy-back off of the Urban Airship SDK's rich notifications).
After reverting the commit where I deleted the duplicate group and then deleting the correct duplicate group (the one that didn't list the source file as being part of the target), I was able to build and run just fine.
I got this error too. It all started a short time after I let Xcode update my project settings. Specifically on my CocoaPod sub-project. I removed the pods and reinstalled them and that solved my issue. Hope this works for you or others who find this question as well.
I have faced the same problem like this. but nothing worked for me. Then i noticed one problem in my info.Plist file. The Executable file name was different compare to Schema name in Edit Schema. So make sure This both is same, then try to run your project. It should work.
I know the question has been answered but for others encountering the same issue I suggest following:
Check simulator logs, if its printing something useful. First, selecte simulator then from menu option open Debug -> Open System Logs .
Make sure only 1 simulator is running.
Delete the older version of app from the simulator.
If you importing a custom framework, make sure custom framework->bundle-id is not same as currentAppProject->bundle-id. If you are not sure then simply change the bundle-id of current project.
Also some of the simulators can be buggy -> Simply change the simulator, it may resolve the issue, for me changing the simulator worked.
I resolved this issue to remove DerivedData from Xcode Preferences. and also Restart the simulator from Hardware.
I was seeing this on all simulators and all devices. Uninstalling the app would work once, but it continued to fail on me.
The fix was to wipe out all my project's pods:
And then re-install again:
This was with XCode 9.3 and iOS 11.2/11.3.
In my case i was trying to run a widget. Scheme settings for widget should be: Run -> Info -> Executable: "Ask on launch"
In my case, the message appeared when I was migrating from Cocoapods to Carthage and having the Firebase iOS SDK among my dependencies.
The issue was resolved when I realized that Firebase does NOT need to be among the frameworks that are copied in the
For more on Firebase and Carthage, see the official documentation .
Just quite the simulator and start again works for me. In my case the error always occur if I change the bundle identifier and run afterwards the iPhone X simulator.
Just restart simulator to fix it in my case.
Reset the simulator:
Erase All content and settings...
Clean your project:
This should fix your issue
This happened when I had an empty build number set for the target in Xcode 10.0.
rm -rf ~/Library/Developer/Xcode/DerivedData/