Xcode Library链接不起作用......
构建问题:
Ld /Users/abraaobarroslacerda/Library/Developer/Xcode/DerivedData/ios.Bynd-dsufpmwjucukmkctjyybhovuitqt/Build/Products/Debug-iphoneos/ios.Bynd.app/ios.Bynd normal arm64
cd /Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd
export IPHONEOS_DEPLOYMENT_TARGET=9.1
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin"
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch arm64 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS9.2.sdk -L/Users/abraaobarroslacerda/Library/Developer/Xcode/DerivedData/ios.Bynd-dsufpmwjucukmkctjyybhovuitqt/Build/Products/Debug-iphoneos -L/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/build/Debug-iphoneos -F/Users/abraaobarroslacerda/Library/Developer/Xcode/DerivedData/ios.Bynd-dsufpmwjucukmkctjyybhovuitqt/Build/Products/Debug-iphoneos -F/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/Pods/Crashlytics/iOS -F/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/Pods/Fabric/iOS -F/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/Pods/TwitterCore/iOS -F/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/ios.Bynd/parse -F/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd -F/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/FacebookSDK -filelist /Users/abraaobarroslacerda/Library/Developer/Xcode/DerivedData/ios.Bynd-dsufpmwjucukmkctjyybhovuitqt/Build/Intermediates/ios.Bynd.build/Debug-iphoneos/ios.Bynd.build/Objects-normal/arm64/ios.Bynd.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -miphoneos-version-min=9.1 -dead_strip -ObjC -lHexColors -lMixpanel -lPDTSimpleCalendar -lTSMessages -lc++ -licucore -lz -framework Accelerate -framework Accounts -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework Crashlytics -framework Fabric -framework Foundation -framework QuartzCore -framework Security -framework Social -framework SystemConfiguration -framework TwitterCore -framework UIKit -ObjC -framework Accelerate -ObjC -lHexColors -lMixpanel -lPDTSimpleCalendar -lTSMessages -lc++ -licucore -lz -framework Accelerate -framework Accounts -framework CoreData -framework CoreGraphics -framework CoreTelephony -framework Crashlytics -framework Fabric -framework Foundation -framework QuartzCore -framework Security -framework Social -framework SystemConfiguration -framework TwitterCore -framework UIKit /Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd -fobjc-arc -fobjc-link-runtime -framework UIKit -framework SystemConfiguration -framework QuartzCore -framework Foundation -framework CoreTelephony -framework CoreGraphics -lHexColors -framework Accelerate -framework Bolts -framework Social -framework Accounts -lstdc++.6 -framework StoreKit -framework Parse -framework Security -framework MobileCoreServices -framework CFNetwork -framework MapKit -lsqlite3 -lz -framework CoreLocation -framework ParseCrashReporting -framework AudioToolbox -framework Parse -framework ParseCrashReporting -framework ParseUI -lPods-ios.Bynd -Xlinker -dependency_info -Xlinker /Users/abraaobarroslacerda/Library/Developer/Xcode/DerivedData/ios.Bynd-dsufpmwjucukmkctjyybhovuitqt/Build/Intermediates/ios.Bynd.build/Debug-iphoneos/ios.Bynd.build/Objects-normal/arm64/ios.Bynd_dependency_info.dat -o /Users/abraaobarroslacerda/Library/Developer/Xcode/DerivedData/ios.Bynd-dsufpmwjucukmkctjyybhovuitqt/Build/Products/Debug-iphoneos/ios.Bynd.app/ios.Bynd
ld: warning: directory not found for option '-L/Users/abraaobarroslacerda/Documents/Urbbox/bynd/workspace/ios.Bynd/build/Debug-iphoneos'
ld: library not found for -lHexColors
clang: error: linker command failed with exit code 1 (use -v to see invocation)
我的PodFile:
target 'ios.Bynd' do
pod 'PDTSimpleCalendar', '~> 0.9.1'
pod 'Mixpanel'
pod 'TSMessages'
pod 'Fabric'
pod 'TwitterCore'
pod 'Crashlytics'
end
target 'ios.ByndTests' do
pod 'Parse'
pod 'Fabric'
pod 'ActionSheetPicker-3.0'
end
有人可以给顾问如何解决这个问题吗?
答案 0 :(得分:0)
尝试进入项目的构建设置,查找其他链接器标记并使用-l" pod name"删除每个条目。它们是旧的CocoaPods条目。