where is $PATH set in xcode?

前端 未结 9 768
半阙折子戏
半阙折子戏 2020-12-03 07:16

It looks like xcode\'s $PATH environment setting is different from my user shell environment.

Where does xcode get the $PATH setting from and what\'s the best way t

9条回答
  •  Happy的楠姐
    2020-12-03 07:45

    if you're writing a Run Shell Script build phase, you can just do:

    PATH=${PATH}:/opt/local/bin
    

    or whatever inside the script content.

提交回复
热议问题