Setting Up SDK for Use by an Xcode Bot

Discussion created by KJohnsonNarwhal on Feb 8, 2014
Latest reply on Feb 8, 2016 by marius_tabletcommand
I decided to set up an Xcode bot to automatically build and test my app that uses the SDK. I ran into one problem: the SDK installer puts everything in the user's home directory (under ~/Library), but Xcode bots run under a special account (_teamsserver). By default, that account does not have a home directory, and there is no way to log in as that user to install the SDK. So if the Xcode project uses a path like "$(HOME)/Library/SDKs/ArcGIS/iOS", the bot will not be able to find the files.

One solution would be to use full paths in the Xcode project, but that would require agreement on a shared location. Instead, I figured out how to set up the _teamsserver home directory with a symlink to my user account's SDK installation.

Full details are in a blog post here: http://undefinedvalue.com/2014/02/08/setting-arcgis-runtime-sdk-ios-xcode-bot

If anyone has any better ideas, I'd like to hear them.

It would be nice if the SDK installer provided an option to install the SDK files somewhere other than the user's home directory.