AliHoseinpoor / open_settings

flutter plugin
MIT License
19 stars 23 forks source link

Error while building for IOS device 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString' #8

Open abedelrahmanOpenTech opened 2 years ago

abedelrahmanOpenTech commented 2 years ago

I'm trying to build the iOS version but I'm getting the following error:

Swift Compiler Error (Xcode): 'openSettingsURLString' has been renamed to 'UIApplicationOpenSettingsURLString'
/Users/sysmin/.pub-cache/hosted/[pub.dartlang.org/open_settings-2.0.2/ios/Classes/SwiftOpenSettingsPlugin.swift:13:51](http://pub.dartlang.org/open_settings-2.0.2/ios/Classes/SwiftOpenSettingsPlugin.swift:13:51)
Uncategorized (Xcode): Command CompileSwiftSources failed with a nonzero exit code
Encountered error while building for device.
daniloapr commented 1 year ago

Have tried to run arch -x86_64 pod install --repo-update in the ios folder?

anchaoLu commented 1 year ago

openMainSetting same with openAppSetting?