I need to use the iOS Simulator for a iPad website I'm working on.
I have downloaded Xcode4(http://developer.apple.com/devcenter/ios/index.action)
I'm now looking for the iOS Simulator and can't find it anywhere. Do I have to launch it via Xcode if so how?
EDIT:
I'm not seeing any Developer Folder. Someone on the App store said this on a rating of Xcode...
"Is the Developer folder put somewhere other than the top level of the hard drive?"
The easiest way to launch it is via Xcode, running an application you’ve just built. If you want to open it manually, though—for testing a website or whatever—it’s in /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/.
In the spotlight search for "iOS Simulator" - once it is found, launch it.
It'll probably open as an iPhone simulator so select from simulators' menu "Hardware -> Device -> iPad"
I found mine here:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
Could be they moved it in the latest version of Xcode - I'm running 4.5.2.
You can download the XCode4 package from App Store application in your Mac. it must have the Simulator application and you can find it in > /Developer/Platforms/iPhoneSimulator.platform/Developer/Applications/.
Related
I am using Xcode 4.5. When I plug my device in, it is not showing up on run button, and I have a message that it can't run using the selected device.. The Problem is this two days to go its working very well and i am installed many application before with this xcode 4.5 and iphone 5 (6.1.3) Dont know whats going on today Any idea Thanks in Advance
Open your Xcode organizer (Shift+Cmd+2), go to Devices tab, select your device in the list and press "Use for development" button
Check that your deployment target is set low enough for your device OS.
Xcode 4.5 supports till iOS 6.0 for iOS 6.1.3 you need to upgrade your Xcode to 4.6.0 version.
I would venture that your device isn't included in the provisioning profile you're trying to compile the code with. Check organizer and see if your device has your target provisioning profile listed. If it does, unplug the iPhone, restart XCode and the phone and try again.
EDIT
#Armaan Stranger also brings up a good point about XCode 4.5 and iOS 6.1.3 however I'm a bit confused as to how you had it working previously.
As I heard, that using the iPhone Simulator in Flash CS 6 is now possible, I was really wondering to test my apps for the iPhone 5.
But honestly said, I haven't figured out, how this should work. So my question is: How to use the iPhone Simulator with Flash CS6?
I googled a lot and found only news, that it is possible now. But no tutorial or similar.
Thanks for your help.
You have to update your Flash Professional CS6 to version 12.0.2.
After updated, go to your target setting. You will found iOS Simulator SDK is available to be configured.
have you tried creating an AIR project for IOS? when you create an AIR for IOS it will automatically launch the simulator when you debug you movie. hope that helps! :)
Make sure you have XCode installed and an updated version of AIR SDK
You need to set the SDK location for the iPhone Simulator:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.0.sdk
You do this on the General Tab of AIR for iOS Settings.
Now in order to target the iPhone Simulator you need to set the following:
Control > Test Movie > on iOS Simulator
Then you will be able to do "CMD+Return" and it will publish to the simulator.
The app will show up on the second screen just like a device would.
More info here: http://forums.adobe.com/message/4923535
i don't have a jailbraked iPhone and i don't want to jailbrake it for now. I convert my myAppName.app application to myAppName.ipa. I load my app on iTunes but when i sync, the app is not installed on my iPhone. My iPhone iOS is iOS 6, i make apps on Xcode 4.4.1 so on iOS 5.1, so i can't run my app on my iPhone from Xcode.
Can someone tell me how can i solve this problem?
(Sorry for my English)
If I understand you correctly, you are trying to run your app on iPhone. Correct? If that's the case, you will have to purchase a membership on develop.apple.com. Once you have done that follow the steps on: http://www.youtube.com/watch?v=dUdHifLTyrE&feature=BFa&list=PLdtvnlkHu09KgpdUgjkUnoTWqwTcqKGGH . I recommend following this video because the steps have been explained very clearly and if you follow it carefully, chances are you will be able to run your app in the first shot.
Also, if you using Xcode 4.5 to develop apps and running them on 3.5" screen, please uncheck "Use Autolayout" under File Inspector. For more info, please check: presentViewController: crash on iOS <6 (AutoLayout)
Hope this answers your question! All the best!
Is is possible to submit the app with base SDK iOS5.1 and with Default-568h#2x.png, so that application will not leave an extra black space?
Our normal application is working fine on iPhone5 leaving a black space from top and bottom, but if we just include "Default-568h#2x.png", will it work fine (the view displayed in complete area of iPhone5)?
There are lots of dependencies to support iOS6, so is it possible to submit the app with "Default-568h#2x.png" and base SDK iOS5.1?
It is impossible to submit the iPhone 5 full screen app which is built with Xcode 4.4.1 and iOS 5.1 SDK. I did the same thing to support both old devices of armv6/iOS 3.x and iPhone 5. But I got this reject message from itunesconnect. I think it is the new policy of App Store.
"Invalid Launch Image - You app contains a launch image with a size modifier that is only supported for apps built with the iOS 6.0 SDK or later."
just edit the size of Default-568h#2x.png with the same one of Default#x2.png splash screens, don't rename it, adjust only it size, it's how it worked for me, seems the binary does gets faked, my app it's waiting for the review don't know yet if will be approved.
I do not see any policy from Apple to forbid developers to submit apps based on SDK 5.1. My understanding is that if you develop on SDK 5.1 you should also test your app on iOS 6.
Having said that, iOS 6 SDK provides good features to help developers manage the layout, and Apple surely wants the developers to use the latest.
To avoid "Invalid Launch Image" problem on submitting app with iPhone 5 launch image using XCode 4.4.1, please following these steps:
Archive your App under XCode 4.5
Open Organizer, show your App folder in Finder, enter your App’s Products/Applications folder, copy Info.plist and archived-expanded-entitlements.xcent to your home folder.
Open your Info.plist (~/Info.plist) using XCode, and modify MinimumOSVersion from 4.3 to 4.0
Close XCode 4.5 and open XCode 4.4.1, open your App project and open your Target’s “Build Phrases” tab, add a Run Script, with shell “/bin/sh” and “cp -f ~/Info.plist ~/archived-expanded-entitlements.xcent “${TARGET_BUILD_DIR}/${EXECUTABLE_NAME}.app”
Re-archive your App, and it should pass App Store’s rule checker and in “Waiting for review” soon.
The app I submitted late October got online in early November. Someone said he used XCode 4.3.2 to submit app in the same way. It should be working for XCode 4.*
For more information, please also read this blog article.
I submitted by mid-feb my binary compiled on Xcode3.2.6 and only had the Default.png, my App got rejected due to a bug related to the 4" screens, some stupid sizing junk, fixed it and tested on Xcode4.6/SDK6.1 which requires that 568h#2x.png file, I added that image to my set , still compiled it on 3.2.6 and submitted my fix and it got automatically rejected with the same msg as here.
Then I just pulled that 568 file out and resubmitted hoping that since it went thru about 2 weeks ago it'd get past again, I triple checked my code on sdk6.1, recompiled/ressubmitted and got the same rejection so it seems like they are enforcing that min Xcode version NOW.
BUT .... guess what? I cleaned everything and twice and rebuilt & decided to give it a last shot, resubmitted and it passed!!! I'm on waiting 4 review now.
I've solved that issue the following way: I'm using iOS SDK 5.1 and Xcode 4.4.1.
Now I've added simply the Default-568h#2x.png to the upper folder of my App in Xcode but not with Xcode 4.5.1.
Then I've built the App through iPhone 5.1 Simulator and finally I've quit the Simulator.
Then go to ../users/myNameUser/Library/Application Support/iPhone Simulator/5.1/Applications/... search for your App and Copy the complete folder (e.g. F83221EA-1HB4-4947-9DH4-43D8QZ3FFEA3).
Then go to ../users/myNameUser/Library/Application Support/iPhone Simulator/6.0/Applications/ and paste in the copied folder from the 5.1 Simulator.
Finally open your Applications folder go to your Xcode App (4.5.1) then right click and show package content: Go to ../contents/applications/ and double click "iPhone Simulator.app".
Now you are running the new iPhone Simulator with your iOS SDK 5.1 App. Great job? Now you can change the hardware of the simulator to the new iPhone Retina-4-inch.
And you can see how your App will look like on the new iPhone 5.
I've sent my new App version by that way for review - well see if it'll get through.
(Sent with: Xcode 4.4.1 and iPhone 5 support like described on top)
By the way it could be interesting to run Apps from Xcode 4.4 on real iOS 6 Device?
How to do that: Use iOS 6 device for testing with Xcode 4.4 and iOS 5 SDK
I am not able to see Simulator option in my XCODE for one of my project (Only device is there) but it is coming for other one. What setting I need to do?
This was because I was trying to build the app on IOS 4.0 which was missing in my XCODE.