Open kekko7072 opened 9 months ago
I changed my ios/Podfile file for a temporary fix.
post_install do |installer|
installer.pods_project.targets.each do |target|
flutter_additional_ios_build_settings(target)
target.build_configurations.each do |config|
# START - Temporary Fix
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
# END - Temporary Fix
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
end
end
end
Then do this to make changes:
Does anyone will check this?
This lib is being a quite headache in the last 2 months at least having a lot issues with compatibilities.
I changed my ios/Podfile file for a temporary fix.
post_install do |installer| installer.pods_project.targets.each do |target| flutter_additional_ios_build_settings(target) target.build_configurations.each do |config| # START - Temporary Fix config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0' # END - Temporary Fix xcconfig_path = config.base_configuration_reference.real_path xcconfig = File.read(xcconfig_path) xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR") File.open(xcconfig_path, "w") { |file| file << xcconfig_mod } end end end
Then do this to make changes:
- Run flutter clean
- Delete Podfile.lock
@kekko7072 in fact there's already a PR open for this: https://github.com/natintosh/plugin_libphonenumber/pull/28
I use this flutter plugin and i'm getting this error with iOS 17 and Xcode 15 - RC.