Unable to run app in Simulator: An error was encountered while running (Domain = LaunchServicesError, Code = 0)

Miki :

After successfully compiling the project in Xcode 6, I am unable to run it in the simulator with the above mentioned message. I did all the possible research, tried everything and still no advances.

I am not working with swift, neither I use widgets or extensions, so please do not suggest solutions caused by these as can be seen in similar questions.

If someone found a possible cause (or solution!!) other than these, please help. Thanks

Miki :

This has now been resolved. The problem was caused by ShareKit library added by CocoaPods for compatibility reasons. After removing the library and all related code, the app successfully launched in simulator. I recommend checking the system log for more details on the issue as to me it pointed me in the right direction (stating the name of conflicting library).

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related

Unable to run app in Simulator : An error was encountered while running (Domain = LaunchServicesError, Code = 0)

Unable to run the Simulator The operation couldn’t be completed. (LaunchServicesError error 0.)

Unable to run app in simulator

Configuring App Transport Security for WatchKit (LaunchServicesError error 0.)

Encountered Bus Error while trying to run code in CUDA

Encountered internal error running command: Error: Error occured while starting App

unable to run app error while installing app to device Xcode 11.6

Unable to run new Titanium app on iPhone simulator

Unable to run ReactNative app on IOS simulator

Unable to run app in Simulator XCode 6.0

errors encountered while discovering extensions: Error Domain=PlugInKit Code=13 "query cancelled"

Encountered an error while running StatsExample in Netlogo 6

Thread 5 : SIGABRT error while running the app in my device (Works fine in simulator)

Error running Expo app on iOS Simulator

while running the docker-compose up it exited error code 0

Appium- Getting app configuration error while running the code

Error "Command failed with exit code 66" running ios simulator on meteor app

Xcode - Can run app on simulator but not on device - error: Failed with exit code 1

While running on ios simulator, App crashes when source of imagePicker is Camera?

Error while running Django app

Adapter error while running code

Error in terminal while running a code

NULLPOINTEREXCEPTION error while running the code

"Unable to run app in Simulator" from TeamCity build agent

Unable to run app in Simulator: Xcode beta 6 iOS 8

Run on simulator while having SDK that don't show classes on simulator ( prevent me from running)

Error while Running iOS simulator from Xcode on Mac

In App purchase failed with error Error Domain=SKErrorDomain Code=0 "Cannot connect to iTunes Store"

Error in UIPath while running a browser automation : System.ArgumentException: No compiled code to run error CS0234: