我正在尝试集成STTwitter库以使用屏幕名称从 Twitter 获取用户推文。我已按照该链接中提到的说明进行操作。但是当我构建应用程序时,由于链接器问题和重复符号而失败,如下所述。
重复符号_STTwitterOSErrorCode
:
/Users/ramchadrareddy/Library/Developer/Xcode/DerivedData/TeitterTest-etwzglyyomuawtdbtjioroxrmyrr/Build/Intermediates/TeitterTest.build/Debug-iphonesimulator/TeitterTest.build/Objects-normal/x86_64/STTwitterOS.o
/Users/ramchadrareddy/Library/Developer/Xcode/DerivedData/TeitterTest-etwzglyyomuawtdbtjioroxrmyrr/Build/Intermediates/TeitterTest.build/Debug-iphonesimulator/TeitterTest.build/Objects-normal/x86_64/STTwitterAPI.o
重复符号_STTwitterOAuthErrorCode
:
/Users/ramchadrareddy/Library/Developer/Xcode/DerivedData/TeitterTest-etwzglyyomuawtdbtjioroxrmyrr/Build/Intermediates/TeitterTest.build/Debug-iphonesimulator/TeitterTest.build/Objects-normal/x86_64/STTwitterOAuth.o
/Users/ramchadrareddy/Library/Developer/Xcode/DerivedData/TeitterTest-etwzglyyomuawtdbtjioroxrmyrr/Build/Intermediates/TeitterTest.build/Debug-iphonesimulator/TeitterTest.build/Objects-normal/x86_64/STTwitterAPI.o
重复符号_STTwitterAppOnlyErrorCode
:
/Users/ramchadrareddy/Library/Developer/Xcode/DerivedData/TeitterTest-etwzglyyomuawtdbtjioroxrmyrr/Build/Intermediates/TeitterTest.build/Debug-iphonesimulator/TeitterTest.build/Objects-normal/x86_64/STTwitterAppOnly.o
/Users/ramchadrareddy/Library/Developer/Xcode/DerivedData/TeitterTest-etwzglyyomuawtdbtjioroxrmyrr/Build/Intermediates/TeitterTest.build/Debug-iphonesimulator/TeitterTest.build/Objects-normal/x86_64/STTwitterAPI.o
ld:架构 x86_64 的 3 个重复符号
铿锵声:错误:
链接器命令失败,退出代码为 1(使用 -v 查看调用)
有人可以给我这个解决方案。