体系结构 arm64 的未定义符号:“_FIRAuthStateDidChangeInternalNotificationAppKey”,引用自
Undefined symbols for architecture arm64: "_FIRAuthStateDidChangeInternalNotificationAppKey", referenced from
我正在尝试更新我们应用程序中的最新框架,但收到此错误
Undefined symbols for architecture arm64:
"_FIRAuthStateDidChangeInternalNotificationAppKey", referenced from:
-[FAuthStateListenerWrapper authStateDidChangeNotification:] in FirebaseDatabase(FAuthTokenProvider_6272866f5c75e14e01c4ca08384ffa05.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是我的 pod 文件的样子
platform :ios, “9.0”
source 'https://github.com/CocoaPods/Specs.git'
target "foo" do
pod 'FBSDKShareKit'
pod 'AFNetworking'
pod 'Ono'
pod 'AFOnoResponseSerializer'
pod 'SVProgressHUD'
pod 'CTFeedback'
pod 'SIAlertView'
pod 'GPUImage'#, '~> 0.1.4'
pod 'UICKeyChainStore'
pod 'ASValueTrackingSlider'
pod 'Google-Mobile-Ads-SDK'#, '~> 7.47.0'
pod 'Google/Analytics'
pod 'SSZipArchive'
pod 'GoogleSignIn'
pod 'Fabric'
pod 'Crashlytics'
pod 'Firebase'#, '~> 4.8.2'
pod 'Firebase/Auth’
pod 'Firebase/Messaging'
pod 'Firebase/Invites'
pod 'Firebase/Storage'
end
我刚刚 运行 pod update
并且错误开始出现。
在其他链接器标志中添加了 -ObjC,-licucore,alao 禁用了位码。
这里没有足够的信息来完全说明发生了什么,但这里有两个危险信号:
- 缺少的符号来自
FirebaseDatabase
,但 FirebaseDatabase
未在 Podfile 中列出。
Firebase/Invites
在 Podfile 中,但 Invites
不再是 Firebase 的一部分,将强制安装 Firebase 5 而不是当前的 Firebase 6。
您可以通过检查 Podfile.lock
.
了解更多关于为什么选择某些依赖项的信息
我正在尝试更新我们应用程序中的最新框架,但收到此错误
Undefined symbols for architecture arm64:
"_FIRAuthStateDidChangeInternalNotificationAppKey", referenced from:
-[FAuthStateListenerWrapper authStateDidChangeNotification:] in FirebaseDatabase(FAuthTokenProvider_6272866f5c75e14e01c4ca08384ffa05.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
这是我的 pod 文件的样子
platform :ios, “9.0”
source 'https://github.com/CocoaPods/Specs.git'
target "foo" do
pod 'FBSDKShareKit'
pod 'AFNetworking'
pod 'Ono'
pod 'AFOnoResponseSerializer'
pod 'SVProgressHUD'
pod 'CTFeedback'
pod 'SIAlertView'
pod 'GPUImage'#, '~> 0.1.4'
pod 'UICKeyChainStore'
pod 'ASValueTrackingSlider'
pod 'Google-Mobile-Ads-SDK'#, '~> 7.47.0'
pod 'Google/Analytics'
pod 'SSZipArchive'
pod 'GoogleSignIn'
pod 'Fabric'
pod 'Crashlytics'
pod 'Firebase'#, '~> 4.8.2'
pod 'Firebase/Auth’
pod 'Firebase/Messaging'
pod 'Firebase/Invites'
pod 'Firebase/Storage'
end
我刚刚 运行 pod update
并且错误开始出现。
在其他链接器标志中添加了 -ObjC,-licucore,alao 禁用了位码。
这里没有足够的信息来完全说明发生了什么,但这里有两个危险信号:
- 缺少的符号来自
FirebaseDatabase
,但FirebaseDatabase
未在 Podfile 中列出。 Firebase/Invites
在 Podfile 中,但Invites
不再是 Firebase 的一部分,将强制安装 Firebase 5 而不是当前的 Firebase 6。
您可以通过检查 Podfile.lock
.