gpt4 book ai didi

ios - XCode-iOS : Can't resolve conflict between CocoaLibSpotify and Parse framework

转载 作者:塔克拉玛干 更新时间:2023-11-02 09:17:01 24 4
gpt4 key购买 nike

我有一个使用 Parse API 的 XCode 项目,但我现在正在尝试为 spotify 集成 cocoa touch 包装器。我遇到了一个非常令人沮丧的链接器错误,我实际上已经工作了两个小时而无济于事。任何帮助将非常感激!这是错误。谢谢!

Undefined symbols for architecture x86_64:
"_FBTokenInformationExpirationDateKey", referenced from:
-[PFFacebookTokenCachingStrategy cacheTokenInformation:] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy expirationDate] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setExpirationDate:] in Parse(PFFacebookTokenCachingStrategy.o)
"_FBTokenInformationTokenKey", referenced from:
-[PFFacebookTokenCachingStrategy accessToken] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setAccessToken:] in Parse(PFFacebookTokenCachingStrategy.o)
"_FBTokenInformationUserFBIDKey", referenced from:
-[PFFacebookTokenCachingStrategy facebookId] in Parse(PFFacebookTokenCachingStrategy.o)
-[PFFacebookTokenCachingStrategy setFacebookId:] in Parse(PFFacebookTokenCachingStrategy.o)
"_OBJC_CLASS_$_FBAppCall", referenced from:
objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBRequest", referenced from:
objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSession", referenced from:
objc-class-ref in Parse(PFFacebookAuthenticationProvider.o)
"_OBJC_CLASS_$_FBSessionTokenCachingStrategy", referenced from:
_OBJC_CLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)
"_OBJC_METACLASS_$_FBSessionTokenCachingStrategy", referenced from:
_OBJC_METACLASS_$_PFFacebookTokenCachingStrategy in Parse(PFFacebookTokenCachingStrategy.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

  1. Parse 正在链接到 Facebook SDK。
  2. 您正在使用的项目正在尝试构建 x86_64(模拟器)。
  3. 链接器正在尝试从使用 Facebook SDK 的 Parse 加载符号。

我在这里猜测,但你是否正在为 CocoaLibSpotify 执行 -all_load

参见:Using the Parse iOS SDK without including the Facebook SDK


在 dispatch 可怜的 Zack 执行获取任务后

  • 删除 -ObjC 和 -all_load
  • 添加 -force_load 以仅加载 CocoaLibSpotify。

关于ios - XCode-iOS : Can't resolve conflict between CocoaLibSpotify and Parse framework,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20928940/

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