有人可以帮我解决 Swift “Apple Mach-O Linker Error?”中的这个错误吗?
Can someone help me fix this error in Swift "Apple Mach-O Linker Error?
"Linker command failed with exit code 1(use -v to invocation)".
我不明白这是什么意思,也不确定去哪里修复它。我查看了 Whosebug 中的解决方案,但其中 none 对我有用。我也清理了项目,但仍然没有摆脱错误。请帮忙。
EDIT
ld: warning: directory not found for option '-
L/Users/welch/Downloads/Flurry'
ld: warning: directory not found for option '-LiPhone'
ld: warning: directory not found for option '-LSDK'
ld: warning: directory not found for option '-LviPhone'
ld: warning: directory not found for option '-L6.4.0'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/Flurry'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/FlurryAds'
ld: warning: directory not found for option '-F(1)'
ld: warning: directory not found for option '-F/Users/welch/Downloads/IOS-InApp'
ld: warning: directory not found for option '-FSDK-InApp-2.4.2'
ld: library not found for -lFlurryAds_6.4.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: directory not found for option '-L/Users/welch/Downloads/Flurry'
ld: warning: directory not found for option '-LiPhone'
ld: warning: directory not found for option '-LSDK'
ld: warning: directory not found for option '-LviPhone'
ld: warning: directory not found for option '-L6.4.0'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/Flurry'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/FlurryAds'
ld: warning: directory not found for option '-F(1)'
ld: warning: directory not found for option '-F/Users/welch/Downloads/IOS-InApp'
ld: warning: directory not found for option '-FSDK-InApp-2.4.2'
ld: library not found for -lFlurryAds_6.4.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
单击 Build Settings,然后在 Library Search Paths 下,删除路径。
"Linker command failed with exit code 1(use -v to invocation)".
我不明白这是什么意思,也不确定去哪里修复它。我查看了 Whosebug 中的解决方案,但其中 none 对我有用。我也清理了项目,但仍然没有摆脱错误。请帮忙。
EDIT
ld: warning: directory not found for option '-
L/Users/welch/Downloads/Flurry'
ld: warning: directory not found for option '-LiPhone'
ld: warning: directory not found for option '-LSDK'
ld: warning: directory not found for option '-LviPhone'
ld: warning: directory not found for option '-L6.4.0'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/Flurry'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/FlurryAds'
ld: warning: directory not found for option '-F(1)'
ld: warning: directory not found for option '-F/Users/welch/Downloads/IOS-InApp'
ld: warning: directory not found for option '-FSDK-InApp-2.4.2'
ld: library not found for -lFlurryAds_6.4.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
ld: warning: directory not found for option '-L/Users/welch/Downloads/Flurry'
ld: warning: directory not found for option '-LiPhone'
ld: warning: directory not found for option '-LSDK'
ld: warning: directory not found for option '-LviPhone'
ld: warning: directory not found for option '-L6.4.0'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/Flurry'
ld: warning: directory not found for option '-L(1)/Flurry-iOS-6.4.0/FlurryAds'
ld: warning: directory not found for option '-F(1)'
ld: warning: directory not found for option '-F/Users/welch/Downloads/IOS-InApp'
ld: warning: directory not found for option '-FSDK-InApp-2.4.2'
ld: library not found for -lFlurryAds_6.4.0
clang: error: linker command failed with exit code 1 (use -v to see invocation)
单击 Build Settings,然后在 Library Search Paths 下,删除路径。