react-native 报错 duplicate symbol _aes_encrypt_key128

ld: warning: directory not found for option '-L/Users/lvyanliang/Library/Developer/Xcode/DerivedData/RBYCDriver-fylpmpfeskfjbjhaszlrplmkzwmz/Build/Products/Debug-iphonesimulator/React'
duplicate symbol _aes_encrypt_key128 in:
    /Users/用户名/Desktop/项目/RBYCDriver/ios/Pods/AMap3DMap/MAMapKit.framework/MAMapKit(MAMapKit-x86_64-master.o)
    /Users/用户名/Library/Developer/Xcode/DerivedData/RBYCDriver-fylpmpfeskfjbjhaszlrplmkzwmz/Build/Products/Debug-iphonesimulator/libRCTHotUpdate.a(aeskey.o)
duplicate symbol _aes_decrypt_key128 in:
    /Users/用户名/Desktop/项目/RBYCDriver/ios/Pods/AMap3DMap/MAMapKit.framework/MAMapKit(MAMapKit-x86_64-master.o)
    /Users/用户名/Library/Developer/Xcode/DerivedData/RBYCDriver-fylpmpfeskfjbjhaszlrplmkzwmz/Build/Products/Debug-iphonesimulator/libRCTHotUpdate.a(aeskey.o)
ld: 2 duplicate symbols for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

从报错信息中可以看出库AMap3DMaplibRCTHotUpdate某些方法冲突了

解决方案1

比较麻烦不推荐
转送门

解决方案2 (推荐)

找到重复的方法手动修改