Building for both iOS & Android

Hi,

I created a project for both iOS & Android (they are in seperate folders) I tried to merge them but I was having problems. After I make changes to my code in xCode, build & compile, do I need to copy the files to the Android folder and then rebuild?

If so, is there an easier way to merge the projects, so I don’t have keep copying files back and forth?

thanks,

iOS and android can share resources and Classes.
You can merge the two projects like HelloWorld and tests.

Would advise reading this blog post

[[http://gameit.ro/2011/08/creating-an-iphone-and-android-cocos2d-x-hybrid-project/]]

And the whole website! :slight_smile:

Hi,

Yea I have that site bookmarked and tried to follow the instructions on that site but got stuck when trying to rebuild the project after merging (the last step).

Minggo, are there instructions on how you merged the HelloWorld projects together?

thanks,