osx-server

Using script to fire Xcode bot

非 Y 不嫁゛ 提交于 2019-11-27 03:38:53
问题 Is there a way to manually fire existing Xcode bots using shell scripts? I have a manual bot and I'd like to fire it based on certain custom logic criteria. 回答1: Yes. You'll need to do a couple of things: Firstly, I'm going to call your Xcode Server's IP address XCS_IP, usually localhost if you're on the machine where Xcode Server's running. Find out the ID of the bot: in Terminal, run curl -k "https://XCS_IP:20343/api/bots" . Copy the output to some editor and find the value for key _id for

Using MDM To Configure An Enterprise App Via NSUserDefaults

核能气质少年 提交于 2019-11-26 15:52:11
问题 I'm using Profile Manager in OS X Server 3.0.1 on 10.9 to push my enterprise app to a managed device running iOS7. This is working well, and I am also able to push device configuration settings. My roadblock is how to take the information offered in Apple's example project, ManagedAppConfig, and apply it to an app distributed by Profile Manager. ManagedAppConfig provides a simple plist which is supposed to be used to put data into an app's NSUserDefaults, which is then used for app