gpt4 book ai didi

ios - Apple Mach-O 链接器错误 - 体系结构 x86_64 : "_UISceneWillEnterForegroundNotification" and "___isPlatformVersionAtLeast" 的 undefined symbol

转载 作者:行者123 更新时间:2023-12-02 22:28:14 26 4
gpt4 key购买 nike

我正在使用https://github.com/tinycreative/react-native-intercom并在那里完成安装和 https://developers.intercom.com/installing-intercom/docs/ios-installation

这在一段时间内运行良好,然后突然开始。

enter image description here

  "_UISceneWillEnterForegroundNotification", referenced from:
+[ICMBridge load] in Intercom(ICMBridge.o)
"___isPlatformVersionAtLeast", referenced from:
-[IntercomSDK_IntercomConversationCollectionViewController insetsForAccessoryView] in Intercom(IntercomConversationCollectionViewController.o)
+[IntercomSDK_ITBUpload createUploadForMediaAsset:completion:] in Intercom(ITBUpload.o)
+[IntercomSDK_ITBUpload processImageDataForUpload:mediaAsset:info:imageUploadDataUTI:completion:] in Intercom(ITBUpload.o)
-[IntercomSDK_IIMInputAccessoryView createConstraints] in Intercom(IIMInputAccessoryView.o)
-[IntercomSDK_IIMInputButtonContainerView createConstraints] in Intercom(IIMInputButtonContainerView.o)
-[IntercomSDK_IIMMediaViewController updateCollectionViewContentInsets] in Intercom(IIMMediaViewController.o)
-[IntercomSDK_IIMMediaViewController layoutExpandButton] in Intercom(IIMMediaViewController.o)
...
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

最佳答案

2019年12月9日,Intercom发布sdk版本5.5.0,支持iOS 13。

https://github.com/intercom/intercom-ios/releases/tag/5.5.0

UISceneWillEnterForegroundNotificationisPlatformVersionAtLeast 位于 iOS SDK 13 中,因此需要 Xcode 11 beta。我认为您收到错误是因为您使用的是较早的 Xcode 版本,例如 Xcode 10.3 等。

理想情况下,Intercom 应该有条件地支持 iOS 13,这样代码就不会在 13.0 之前的 iOS sdk 版本上损坏

关于ios - Apple Mach-O 链接器错误 - 体系结构 x86_64 : "_UISceneWillEnterForegroundNotification" and "___isPlatformVersionAtLeast" 的 undefined symbol ,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/57917069/

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