Closed patrickdronk closed 5 years ago
Hi Patrick! Thanks for reporting the issue, I'll look into that š
Hi Patrick, I investigated this and your problem is, as you suggested, caused by using Swift plugin in your Objective-C project. There's a Flutter issue for this: https://github.com/flutter/flutter/issues/16049. But unfortunately it's still unresolved š
For now it can't be fixed on my side, however according to this SO answer you can change your ios/Podfile
to make it work:
target 'Runner' do
use_frameworks! # required by simple_permission
...
end
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['SWIFT_VERSION'] = '4.1' # required by simple_permission
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end
I've checked this and it worked for me.
Hi š
First of all thank you for the effort taken into this library! I have an use-case in wanted to try it out immediately, sadly I have errors in a clean flutter project, running on my iOS device. I think it has to do with the project setup it's using objective-c instead of swift.