Quantcast
Channel: Questions in topic: "ios"
Viewing all articles
Browse latest Browse all 4709

Build Target ios Can't be used when running Unity in batchmode

$
0
0
I've been trying to automate our iOS builds from Unity using Jenkins. The problem is that when I pass in "-buildTarget ios" to Unity executable, It prints out Build target platform 'iOS' could not be used. without any extra information so that I can know why! I can build successfully using Unity Editor. I have tried either of following set of arguments and still getting the same error. -batchmode -nographics -projectPath "/Volumes/Data/UnityProject" -logFile "/Volumes/Data/UnityProject/Unity/Editor.log" -executeMethod PlayerBuilder.BuildiOS -buildPath ${WORKSPACE} -quit -buildTarget ios -batchmode -nographics -projectPath "/Volumes/Data/UnityProject" -logFile "/Volumes/Data/UnityProject/Unity/Editor.log" -executeMethod PlayerBuilder.BuildiOS -buildPath ${WORKSPACE} -quit -buildTargetGroup ios -buildTarget ios If I omit -nographics, Is produces an error about connecting to window server and quit. If I omit -buildTarget iOS it produces compile error saying UnityEngine.iOS Could not be found. By the way I am using MacOS. Any help appreciated,Thanks

Viewing all articles
Browse latest Browse all 4709

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>