Hey guys,
I got a ios cordova project which needs to be integrated in jenkins.
The project can be built successfully in xcode, but when I try to build it
in jenkins I got lots of errors: either it's permission problem (solved) ,
or png not found (solved too), now I got a library (or linker/loader?)
issue and I'm stuck...
See I'm not an xcode developper, I spent more time with java and android
studio, so I have no clue how things work with xcode and what configs I
should pass to jenkins.
This project's current job configs in jenkins:
I gave jenkins its SVN url.
In General build settings: I gave the target, configuration I chose Debug,
xcode schema file I entered project's name, Generate archive? -> yes.
In advanced xcode build options: clean test reports -> yes; xcode project
directory, I specified project root dir (since its a cordova project, the
root must be /platforms/ios, I have leart this hard way with our cordova
android project).
I was convinced this must be enough to build and generate ipa archives.
However I start to get a series of errors, I know it's not because of the
project itself, must be some jenkins configs, but this library thing really
got me, searched many post on the internet and found no solution....
ld: warning: directory not found for option
'-L/Users/blablabla..../BuildProductsPath/Release-iphoneos/objective-zip'
ld: library not found for -lssl
clang: error: linker command failed with exit code 1 (use -v to see invocation)
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/blablabla.../Objects-normal/armv7/SELLSIGN normal armv7
Ld /Users/blablabla.../Objects-normal/arm64/SELLSIGN normal arm64
(2 failures)
I tried to mkdir for that objective-zip, but I can't figure out where the
resources could come from.
Anyone got any suggestions on how to resolve this please? And why would there
be so many errors building with jenkins while in xcode everything's perfectly
fine?
Thanks a lot guys :)
--
You received this message because you are subscribed to the Google Groups
"Jenkins Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/jenkinsci-users/8ccbc878-068e-4f1e-b360-6c7b8d78d94f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.