Xcode custom build configuration causes “library/file not found” for static libraries

前端 未结 7 2003
心在旅途
心在旅途 2020-12-02 14:13

I have a workspace with a project which links with the static libraries in another project (which is also in the workspace). It\'s a problem in Kobold2D I haven\'t been able

7条回答
  •  暗喜
    暗喜 (楼主)
    2020-12-02 14:44

    You could add CONFIGURATION_BUILD_DIR=/Some/Shared/Dir before running xcodebuild. For example:

    cd SOURCE_DIR
    xcodebuild  -workspace YourProject.xcworkspace -scheme YourScheme -configuration AdHoc -sdk iphoneos clean build CONFIGURATION_BUILD_DIR="`pwd`"/build
    

提交回复
热议问题