Hopefully, the image explains the problem. Why are there 2 entries each for 6 and 6 Plus? And better yet, how can I clean this up?
Follow below steps to clean it :
1. Tap on Xcode - Open Developer Tool - iOS Simulator
2. On iOS Simulator, tap on Hardware - Device - Manage Device
Here you will found list of all devices with multiple entries. Select any device, on right click you will found option to delete it. You can also add new device from here.
Related
I recently got the M1 MacBook and it automatically updates you to Xcode 12 and I can't use any simulators below iOS 14.Is there a way around this?
Note: Yes I have downloaded the older simulators
I was able to solve the different iOS version problems on the M1. For iOS 14 and up, go to Excluded Architectures in Build Settings and add arm64. For lower iOS versions just clean and build and it should work. Only problem I still run into is my Quick/Nimble framework crashing through the lower iOS versions.
Try clicking on your simulator icon to the right of Run button. At the bottom of popped up list you'll find Download Simulators. Go there and pick the one you want.
Accidentally I allowed Xcode to add the iPhone 5 launch image for a massive app project where I don't want to adapt to iPhone 5 just yet.
I deleted the launch image but the simulator keeps launching it in enlarged iPhone 5 mode. I couldn't find a key in infoplist either. How can I completely remove iPhone 5 support?
The following worked for me.
Remove the file from Xcode.
Delete the file from your Finder folder.
Empty the trash.
Clean your Xcode project.
Delete App from device and simulator.
I think if you delete Default-568h#2x.png from your project then it will remove the iPhone 5 full screen features.
Remove armv7s in Build Setting Architecture and remove the Retina 4Inch Image in Summary of your Target Clean Build. Then Your Application will start support for 3.5 Inch screen only
I recently started using Xcode 4.2 and the iOS 5 simulator. When I update an older version of my app pre-installed in the simulator, it updates the app just fine but the app icon is not updated. Even with cleaning and building the app ahead of time (sometimes a couple of times) this seems to be the case. Is this a bug or am I doing something wrong?
EDIT: Still the same problem, but when I quit the simulator and start it again (NOT deleting the app), the icon is updated. That's a little encouraging at least. Has anyone else experienced this?
I've had this problem for a while and cleaning the project didn't work either. I finally found a trick to do this. It works at least in iOS 6, I'm not sure in previous versions. The trick is to simply move the app to a folder. The moment you move it there it should display the new icon, and then you can move it out again.
Despite others' answers, it would appear that your problem is a bug.
It would probably be wise to report this. Otherwise, try making a new project and trying again.
Hope all goes as planned.
Theres a new category in the plist file called Icons Files (iOS 5.0). Try adding those file names to your target info like so:
In this tab:
The names and size much also be exact. See this Apple Technical Q&A #1686:
57x57 - Icon.png
114x114 - Icon#2x.png
72x72 - Icon-72.png
50x50 - Icon-Small-50.png
29x29 - Icon-Small.png
58x58 - Icon-Small#2x.png
I ran into a similar problem after renaming the app and adding the Icon files category as described in one of the other answers. No icon would show up in either simulator or device. Tried a clean build as well as restarting simulator and Xcode, no success
The solution for me was to drag the icons from my Resources to the two empty wells under App Icons located under Targets -> Summary. After that my icons showed up in both simulator and device. I´m running Xcode 4.3.1
this works for me.
In iOS Simulator :
iOS Simulator -> Reset Content and Settings
Be aware that it removes all things from the simulator to the trash... but it does work.
Make sure of icons sizes are right at the Image Asset folder
Can I somehow force a specific hardware device when running my universal app? Whenever I rebuild and test, iPhone 3 fires up and I have to switch over to iPad and rotate the device.
Annoying.
Project > Edit Project Settings > Targeted Device Family > iPad
I finally solved this problem myself.
First, install new version of xCode, which is xCode 4.
Then set project scheme to iphone simulator and run app in xCode several times.
And re-install xCode 3 and the problem will be gone away!
I installed Xcode 3.2 beta 5 and I could not find iPad Simulator. Where do I find it?
You are looking for the program iPhone Simulator.
If not, you can test your website in Safari on iPad using the iPhone Simulator (Hardware -> Device -> iPad).
Above is from Technical Note TN2262
If you can't find it via searchlight, than try looking in /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/iPhone\ Simulator
After you install the SDK successfully, Run Xcode and create a new project. Select iPad for product.
When you create an iPhone project for iPhone OS 3.2, you will see that every time you Build and Run it, it appears in the iPad simulator instead of the iPhone simulato
There is not much too see when you run the simulator without a project
Go to spotlight and search iOS Simulator. You run that and up pops an iPhone simulator, go to Hardware > Device and change it to an iPad
The iOS Simulator is in Mac HD > Developer > Platforms > iPhoneSimulator.platform > Developer > Applications > (here)
Nicely squirrelled away
Try creating an iPad project and ask to launch it in the simulator.
When running, go to the dock, right click on the icon and select "options".
In the "Options" menu is "Reveal in Finder", which will show you where the simulator currently lives.
Also be aware that the iPhone and iPad simulator are the same application, in the menu for the iPhone Simulator (the actual name of the app) you can select which device you want to simulate (though XCode will automatically switch this for you when you run in debug).
Perhaps this pertains,
From Xcode release notes found under the download selection:
Known Issues in Xcode 5 developer preview
Simulator
There is no iPad simulator support in this seed.