Xcode — what is $(SRCROOT)?

前端 未结 3 1972
野趣味
野趣味 2020-12-22 20:46

I am looking at an Xcode project that uses some libraries. The project was created on a different computer, so I need to update some paths. The library search paths all st

相关标签:
3条回答
  • 2020-12-22 21:15

    It's the path to the directory containing the Xcode project.

    0 讨论(0)
  • 2020-12-22 21:20

    That's basically your project root directory defined by Xcode.

    http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW38

    0 讨论(0)
  • 2020-12-22 21:31

    $(SRCROOT)(aka $(SOURCE_ROOT)) is a path to your location where a.xcodeproj is.

    It is simple to check, just put it in a field and Xcode gives you a tip

    0 讨论(0)
提交回复
热议问题