gpt4 book ai didi

ios - Xcode - 导入 STTwitter 导致 Apple Mach-O 链接器错误

转载 作者:行者123 更新时间:2023-11-29 02:06:13 25 4
gpt4 key购买 nike

正如标题所说。我已经多次下载 STTwitter API,以确保我的下载没有任何问题。我在导入库之前运行了我的项目,它运行良好。

我知道 STTwitter 库没有任何问题,因为我在几个项目中使用过它,但它不允许我使用导入创建另一个项目。

Ld /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator/JesusWalk.app/JesusWalk normal i386
cd /Users/michaelvillar/Desktop/JesusWalk
export IPHONEOS_DEPLOYMENT_TARGET=8.3
export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.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 i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator8.3.sdk -L/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator -F/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator -filelist /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/JesusWalk.LinkFileList -Xlinker -rpath -Xlinker @executable_path/Frameworks -Xlinker -objc_abi_version -Xlinker 2 -fobjc-arc -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=8.3 -framework Foundation -framework UIKit -framework CoreGraphics -Xlinker -dependency_info -Xlinker /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/JesusWalk_dependency_info.dat -o /Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Products/Debug-iphonesimulator/JesusWalk.app/JesusWalk

duplicate symbol _STTwitterOSErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterOS.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
duplicate symbol _STTwitterAppOnlyErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAppOnly.o
duplicate symbol _STTwitterOAuthErrorCode in:
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterAPI.o
/Users/michaelvillar/Library/Developer/Xcode/DerivedData/JesusWalk-evjafkmkrrhusqauysjaelfarvqn/Build/Intermediates/JesusWalk.build/Debug-iphonesimulator/JesusWalk.build/Objects-normal/i386/STTwitterOAuth.o
ld: 3 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

如果有人知道有关导入库的信息,请告诉我 :)

最佳答案

此拉取请求可能会解决问题:https://github.com/nst/STTwitter/pull/189

请检查 head 的最新版本。

关于ios - Xcode - 导入 STTwitter 导致 Apple Mach-O 链接器错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/29763910/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com