Changes between Version 76 and Version 77 of ProblemHotlist


Ignore:
Timestamp:
Mar 1, 2012, 2:18:59 PM (12 years ago)
Author:
tcwan (TC Wan)
Comment:

Initial run of xcodebuild needed to accept EULA

Legend:

Unmodified
Added
Removed
Modified
  • ProblemHotlist

    v76 v77  
    99sudo xcode-select -switch /Applications/Xcode.app
    1010}}}
     11
     12When attempting to build a port which compiles an OS X app (e.g., gimp-app), the compilation may fail with an xcodebuild error. One of the cause of this is that an initial run of xcodebuild from the terminal is needed to accept the EULA before
     13any compilation can proceed. Run:
     14{{{
     15xcodebuild
     16}}}
     17from a terminal window and follow the prompts. After accepting the EULA, rebuild the port again.
     18If the following error is shown:
     19{{{
     20xcodebuild: error: The directory XXXX does not contain an Xcode project.
     21}}}
     22then xcodebuild has been configured previously, and is not the cause of the problem.
    1123
    1224== A port build fails on Snow Leopard with: "file is not of required architecture" == #wrongarch