xcodebuild failure clang:error no such file or directory:

前端 未结 9 2227
伪装坚强ぢ
伪装坚强ぢ 2021-01-01 21:50

Having a problem when building with xcodebuild. My project/app builds fine with the Xcode - gui. It simply isn\'t finding/building the libcryptopp library which is part of t

9条回答
  •  无人及你
    2021-01-01 22:47

    To fix this, go to your project settings, go to Targets and select your main project target. Then go to Build phases. Under Target dependencies add the static library project.

    This way, when you compile the main project, the static library subproject gets compiled before the main project and your static library will be available.

提交回复
热议问题