Apple Mach-O 链接器错误 - 体系结构的未定义符号 x86_64:“_UISceneWillEnterForegroundNotification”和“___isPlatformVersionAtLeast”
Apple Mach-O Linker Error - Undefined symbols for architecture x86_64: "_UISceneWillEnterForegroundNotification" and "___isPlatformVersionAtLeast"
我正在使用https://github.com/tinycreative/react-native-intercom and went through the installation there and https://developers.intercom.com/installing-intercom/docs/ios-installation
这有一段时间很好用,突然就开始了。
"_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)
12-09-2019,Intercom发布sdk 5.5.0版本,支持iOS13.
https://github.com/intercom/intercom-ios/releases/tag/5.5.0
UISceneWillEnterForegroundNotification
和 isPlatformVersionAtLeast
在 iOS SDK 13 中,因此需要 Xcode 11 beta。我认为您收到错误是因为您使用的是较早的 Xcode 版本,例如 Xcode 10.3 等
理想情况下,Intercom 应该有条件地支持 iOS 13 个东西,这样代码就不会在 iOS 13.0
之前的 sdk 版本上损坏
我正在使用https://github.com/tinycreative/react-native-intercom and went through the installation there and https://developers.intercom.com/installing-intercom/docs/ios-installation
这有一段时间很好用,突然就开始了。
"_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)
12-09-2019,Intercom发布sdk 5.5.0版本,支持iOS13.
https://github.com/intercom/intercom-ios/releases/tag/5.5.0
UISceneWillEnterForegroundNotification
和 isPlatformVersionAtLeast
在 iOS SDK 13 中,因此需要 Xcode 11 beta。我认为您收到错误是因为您使用的是较早的 Xcode 版本,例如 Xcode 10.3 等
理想情况下,Intercom 应该有条件地支持 iOS 13 个东西,这样代码就不会在 iOS 13.0
之前的 sdk 版本上损坏