Implicit dependencies don't work with xcodebuild

I have a small problem with one of my projects. In my workspace, I have my main project and many projects for static libraries. When I build from Xcode everything works fine, but with xcodebuild one of my projects is not built, it seems that the implicit dependencies are not working .k. I may have done something wrong with my configuration. The way it is.

My schema config: enter image description here

My QAPreferences.a information: enter image description here

My target settings: enter image description here

From Xcode, if I build with buildAppTarget in debug for iphoneos, it works.

From xcodebuild, with the command below, the QAPreferences project is not built.

xcodebuild -workspace myProject.xcworkspace -scheme buildApp -configuration Debug -sdk iphoneos

      

It worked before, but I recently added QAPreferences and it works from now on. The problem might be related to the QAPreferences project ...

Regards, Quentin

+3


source to share


2 answers


So I finally found why the QAP links were not built with xcodebuild, but I still don't understand the reason. In fact, QAPreferences 'Build Archive Architecture Only' is set to YES, I just set it to NO and now it works!



+2


source


I had a similar problem, but I forgot to point the argument -workspace

to xcodebuild

, which caused it to look like implicit dependencies were not working correctly. I realize this is not a problem with the original question, but for people having problems with implicit dependencies it might be helpful.



+2


source







All Articles