xcodebuild failure clang:error no such file or directory:

前端 未结 9 2204
伪装坚强ぢ
伪装坚强ぢ 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:35

    Sometimes Xcode performs weird. You have to find that static library project e.g.. "filename.a" under 'Link Binary With Libraries' in Build Phase and then remove it and add it again.

    I had the same problem while I was archiving my target. I removed the library and the build succeeded.

提交回复
热议问题