A wrong

ReactNative reports ‘event2/event-config.h’ file not found

TestApp.xcworkspace file not found ‘event2/event-config.h’ file not found

This is due to the Flipper-Folly version. Make the following changes to the Podfile file under iOS files

use_flipper! Modified to use_flipper! ({' flip-folly '= BB0 '2.3.0'})

After the change is done, save the Podfile.lock file, and then re-pod install installed. After that, go back to the upper directory and execute yarn iOS (or react-native run-ios) and you can start the solution. https://github.com/facebook/r…

Error 2

[!] Unable to find a specification for `Bugly (= 2.5.9)` You have either: * out-of-date source repos which you can update with `pod repo update` or with `pod install --repo-update`. * mistyped the name or version. * not added the source repo that hosts the Podspec to your Podfile.

Add to your Podfile

source 'https://github.com/CocoaPods/Specs.git'

Error of three

Referenced from Xcode12 POD “_OBJC_CLASS_$_UMSLEnvelopeBuild”, Referenced from

Error message

Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_UMSLEnvelopeBuild", referenced from:
      objc-class-ref in UMShare(UMCommonStatisticsManager.o)
ld: symbol(s) not found for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

If the company wants to do a third party sharing login, the first thing to do is to think of the friend union, so follow the official method of friend union, write in the Podfile

UI pod 'UMCShare/Social/WeChat' # WeChat

The result is an error. The error message is below. All sorts of searches were fruitless. When I went back to the documentation, I suddenly found that the Umeng library was updated to version 7.2.2 in 2020.10.14. UMSLEnvelopebuild is something in the base library. With a view to try, I reduce the base library by one version to solve the envelopebuild. Record it here and share it with you. Guess you didn’t use Xcode12 for POD testing? 🤔

How do I reduce the base library of Friends by one version? I am using version 7.1.3. Just specify the base library of Friends in Podfile as 7.1.3

Pod 'UMCCommon', '~> 7.1.3' # pod 'UMCShare/UI', '~> 6.9.10' # pod 'UMCShare/Social/WeChat' # WeChat