I have recently installed Xcode 6 beta in OS X Mavericks, with which comes the iOS simulator for iOS 8.
using this new Xcode I have create one new project and run it on simulator with iOS 8, but when opening the simulator, it always get the error
Unable to boot the iOS Simulator
So, pls tell me how to solve this error?
Quit both the simulator and Xcode. If that doesn't fix it, reboot your Mac.
Welcome to the world of beta builds!
Be sure you "select" your new Xcode version before launching / downloading updates.
sudo xcode-select -switch /Applications/Xcode6-Beta6.app/Contents/Developer/
If you're already seeing Simulator troubles, try rebooting too.
Make sure that you load X-Code 6 and not 5.
Run your project.
If fails to load, try clicking on the menu at the top on the iOS Simulator button and reset the device. Resetting the device seems to do the trick for me.
Also, make sure you are on the laatst x-code version
Related
The OS version of my phone is 7.0.2 (11A501). I am using XCode 4.6.3. The IDE Xcode is not detecting my iPhone. When i go to organizer it tells me the following
The version of iOS on “Joe iPhone” is not supported by this
installation of the iOS SDK. Please restore the device to a version of
the OS listed below, or update to the latest version of the iOS SDK;
which is available here.
However, i have read in various forums that if i download xCode 5 i will not be able to build for ios 5 or 6 applications. What should i do ? Help/
It sometimes suffices to copy the device support files from a newer Xcode version to an older one. Try copying
Xcode5.app/Contents/Developer/Platforms/iPhoneOS.platform/DeviceSupport/7.0 (11A465)
to your Xcode 4 installation, but name it "7.0.2 (11A501)"
There is a neat trick to install the app on and iOS 7 device with Xcode 4.6
First download from the developer center Xcode 5 and install it manually in a separate folder in your Applications folder (I did add it in an Xcode foler, inside Applications).
So now you have both Xcode 4.6 and Xcode 5 on your Mac.
Now, run your code on Xcode 5 and install it on your phone (press the debug button on your iOS device). Once this is done, you can quit Xcode 5, open Xcode 4.6 and it will be able to debug the app on your iOS7 device just fine!
You will be able to run iOS 6 apps easily from xCode 5 - no problem.
Updating xCode is only way to work with iOS 7 devices - you have no choice.
Yes, you have to update your xcode, or create an IPA and install it on your device with iOS 7.0.2 by iTunes.
First of all, definitely you have to install XCode5.
Initially you can build application only against IOS7, but you can manually add IOS6 SDK.
XCode SDK's are placed on this location:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/
You can copy IOS6 SDK from this location of XCode4.6 and paste it into same location in XCode5.
This way you can choose will you build your application against IOS6 or IOS7.
Run your code in Xcode5 the again run in Xcode4.6 will solve problem.
if you want to debug your Apps in xcode with ios 7 then, Updating xCode to version xcode 5 is only way to work with new ios (ios 7.0.2) and xcode 5 requirement is MAC os 10.8.4 , you have to update your OS ,if you right now using older version of operating system
Thanks
Currently it shows only black screen. So i'm unable to Reset simulator.
But in iOS 6.1 app is working good.
I got this problem before 15 days.
you first delete all XCode related file which is being installed. and reinstall your XCODE 5.
you can refer following link for uninstalling XCODE
https://discussions.apple.com/thread/4772117?start=0&tstart=0
You can refer this similar question
Xcode5 Facing strange issue with testing app iOS Simulator failed to install the application
currently it shows only black screen.SO i'm unable to Reset simulator
By writing this you mean you can not access even iOS simulator > Reset Content and Settings ???????? If you can then try it.
I had tried these, and still had the problem, even after reinstalling Xcode 5. So I ran from Xcode again. Same thing, error -3. I stopped the app from Xcode, but I decided not to reset. Instead I decided to manually start the app in the sim. It took a few seconds, but it ran. Pressed stop. Reran the build from Xcode, and it worked.
I have an application which is totally developed in xcode 4.6 ad now it is in app store also. Now i'm going to update the app in iOS7 also for that i upgraded my mac OS and xcode. my mac OS version is 10.8.5 and i installed xcode 5 also. Now my problem is xcode getting crash immediately when i edit and save the xib.
I tried all these ways.
1. Xcode 5 crashes -- Xcode quit unexpectedly
2. uninstall my xcode completely using this sudo /Developer/Library/uninstall-devtools --mode=all and install again
You can try this :
When you open a xib file that was created in Xcode 4 in Xcode 5 you are prompted to upgrade the file to the new format. You want to only do it if all the people working on the project use Xcode 5 because the new files can’t be opened by older versions of Xcode.
Refer this links :
How to disable Xcode 5 automatically upgrade xibs to iOS7 appearance
http://nilsou.com/blog/2013/08/07/xcode-5-finally-makes-interface-builder-a-viable-option-for-teams/
I hope it will be helpful.
Yes this was the problem with Xcode version DP4 and DP5. IF you are using these version then your Xcode5 will get crashed while adding/Editing XIB"S. I guess you should use Full version XCODE5 . This problem will be resolved.
Reset your simulator. And delete old app in simulator. I think this may work.
When ever I run my app in Xcode 4.4 the simulator fails to open, "iOS Simulator quit unexpectedly." It runs on perfectly on the device though.
I solved by installing xcode 4.5 and ios sdk 6. Now all work fine.
You may have had a bad build on the Simulator, which is now messing things up.
Clean your code (Product > Clean in XCode)
Reset your simulator settings (iOS Simulator menu > Reset Content and Settings)
That should do it.
I Had the same problem i just did following steps and it works fine
1) Reset your iPhone simulator
2) Clean Build your code
3) Restart your computer
Its works for me.
Reboot the simulator ..... sometimes some apps remain in the memory.... Otherwise reinstall it ... some data could be corrupt... :)
I had the same issue on Lion.
After upgrade to Mountain Lion I haven't such issue.
I am having some problem in installing my app on the iphone as I am constantly getting the following error message
The service is invalid
Please check your setup and try again
(0XE8000022)
It was running perfectly well till yesterday but since yesterday I am having this problem.
Xcode and the GDB connection is quite temperamental. The device and your Mac can become unsynchronised with each other. My checklist for this sort of thing:
Restart Xcode.
Delete the .app from your iOS device, do a Clean then Rebuild.
Disconnect, reconnect device.
Restart iOS device (90% of the time it fixes things)
If all else fails, restart your Mac (unlikely but it did fix an issue once for me).
I have solved the problem... Only needed to restart the iphone...
Restarting the Xcode wont work in this case. So just restart your iPhone and everything will be fine.
EDIT:
If you have an iPhone 5 running iOS 6.0 and have installed the "iOS Updater" app, you will also have this message.
Finishing the update process to iOS 6.0.1 will resolve the problem.
If you have an iPhone 5 running iOS 6.0 and have installed the "iOS Updater" app, you will also have this message.
Finishing the update process to iOS 6.0.1 will resolve the problem.
This error also happens if the iPhone provisioning profile has expired.
It can be a couple of things, the first and inmediate thing I'd check is to see if your IPhone is currently Downloading or "Preparing Update..." whilst this is running you generally get the "Device is invalid (0xe8000084)" / Error MT1006.
This i found to be the most common thing. so try this first.
And if that fails: Restart your IPhone, and then if that fails restart your Mac/Xcode
and do a clean then Rebuild and deploy..
Hope this helps
This error happens when you try to debug an application in your IPod/IPhone and the device is code-locked or executing another application.
Make sure you can see the menu with all the app icons on the device and try to run again.
Regards
If nothing works then check if your device os is compatible with your Xcode version.
I confirm that restarting your device solves the issue.
But if your device is jailbroken with a Semi-tethered jailbreak you will loose it after a reboot.
To prevent this, do a ldrestart(soft reboot).
In order to perform it, download a terminal application from Cydia, then type:
su
Input your password when asked, the default password is "alpine".
Then type
ldrestart
Unplugged the device and connected again with Mac solved my issue. Did not need to clean, build or restart XCode. XCode 10.2.1, iOS 12.3.1 version.
First remove the app from iPhone before building the app from xcode.
Then Clean All Targets from xcode and then try to build your app again.
SnowLeopard w/ XCode 4.2's Instruments will give this message on newer iOSes.
I had luck by disconnecting my iPhone from my mac, and then Analyzing (Shift + Command + B or Product -> Analyze).
After that I plugged my iPhone back in and did a clean (Command + k) and then run. Worked!
Simply restarting the device (as the alert suggests) fixed the problem, at least on iOS 12.