Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't compile the project #141

Open
opieri opened this issue May 12, 2018 · 8 comments
Open

Can't compile the project #141

opieri opened this issue May 12, 2018 · 8 comments

Comments

@opieri
Copy link

opieri commented May 12, 2018

Do I have miss something ?

Compilation error :

Ld /Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/CocoaRestClient.app/Contents/MacOS/CocoaRestClient normal x86_64
cd /Users/olivier/Documents/Dev/cocoa-rest-client-master
export MACOSX_DEPLOYMENT_TARGET=10.12
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug -L/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/ACEView -L/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/Base64 -L/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/DiffMatchPatch-ObjC -L/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/MsgPackSerialization -L/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/SBJson -F/Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug -F/Users/olivier/Documents/Dev/cocoa-rest-client-master/Pods/Sparkle -F/Users/olivier/Documents/Dev/cocoa-rest-client-master -filelist /Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Intermediates.noindex/CocoaRestClient.build/Debug/CocoaRestClient.build/Objects-normal/x86_64/CocoaRestClient.LinkFileList -Xlinker -rpath -Xlinker @loader_path/../Frameworks -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mmacosx-version-min=10.12 -Xlinker -object_path_lto -Xlinker /Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Intermediates.noindex/CocoaRestClient.build/Debug/CocoaRestClient.build/Objects-normal/x86_64/CocoaRestClient_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lACEView -lBase64 -lDiffMatchPatch-ObjC -lMsgPackSerialization -lSBJson -framework Sparkle -framework WebKit -lz -framework QuartzCore -framework WebKit -framework Cocoa -lPods-CocoaRestClient -lPods -Xlinker -dependency_info -Xlinker /Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Intermediates.noindex/CocoaRestClient.build/Debug/CocoaRestClient.build/Objects-normal/x86_64/CocoaRestClient_dependency_info.dat -o /Users/olivier/Library/Developer/Xcode/DerivedData/CocoaRestClient-bxaputffumrnfbbwjhcqbilddxjx/Build/Products/Debug/CocoaRestClient.app/Contents/MacOS/CocoaRestClient

@mmattozzi
Copy link
Owner

Did you install CocoaPods and run pod install ?

@opieri
Copy link
Author

opieri commented May 12, 2018

Yes

@mmattozzi
Copy link
Owner

What version of xcode are you using? Is it capable of building for 10.12?

@opieri
Copy link
Author

opieri commented May 12, 2018

9.3.1

@dilmerv
Copy link

dilmerv commented May 28, 2018

I am experiencing the same behavior and yes I also installed CocoaPods and ran pod install. Then I opened the workspace "open CocoaRestClient.xcworkspace/"

Ld /Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/CocoaRestClient.app/Contents/MacOS/CocoaRestClient normal x86_64
cd "/Users/dvalecillos/Code/Personal/# Apps/restclient"
export MACOSX_DEPLOYMENT_TARGET=10.12
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch x86_64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.13.sdk -L/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug -L/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/ACEView -L/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/Base64 -L/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/DiffMatchPatch-ObjC -L/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/MsgPackSerialization -L/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/SBJson -F/Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug -F/Users/dvalecillos/Code/Personal/#\ Apps/restclient/Pods/Sparkle -F/Users/dvalecillos/Code/Personal/#\ Apps/restclient -filelist /Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Intermediates.noindex/CocoaRestClient.build/Debug/CocoaRestClient.build/Objects-normal/x86_64/CocoaRestClient.LinkFileList -Xlinker -rpath -Xlinker @loader_path/../Frameworks -Xlinker -rpath -Xlinker @executable_path/../Frameworks -Xlinker -rpath -Xlinker @loader_path/Frameworks -mmacosx-version-min=10.12 -Xlinker -object_path_lto -Xlinker /Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Intermediates.noindex/CocoaRestClient.build/Debug/CocoaRestClient.build/Objects-normal/x86_64/CocoaRestClient_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lACEView -lBase64 -lDiffMatchPatch-ObjC -lMsgPackSerialization -lSBJson -framework Sparkle -framework WebKit -lz -framework QuartzCore -framework WebKit -framework Cocoa -lPods-CocoaRestClient -lPods -Xlinker -dependency_info -Xlinker /Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Intermediates.noindex/CocoaRestClient.build/Debug/CocoaRestClient.build/Objects-normal/x86_64/CocoaRestClient_dependency_info.dat -o /Users/dvalecillos/Library/Developer/Xcode/DerivedData/CocoaRestClient-hdggcvvnxjfkhbgtbxzypuaxxyyj/Build/Products/Debug/CocoaRestClient.app/Contents/MacOS/CocoaRestClient

ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)

@mmattozzi
Copy link
Owner

It does seem related to pulling in what's generated by cocoapods. There's a discussion about this error on Stackoverflow: https://stackoverflow.com/questions/9863836/library-not-found-for-lpods ... although it sounds like you are at least opening the .xcworkspace as you should be.

@dilmerv
Copy link

dilmerv commented Jun 25, 2018

Running Xcode 9.4.1 still issues, I will keep trying...

@mmattozzi
Copy link
Owner

There's also some suggestions in the Cocoapods FAQ: http://guides.cocoapods.org/using/troubleshooting.html

Are you able to compile and run any other projects built with CocoaPods?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants