Can not recognize target platform

Can not recognize target platform
0.0 0


Since my last cocos2dx update i can not build the ios version. the error i get now is “can not recognize target platform”. I’m not sure where i have to set the define and why it worked before.


Ok the new define i had to add to the build settings is CC_TARGET_OS_IPHONE.


Thank you for this post.

My project had TARGET_OS_IPHONE instead of CC_TARGET_OS_IPHONE.


Since 2.1.4 i seams to be changed back to CC_TARGET_OS_IPHONE.