0

//within Xcode// 'value' is unavailable: introduced in iOS 12.0

//in terminal// warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] static NSUInteger RCTDeviceTotalMemory()

the app running fine in android but cant able to run in iOS

i tried this approach mentioned below

https://github.com/facebook/react-native/issues/34106 Flutter error: xcodebuild: WARNING: Using the first of multiple matching destinations https://github.com/facebook/react-native/issues/36293

HangarRash
  • 7,314
  • 5
  • 5
  • 32
Vinver
  • 1
  • 1

1 Answers1

0

Add to your Podfile this:

installer.pods_project.targets.each do |target|
  target.build_configurations.each do |config|
    config.build_settings['SWIFT_VERSION'] = '5.0'
    config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.4'
  end
end
M.N.
  • 65
  • 8