I am using Xcode Version 6.1 (6A1052d)
I am trying to launch an app on the simulator.
The first time it always works fine. If I want to launch a second time,
I believe the issue is exacerbated if you change your app's Info.plist from one build to the next (such as revving CFBundleVersion or similar). If you do that, you should delete the app from the simulator between each launch (either via SpringBoard or using simctl) or just erase the sim device.
This issue should be addressed in recent iOS Simulator 8.2 betas that are in Xcode 6.2 betas. I think it was addressed in either beta2 or beta3, but I can't recall for certain.
Option-1: 1.Goto "General Setting" by clicking on the project name on left side bar. 2.Change the Bundle Identifier name to "com.release.ABC" (ABC may be any other name. It's better to replace ABC with your APP Name) 3. Now run it and Enjoy.
Option-2: 1.Open Simulator. 2.Remove all apps installed by user. 3.Run your App and Enjoy. N.B: It has a demerit that every time you clean the simulator and then after, you will able to load your app.
Select Project from Navigation window -> TARGET -> General -> Build or Version
Make sure both the field filled with some value.
This is indeed triggered by the order of certain keys in your app's Info.plist file and what seems to be a bug in the iOS simulator's installd
process. installd
sometimes seems to be unable to read the CFBundleShortVersionString
and CFBundleVersion
values. I've found that if RoboVM makes sure to always move those values first in the Info.plist
it writes out we prevent the bug in installd
from being triggered. We have now implemented this workaround in RoboVM (see issue #771) and it will be in the next nightly build (the 20150222 build) and in the next release.
Nightly builds of RoboVM can be downloaded from http://download.robovm.org. To install a nightly build of the Eclipse plugin you should use the update site
http://download.robovm.org/nightlies/eclipse/site.xml
Nightly SNAPSHOT builds of the RoboVM Maven and Gradle plugins are pushed to Maven Central.
I encountered the same error using Xcode 8.2.1. Changing the order of items in the Info.plist did not help in my case. But it did lead me towards the solution. I had changed both CFBundleShortVersionString and CFBundleVersion from 3.0.0 to 3.0.1, BUT I HAD FORGOTTEN to also change to 3.0.1 in the localized and base InfoPlist.strings files. Doing that, fixed the problem.