Skip to content
This repository has been archived by the owner on Oct 20, 2024. It is now read-only.

PocketSocket does not link on Xcode 10.1 #81

Open
Permusoft opened this issue Dec 12, 2018 · 0 comments
Open

PocketSocket does not link on Xcode 10.1 #81

Permusoft opened this issue Dec 12, 2018 · 0 comments

Comments

@Permusoft
Copy link

Permusoft commented Dec 12, 2018

In a MacOS project newly created in Xcode 10.1, PocketSocket compilation throws a linker error:

Ld /Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Products/Debug/Whatever.app/Contents/MacOS/Whatever normal x86_64 (in target: Whatever)
cd /Users/me/Desktop/Whatever
export MACOSX_DEPLOYMENT_TARGET=10.13
/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.14.sdk -L/Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Products/Debug -L/Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Products/Debug/PocketSocket -F/Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Products/Debug -filelist /Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Intermediates.noindex/Whatever.build/Debug/Whatever.build/Objects-normal/x86_64/Whatever.LinkFileList -Xlinker -rpath -Xlinker @executable_path/../Frameworks -mmacosx-version-min=10.13 -Xlinker -object_path_lto -Xlinker /Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Intermediates.noindex/Whatever.build/Debug/Whatever.build/Objects-normal/x86_64/Whatever_lto.o -Xlinker -export_dynamic -Xlinker -no_deduplicate -fobjc-arc -fobjc-link-runtime -ObjC -lPocketSocket -lsystem -lz -framework CFNetwork -framework Foundation -framework Security -lPods-Whatever -Xlinker -dependency_info -Xlinker /Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Intermediates.noindex/Whatever.build/Debug/Whatever.build/Objects-normal/x86_64/Whatever_dependency_info.dat -o /Users/me/Library/Developer/Xcode/DerivedData/Whatever-arieyrqotbvrbncuwgmbqurigkkv/Build/Products/Debug/Whatever.app/Contents/MacOS/Whatever

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

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

No branches or pull requests

1 participant