



On Feb 5, 2019, at 4:26 AM, Bernie Maier wrote: Alex Zavatone via Groups.Io: Just figured it out. I’d actually like to know why this works and get it to work without having to redirect output to a file. Also, if the first > and argument are removed, the build script ignores the trailing & and waits for the script to finish. While using stdout yesterday allowed the output to appear in the build log, this morning it is missing. The thing I would like to know most is why it works. On Feb 5, 2019, at 4:26 AM, Bernie Maier wrote: I’d hate to have to resort to AppleScript. Rackup and make it detached so that the other build scripts will continue? Can anyone help me out with a proper method to start up I’ve tried nohup, adding an & after the command, disown and a few otherĪlternatives. I’m trying to get this service which is started by rackup to run as aĭetached process so that the rest fo the build scripts will continue Manually when we build our iOS apps for testing. We have a mock service for our web service APIs that is generally run On Feb 4, 2019, at 3:28 PM, Alex Zavatone via Groups.Io
Build phases xcode how to#
I'm just suggesting an alternative approach, not trying to tell you how to do your job. Still, that's a useful snippet to know, so thanks for mentioning it. Something like Fastlane would be a good candidate as the infrastructure to build parts of this: you'd define a Fastlane lanes to kick off the build, start up and tear down your mock service, a lane to run your automated tests and then a master lane to coordinate all this. Hope this helps someone else.Although you have figured it out, I'd recommend to anyone who can spare the engineering time to move this kind of thing out of the Xcode part of the build. $SRCROOT/Build-Phases/Start_up_rack_in_test.sh > stdout 2>&1 &
