All of sudden today I start getting this error when do the ios build from xcode or run this command yarn ios
The following build commands failed: SwiftEmitModule normal x86_64 Emitting\ module\ for\ Stripe (in target 'Stripe' from project 'Pods') (1 failure)
This is my podfile
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
platform :ios, '16.0'
target 'BorroUp' do
rn_path = '../node_modules/react-native'
rn_maps_path = '../node_modules/react-native-maps'
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
target 'BorroUpTests' do
inherit! :complete
# Pods for testing
end
pod 'react-native-google-maps', path: rn_maps_path
pod 'Google-Maps-iOS-Utils'
pod 'GoogleMaps'
pod 'Stripe', '21.3.1'
use_flipper!({ 'Flipper-Folly' => '2.5.3', 'Flipper' => '0.87.0', 'Flipper-RSocket' => '1.3.1' })
post_install do |installer|
installer.pods_project.targets.each do |target|
if target.name == 'react-native-google-maps'
target.build_configurations.each do |config|
config.build_settings['CLANG_ENABLE_MODULES'] = 'No'
end
end
end
flipper_post_install(installer)
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
end
end