Unable to run the Simulator The operation couldn’t be completed. (LaunchServicesError error 0.)
From the screenshot, it's clear that your Info.plist is missing a CFBundleVersion ("Bundle Version") key. If that key is missing, it can cause this problem.
Cant run app on simulator The operation couldn’t be completed. (LaunchServicesError error 0.)
I ran into this today. I had just changed the bundle identifier on my app, which invalidated the app id and the provisioning profiles. As a result, the app couldn't installed (with that alert). Once I made new app id's and profiles, things worked fine.
Xcode 7.3 The operation couldn't be completed (LaunchServicesError error 0)
May be it's because CFBundleVersion
key/value pair in app's Info.plist
.
If your app's Info.plist does not contain a valid CFBundleVersion key/value pair.
doing a "Reset Contents & Settings" will work, would be better to set an appropriate CFBundleVersion
in the Info.plist
.
you can check more error info in ~/Library/Logs/CoreSimulator/CoreSimulator.log
for error details also, more information about the problem in the simulated device's system log ~/Library/Logs/CoreSimulator/[Device UDID]/system.log
.
For more detail check here: https://stackoverflow.com/a/26129829/5575752
Error: The operation couldn’t be completed. (LaunchServicesError error 0.)
I think the error is telling you the truth. You don't have a CFBundleExecutable key in your plist. When you're not showing raw keys, it appears as "Executable file".
Try adding it with the value $(EXECUTABLE_NAME)
.
Cant run app on simulator The operation couldn’t be completed. (LaunchServicesError error 0.)
I ran into this today. I had just changed the bundle identifier on my app, which invalidated the app id and the provisioning profiles. As a result, the app couldn't installed (with that alert). Once I made new app id's and profiles, things worked fine.
Xcode 7.3.1 pop up a weird bug is LaunchServiceError error 0
iOS Simulator > Reset Contents and Settings...
Related Topics
iOS 8 Swift Audio Playback Execute Method on Completion
Error While Using Property 'Cgrectgetwidth', It Says It Was Replaced with 'Cgrect.Width'
My Button Is Centered for iPhone 6 and 6 Plus, But Not for iPhone 5
Accessing and Manipulating Array Item in an Environmentobject
Prepare for Segue with Array - Xcode 8.0 Swift 3.0
Toggle Selectedrange Attributes in Uitextview
Resizing Large Resolution Images Producing 1000X1000 Pixels Size When Size Is Set to 500X500 Pixels
How to Compare Two Strings to Check If They Have Same Characters Swift 4
How to Call Swiftui Navigationlink Conditionally
How to Make Exponents in the Swiftui
Why Does Classa Adopting Protocolb Not Satisfy the Protocolb Requirement
How Is a Global Variable Set to Private Understood in Swift
How to Sort an Array of Posts by Their Elements