Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to use iPhone simulator

 
amita Dewan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am totally new to mac development
Please help me out, i am not able to get iphone simulator in xcode
I have Mac 10.6.0
I have installed on it xcode321_10m2003_developerdvd.dmg
My xcode is version 3.2.1
But I am not able to use iPhone simulator.
I have downloaded the hello world application from apple developer site.
I am not able to run the application.(and not even build it)
I want to use iphone simulator
Do I need to install some more??
Please provide the solution.

Regards,
Amit Dewan
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you getting any error message upon building the project?
Try to launch the simulator via Spotlight, just type "iPhone Simulator".
 
amita Dewan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
By writing "iphone simulator" in spotlight, no good document comes up.
I want to create simple application that runs on iphone simulator
Do we have any documentation for this??
Please provide and help
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
amita Dewan wrote:By writing "iphone simulator" in spotlight, no good document comes up.
I want to create simple application that runs on iphone simulator
Do we have any documentation for this??
Please provide and help

Amita,
By typing "iPhone Simulator" in Spotlight, the simulator should be launched in case it is installed (and it should be since you have installed Xcode).
Try to google the web for iPhone tutorials or get a book.
http://developer.apple.com/iphone/library/documentation/iPhone/Conceptual/iPhone101/Articles/00_Introduction.html
 
amita Dewan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My version of xcode is 3.2.1
and it seems I dont have iphone simulator
Is this version sufficient or not for simulator to work??

Also tell is this version ok for iphone development.
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
iPhone simulator is included in Xcode, I don't know what is going wrong with your installation.
Sorry.
 
amita Dewan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi John,
Please tell me if by writing "iphone simulator" in spotlight, it shows as no resullts found, it means as my installation does not have iphone sdk in it?? Am I riight??
 
Hussein Baghdadi
clojure forum advocate
Bartender
Posts: 3479
Clojure Mac Objective C
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Xcode is bundled with "Mac OS X SDK" and "iPhone SDK".
Did you checked the iPhone SDK during installation?
 
amita Dewan
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes I inspected during installation. In "Installation Type" stage there was no option of "iPhone sdk" to check.
I think here lies the problem.
Am I right??
 
Rene Larsen
Ranch Hand
Posts: 1179
Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to download the iPhone SDK version of XCode - the one you have is the 'normal' Mac OS version.

The latest version is: xcode_3.2.3_and_ios_sdk_4.0.1.dmg
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic