platform :ios, '12.0'
$iOSVersion = '12.0'
post_install do |installer|
# add these lines:
installer.pods_project.build_configurations.each do |config|
config.build_settings["EXCLUDED_ARCHS[sdk=*]"] = "armv7"
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
# add these lines:
target.build_configurations.each do |config|
if Gem::Version.new($iOSVersion) > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = $iOSVersion
end
end
end
end
The build done --> Splash screen --> crash (No log appears)
On Xcode getting error:
Logging Error: Failed to initialize logging system. Log messages may be missing. If this issue persists, try setting IDEPreferLogStreaming=YES in the active scheme actions environment variables.
I'm also facing the same issue with my SwiftUI app whenever I try to run the app on a real device, so it would be great if someone could suggest a solution.
iOS - simulator crush after flash screen on Mac M3 Max
Flutter 3.16.7 • channel stable Tools • Dart 3.2.4 • DevTools 2.28.5
New flutter project, Adding on pudspec.yaml:
Podfile adding:
The build done --> Splash screen --> crash (No log appears)
On Xcode getting error: