After migrating from XCode 5.0 to XCode 6.0 the project fails to run with the following error.
An error was encountered while running (Domain = FBSOpenApplicationErrorDomain,
Code = 4)
Any suggestions?
Open Xcode and click Menu > Xcode > Preferences > Select Components, and then choose the simulator version you want to download.
Just like an APK (Android Application Package) file can be installed on Android devices, an IPA file can be used for testing iOS applications. You can even push it to the app stores to publish your app. You can think of an IPA file like a simple ZIP file.
Start your app by using expo start command. Type i and a or click on Run on iOS simulator and Run on Android device/emulator buttons to launch your app on devices.
Click the Run button to build and run the app on the selected simulated or real device. View the status of the build in the activity area of the toolbar. If the build is successful, Xcode runs the app and opens a debugging session in the debug area.
Unable to boot the Simulator XCode 8. 1 Click the menu. 2 Select Restart... 3 Hold down command-R to boot into the Recovery System. 4 Click the Utilities menu and select Terminal. 5 Type csrutil disable and press return. 6 Close the Terminal app. 7 Click the menu and select Restart....
For macOS apps, you need to code sign the app if you enable certain capabilities. If you belong to the Apple Developer Program, you need to register the device before you can run the app. You can also run iOS and tvOS apps on a wireless device if you pair the device with Xcode.
You can also run iOS and tvOS apps on a wireless device if you pair the device with Xcode. For example, you can pair an Apple TV that’s already on your network with Xcode so it appears as a run destination in the toolbar. For watch-only apps, you can run the watchOS app over the paired iOS device.
iOS Simulator -> Reset Contents and Settings
Worked for me!
iOS Simulator -> Reset Contents and Settings... -> Reset
referenced from: http://qiita.com/tajihiro/items/f6f50b56162c93d25c90
I had this error too. My solution was product->clean
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With