- Home /
Automate iPhone build
Is there a way to automate an iPhone build?
I was thinking of using a script that would call, via Unity cammand line, a static function that would then call BuildPipeline.BuildPlayer.
The signature of BuildPlayer is :
static function BuildPlayer (levels : string[], locationPathName : string, target : BuildTarget, options : BuildOptions) : string
Unfortunatly, I don't see the iPhone in the BuildTarget documentation... Am I missing something?
http://unity3d.com/support/documentation/ScriptReference/BuildPipeline.BuildPlayer.html http://unity3d.com/support/documentation/ScriptReference/BuildTarget.html
Answer by Tetrad · Jul 14, 2010 at 02:50 PM
The online documentation doesn't include iPhone specific details. Look inside /Applications/Unity iPhone/ and there should be a link to the iPhone documentation, which might have the details you need.
Your answer
![](https://koobas.hobune.stream/wayback/20220613064725im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Distribute terrain in zones 3 Answers
Adding plugins to XCode project from the command line 1 Answer
ArgumentException: targetGroup must be valid 1 Answer
Unity IL2CPP 0 Answers
Copy a resource file to build directory? 3 Answers