- Home /
The question is answered, right answer was accepted
Building an iphone game from a project made on windows? Xcode?
First off, I'm not going to try and build an iPhone app from a windows because I know that's impossible (really stupid too). I am just curious about Xcode and if that is something like the Android SDK that you need to build an APK for Android? I have a game I want to export for android and apple as well but I built my app on a windows computer. Am I able to put the unity project onto an apple computer that has Unity installed and be able to export it through Xcode? Or do I have to make a pack with all my scripts and levels and import them into a new project on the apple's Unity and rebuild the game with my already made scripts? Do I need a pack installed on the apple computer like you do with Android SDK? I'm just very confused about Xcode and if it is like a developer kit for apple apps, or something completely different. BTW I'm using Javascript for my game which is what android uses and I assume apple would use, so I hope that isn't a problem.
Answer by tanoshimi · Aug 06, 2014 at 07:32 AM
XCode is an IDE - an environment in which you can create and manage software projects, write, test, and compile code - roughly equivalent to Visual Studio or Eclipse on a PC.
As for using xCode to compile a Unity project, there's instructions at http://docs.unity3d.com/Manual/iphone-GettingStarted.html
Javascript shuold not be a problem so long as you have #pragma strict
- you might encounter some other issues that differ on iOS from other target platforms though (supported audio/texture formats etc.)
Thank you! That is some good news then lol. The images and audio shouldn't be big setbacks if they are somehow not compatible.
Answer by screenname_taken · Aug 06, 2014 at 07:38 AM
You can make your app on a windows machine and just copy the files over to a mac once you'll build it for iOS. Xcode is apple's developer toolkit. You can build OS X and iOS applications from scratch in there. Unity will build the project into a folder with a file that opens in Xcode, and Xcode will make the iOS app.
When you say javascript, do you mean from within Unity? If so, they it won't be an issue because unity is compiling it into something else. It's not really pure javascript, it's a version of it sometimes referred as unity script. If you'd be making something for iOS from Xcode alone you'd be using ObjectiveC i think.
Thanks so much! I thought JS in unity was just java script, so good to know lol.
But How To Create Iphone Game Extension If We Used Windows 7 supported Unity? please Guide me..
I don't believe you can. It requires the use of Unity on a $$anonymous$$AC (and a valid Apple developers license to even build!), in the same way that you need updated Windows Platform to perform Windows builds.
Perhaps yo could try some kind of virtual machine environment.
Legally speaking, running OSX and XCode in a virtual machine on a Windows PC to build a iOS Unity app is illegal.
However, from a technical point-of-view, it's possible...
Follow this Question
Related Questions
Built the app.. and now? 1 Answer
Xcode keeps building old versions 1 Answer
Resize GUI Button (linked to website) ?? 1 Answer
Wp8 an Android 0 Answers
UI Button when build to android function does not work 0 Answers