When I build an iOS job in jenkins, always got the following result: (this section appears twice, one for armv7 and another for arm64)
ld: warning: directory not found for option '-L/Users/[user_name]/Library/Developer/Xcode/DerivedData/[some_project_name]/Build/Intermediates.noindex/ ArchiveIntermediates/[project_name]/BuildProductsPath/Debug-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 ** (and here's the final error message)The following build commands failed: Ld /Users/[user_name]/Library/Developer/Xcode/DerivedData/[some_project_name]/Build/Intermediates.noindex/ArchiveIntermediates/[project_name] /IntermediateBuildFilesPath/[project_name].build/Debug-iphoneos/[project_name].build/Objects-normal/arm64/[project_name] normal arm64 Ld /Users/[user_name]/Library/Developer/Xcode/DerivedData/[some_project_name]/Build/Intermediates.noindex/ArchiveIntermediates/[project_name] /IntermediateBuildFilesPath/[project_name].build/Debug-iphoneos/[project_name].build/Objects-normal/armv7/[project_name] normal armv7 (2 failures) Build step 'Xcode' marked build as failure Now what I don't understand is, is this jenkins or xcode? Because when building with xcode alone, there were no problem, but can't be built in Jenkins, what happened ? What changed with jenkins? I have found the path of that library Jenkins says can't find (openssl), the workspace got everything from SVN repo so it has everything; I tried to copy the entier objective-zip folder to that path where Jenkins looks for it (.../Debug-iphonos/), but nothing happened, it seems that upon each new build, that path in jenkins (.../Debug-iphonos/) got cleared and recreated... And in xcode, build settings -> architecture, it's standard, in -> valide architecture, for both debug and release it's arm64 armv7. If anyone knows anything, I'd appreciate some tips, thanks ! -- 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 jenkinsci-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/jenkinsci-users/86a3bc43-6563-471c-9011-6aec6d71e181%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.