Why does Xcode, after updating to SDK 4.2, always run my application in iPad Simulator instead of iPhone??? If I select iPhone Simulator as active executable it doesn't store my preference and runs the iPad simulator after any new Build & Run.
I had the same Problem. But suddenly after an Update it disappeared. Do you have the newest Version of all Software( or tried turning it off and on again)?
If that doesn't works, I would suggest a reinstall. Solved many of my Problems...
On XCode 3.2.6, you can go to "Project" menu -> "Set Active Executable" and select iPhone Simulator.
Try to Build -> 'Clean All Targets'. Go into Release configuration, compile and then back to Debug. Now you can choose Iphone Simulator. For me it works.
Hope this help.
Check the Active Executable setting, as well as the Simulator's setting for "Device."
Check your .xcodeproj info. Navigate yourself in there and locate Simulator's Settings and choose 'iPhone' or 'iPad'
Hope this helps
Removing all iPad devices from the device list in the organizer (Window Menu > Organizer) fixed it for me. But i know that's not a perfect solution. I hope Apple will fix this soon.
do yo have two xcode (or iphone sdk) installation on your machine? if yes then completely uninstall the xcode using this command -
sudo /Developer/Library/uninstall-devtools –mode=all
from all the locations (replace Developer with installed directory name)
and install the xcode 3.2.6 in developer directory
You can go to Product -> Destination -> iPhone 6.1 Simulator
.
It took me a while to figure out the reason, because even though you select the Device iPhone
in Targets
, it still opens the iPad emulator if you don't change the destination of your product.
© 2022 - 2024 — McMap. All rights reserved.