gpt4 book ai didi

ios - iOS 中的 DropboxSDK 和 Dropbox 框架

转载 作者:行者123 更新时间:2023-11-29 10:52:36 25 4
gpt4 key购买 nike

我想在我的项目中使用 2 个不同的框架。这些框架是 DropboxSDK.framework 和 Dropbox.framework。但是 2-3 个文件在这两个框架中都很常见,它们不允许我运行应用程序并给出如下链接器错误。

duplicate symbol _kDBDropboxAPIVersion in:
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/DropboxSDK.framework/DropboxSDK
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/Dropbox.framework/Dropbox(DBConstants.o)
duplicate symbol _kDBDropboxAPIHost in:
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/DropboxSDK.framework/DropboxSDK
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/Dropbox.framework/Dropbox(DBConstants.o)
duplicate symbol _kDBDropboxAPIContentHost in:
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/DropboxSDK.framework/DropboxSDK
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/Dropbox.framework/Dropbox(DBConstants.o)
duplicate symbol _kDBDropboxWebHost in:
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/DropboxSDK.framework/DropboxSDK
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/Dropbox.framework/Dropbox(DBConstants.o)
duplicate symbol _kDBSDKVersion in:
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/DropboxSDK.framework/DropboxSDK
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/Dropbox.framework/Dropbox(DBConstants.o)
duplicate symbol _DBErrorDomain in:
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/DropboxSDK.framework/DropboxSDK
/Users/sanchit/Documents/Documents/Projects/VoicePrompt/VoicePrompt 2/Dropbox.framework/Dropbox(DBError.o)
ld: 6 duplicate symbols for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

出于不同的原因,我必须同时使用这两个框架。一个框架不足以完成所有事情。有什么办法可以实现我的目标。请指教。

提前致谢

最佳答案

我对以下文件有同样的问题

DBAccountInfo

DBConnectController

DBError

DBKeychain

DBSession+iOS

DBSession

我在这些类名后加上“Old”后缀我的问题就解决了

DBAccountInfoOld

DBConnectControllerOld

DBErrorOld

DBKeychainOld

DBSessionOld+iOS

DBSessionOld

关于ios - iOS 中的 DropboxSDK 和 Dropbox 框架,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/19830813/

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