Some questions of building a new project on ios.

First ,i use cocos2d-x on ios, and i study tests for ios,tests can be build well.

Second, when i build a new project “Hellow world! instance”, but it can not be build successfully,and has a error: There is no SDK with the name or path ‘iphoneos’.

What should i do?

You’re using an old version of xcode, earlier than 3.2.4. You can fix it by
# upgrade the xcode to 3.2.5 or 4.x (recommend!)
# modify the “base SDK” value in project setting from “Lastest iOS” to such as “iphonesimulator4.1”

o my base sdk is iphonesimulator4.1
xcode id 3.2.4,

update xcode?

I will try it.
Greatful thanks ….

Please check all targets to ‘iphonesimulator4.1’. I’m very certain at least one target is set to ‘Lastest iOS’
In the lastest v0.9.0 version, I modify all settings to ‘Lastest iOS’ to avoid bug #604
BTW, xcode 4.0.2 works well on my mac

Yes, get it . it can be run successfully ! Thanks!