I am running into this error in my jenkins xcode build which I’m attempting to setup:
clang: error: no such file or directory: '/Users/boo/.jenkins/jobs/myProject/workspace/DerivedData/Release-iphoneos/libIBAForms.a'
clang: error: no such file or directory: '/Users/boo/.jenkins/jobs/myProject/workspace/DerivedData/Release-iphoneos/libLambdaAlert.a'
clang: error: no such file or directory: '/Users/boo/.jenkins/jobs/myProject/workspace/DerivedData/Release-iphoneos/libRestKit.a'
I cannot figure out a few things regarding the configuration:
-
what prompted the jenkins-xcode-plugin ( https://wiki.jenkins-ci.org/display/JENKINS/Xcode+Plugin ) to use
/DerivedData/Release-iphoneos/in the path for the lookup of the .a files -
instead why didn’t it select
/DerivedData/Debug-iphoneos/as the fragment in the path for the lookup to the .a files -
finally the submodules that produce – libIBAForms, libLambdaAlert, libRestKit – are all projects that have a
releaseand adebugprofile … so why the files are actually missing from the/DerivedData/Release-iphoneos/path where they are supposed to be … is beyond me.
I was able to get past all this when I adeed the submodules which generate libIBAForms and libLambdaAlert as the main project’s “Target Dependencies”