I just installed AFNetwokring 2.0 and first compiled it with a simulator that worked 100% and no errors were found. I made the test call in the same way as it should. Then I tried to compile it for the real iPhone device, and now I get this error when trying to create:
Ld /Users/sorendidriksen/Library/Developer/Xcode/DerivedData/GB_Mobil_DK-abwnrramdycsilhhfusihgjqvead/Build/Intermediates/GB\ Mobil\ DK.build/Debug-iphoneos/GB\ Mobil\ DK.build/Objects-normal/armv7/GB\ Mobil\ DK normal armv7
cd /Volumes/TCOSX25GB/CloudStation/GolfBox/GolfBox_Code/iOS_build_DK/GB_Build_1.7.2.0
export IPHONEOS_DEPLOYMENT_TARGET=7.0
export 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"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch armv7 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS7.1.sdk -L/Users/sorendidriksen/Library/Developer/Xcode/DerivedData/GB_Mobil_DK-abwnrramdycsilhhfusihgjqvead/Build/Products/Debug-iphoneos -F/Users/sorendidriksen/Library/Developer/Xcode/DerivedData/GB_Mobil_DK-abwnrramdycsilhhfusihgjqvead/Build/Products/Debug-iphoneos -filelist /Users/sorendidriksen/Library/Developer/Xcode/DerivedData/GB_Mobil_DK-abwnrramdycsilhhfusihgjqvead/Build/Intermediates/GB\ Mobil\ DK.build/Debug-iphoneos/GB\ Mobil\ DK.build/Objects-normal/armv7/GB\ Mobil\ DK.LinkFileList -dead_strip -lxml2 -all_load -ObjC -fobjc-link-runtime -miphoneos-version-min=7.0 -framework QuartzCore -framework MapKit -lz.1.2.5 -framework Foundation -framework UIKit -framework CoreGraphics -framework CFNetwork -framework SystemConfiguration -framework MobileCoreServices -framework CoreLocation -framework AddressBook -framework CoreData -lPods -Xlinker -dependency_info -Xlinker /Users/sorendidriksen/Library/Developer/Xcode/DerivedData/GB_Mobil_DK-abwnrramdycsilhhfusihgjqvead/Build/Intermediates/GB\ Mobil\ DK.build/Debug-iphoneos/GB\ Mobil\ DK.build/Objects-normal/armv7/GB\ Mobil\ DK_dependency_info.dat -o /Users/sorendidriksen/Library/Developer/Xcode/DerivedData/GB_Mobil_DK-abwnrramdycsilhhfusihgjqvead/Build/Intermediates/GB\ Mobil\ DK.build/Debug-iphoneos/GB\ Mobil\ DK.build/Objects-normal/armv7/GB\ Mobil\ DK
ld: library not found for -lPods
clang: error: linker command failed with exit code 1 (use -v to see invocation)
I have no idea how to fix this, can anyone out there help PLZ?
source
share