From 8672d8fdab64df663a62951ca286b5b648d356d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=88=E4=B8=80?= <1255968521@qq.com> Date: Wed, 26 Aug 2020 17:57:08 +0800 Subject: [PATCH] hotfix: ios archive error vs Xcode10+ --- ios/Podfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/ios/Podfile b/ios/Podfile index 4454016..1cda3d6 100644 --- a/ios/Podfile +++ b/ios/Podfile @@ -34,6 +34,19 @@ target 'taroDemo' do pod 'react-native-webview', :path => '../node_modules/react-native-webview' + # fix archive error vs Xcode10+ + post_install do |installer| + installer.pods_project.targets.each do |target| + if target.name == "React" + target.remove_from_project + end + + if target.name == "yoga" + target.remove_from_project + end + end + end + target 'taroDemoTests' do inherit! :search_paths end