Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>After 1 day debug and try everything, i can finally build a build server for my ios app using php. I list all the things i have done here so that others can also fix their problems if they have the same ones.</p> <h2>Use shell_exec() instead of exec(), so that you can see all the output.</h2> <p>I have something like this to test ##</p> <pre><code>$output = shell_exec("xcodebuild -showsdks 2&gt;&amp;1"); print_r($output); </code></pre> <p>When i first run the above codes, i have this probem on browser</p> <blockquote> <p>You have not agreed to the Xcode license agreements, please run xcodebuild standalone from within a Terminal window to review and agree to the Xcode license agreements. Build step 'XCode' marked build as failure Finished: FAILURE</p> </blockquote> <p>So i run</p> <pre><code>sudo xcodebuild -license </code></pre> <p>to agree the license system wide</p> <p>Run the code again, i have this problem</p> <blockquote> <p>xcodebuild: error: The workspace 'xxx' does not contain a scheme named 'xxx'.</p> </blockquote> <p>To solve this: try the checked answer of this question: <a href="https://stackoverflow.com/questions/5959382/building-with-xcodebuild-timed-out-waiting-for-ideworkspace-0x2004cebc0-runc/7113723#7113723">Building with xcodebuild Timed out waiting for &lt;IDEWorkspace, 0x2004cebc0&gt;/&quot;runContextManager.runContexts&quot;</a></p> <p>After fixing the issue, my build script now run normally.</p> <p>Hope i can help you solving your issues.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload