首页 > 解决方案 > 使用 React Native Flipper 时,多个命令生成 OpenSSL.xcframework

问题描述

我已经在我的 Xcode 工作区中添加了一个 OpenSSL 框架。环境(Xcode 12.5,React-native 0.65.1)

当我添加 Flipper 时,我收到以下错误,因为 Flipper-Folly 也在创建 Openssl 框架

Multiple commands produce '/Users/amit/Library/Developer/Xcode/DerivedData/build/Build/Products/Debug-iphonesimulator/MyMobileApp-Dev.app/Frameworks/OpenSSL.framework':

Target 'MyMobileApp' has copy command from '/Users/amit/Desktop/MQ/Src/ios/OpenSSL.xcframework/ios-arm64_i386_x86_64-simulator/OpenSSL.framework' to '/Users/amit/Library/Developer/Xcode/DerivedData/build/Build/Products/Debug-iphonesimulator/MyMobileApp-Dev.app/Frameworks/OpenSSL.framework'
That command depends on the command in Target 'MyMobileApp': script phase “[CP] Embed Pods Frameworks”

如果我删除脚蹼它工作正常。有没有办法从鳍状肢中删除 OpenSSL,因为我肯定想使用它的功能进行调试?

标签: iosreact-nativefbflipper

解决方案


推荐阅读