Closed raphaeloliveira closed 11 years ago
Hi guys, I'm trying to use Jenkins as a CI server and one project that uses CocoaPods fails on the build step with this message:
... Ld build/MyProject.build/Release-iphoneos/MyProject.build/Objects-normal/armv7/MyProject normal armv7 cd /Users/raphael/.jenkins/workspace/MyProject-iOS setenv IPHONEOS_DEPLOYMENT_TARGET 5.1 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/raphael/.jenkins/workspace/MyProject-iOS/build/Release-iphoneos -L/Users/raphael/.jenkins/workspace/MyProject-iOS/Pods/FlurrySDK/Flurry -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system -F/Users/raphael/.jenkins/workspace/MyProject-iOS/build/Release-iphoneos -F/Users/raphael/.jenkins/workspace/MyProject-iOS/MyProject/Heatma.ps -F/Users/raphael/.jenkins/workspace/MyProject-iOS -filelist /Users/raphael/.jenkins/workspace/MyProject-iOS/build/MyProject.build/Release-iphoneos/MyProject.build/Objects-normal/armv7/MyProject.LinkFileList -dead_strip -ObjC -lFlurry -lsqlite3.0 -framework CoreLocation -framework QuartzCore -framework SystemConfiguration -weak_framework Accounts -weak_framework AdSupport -weak_framework Social -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=5.1 -framework CoreGraphics -weak_framework Social -weak_framework Accounts -weak_framework AdSupport -framework CFNetwork -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -framework UIKit -framework Foundation -framework Heatmaps -lz -lPods -o /Users/raphael/.jenkins/workspace/MyProject-iOS/build/MyProject.build/Release-iphoneos/MyProject.build/Objects-normal/armv7/MyProject ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation)
\ BUILD FAILED ** ...
I can build and run and execute on devices without trouble but I think Jenkins is having problems with libPods. ld: library not found for -lPods
Thanks @raphaeloliveira – can you please repost in the CocoaPods issues page? https://github.com/CocoaPods/CocoaPods/issues. Thanks :)
Hi guys, I'm trying to use Jenkins as a CI server and one project that uses CocoaPods fails on the build step with this message:
... Ld build/MyProject.build/Release-iphoneos/MyProject.build/Objects-normal/armv7/MyProject normal armv7 cd /Users/raphael/.jenkins/workspace/MyProject-iOS setenv IPHONEOS_DEPLOYMENT_TARGET 5.1 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk -L/Users/raphael/.jenkins/workspace/MyProject-iOS/build/Release-iphoneos -L/Users/raphael/.jenkins/workspace/MyProject-iOS/Pods/FlurrySDK/Flurry -L/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS6.1.sdk/usr/lib/system -F/Users/raphael/.jenkins/workspace/MyProject-iOS/build/Release-iphoneos -F/Users/raphael/.jenkins/workspace/MyProject-iOS/MyProject/Heatma.ps -F/Users/raphael/.jenkins/workspace/MyProject-iOS -filelist /Users/raphael/.jenkins/workspace/MyProject-iOS/build/MyProject.build/Release-iphoneos/MyProject.build/Objects-normal/armv7/MyProject.LinkFileList -dead_strip -ObjC -lFlurry -lsqlite3.0 -framework CoreLocation -framework QuartzCore -framework SystemConfiguration -weak_framework Accounts -weak_framework AdSupport -weak_framework Social -fobjc-arc -fobjc-link-runtime -miphoneos-version-min=5.1 -framework CoreGraphics -weak_framework Social -weak_framework Accounts -weak_framework AdSupport -framework CFNetwork -framework MessageUI -framework QuartzCore -framework SystemConfiguration -framework MobileCoreServices -framework UIKit -framework Foundation -framework Heatmaps -lz -lPods -o /Users/raphael/.jenkins/workspace/MyProject-iOS/build/MyProject.build/Release-iphoneos/MyProject.build/Objects-normal/armv7/MyProject ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation)
\ BUILD FAILED ** ...
I can build and run and execute on devices without trouble but I think Jenkins is having problems with libPods. ld: library not found for -lPods