Comments (3)
@smokinguns , I have just made some tests with a brand new project. I had to make the two changes documented here flutter/flutter#16049 to my Podfile
(listed in the ios
folder). After doing so my project compiled correctly.
For you convenience here are the changes:
- In your
Podfile
make sure you add the lineuse_frameworks!
(best is to add this line directly below thetarget Runner do
like so:
target 'Runner' do
use_frameworks!
- Also in your
Podfile
make sure you add the lineconfig.build_settings['SWIFT_VERSION'] = '4.2'
to thepost_installer
block. After adding this line thepost_installer
block should look like this:
post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
config.build_settings['SWIFT_VERSION'] = '4.2'
end
end
end
Our hope was that this would no longer be necessary, however unfortunately it still is :(. Please let us know if you experience any further issues.
from flutter-permission-handler.
appreciate it, unfortunately this was my first attempt at flutter.
this line did fix it -> config.build_settings['SWIFT_VERSION'] = '4.2'
Thanks for your help
from flutter-permission-handler.
@smokinguns, great to hear this helped. Thank you for the feedback (and not to worry, we are all relatively new with Flutter) ;).
from flutter-permission-handler.
Related Issues (20)
- [Feature request]: Implement full screen intent android permission request HOT 9
- [Bug]: Requesting permission for appTrackingTransparency returns before user selection HOT 2
- [Question]: how can I request only a single permission ACCESS_COARSE_LOCATION (Android) HOT 2
- How to check limited access in Android & IOS. HOT 1
- SMS Permission on iOS: it's unclear if it's necessary to edit Info.plist and eventually how HOT 2
- [Regression]: PlatformException(PermissionHandler.PermissionManager, A requestfor permissions is already runningplease wait for it to finish beforedoing another request (note thatyou can request multiplepermissions at the same time)..null, null) HOT 4
- Not showing permission prompt for microphone and video on web? HOT 2
- [Question]: Upgrading from version 8.1.16 to 11.0.1 HOT 4
- [Regression]: Permission.notification.request() not showing dialog modal Android & iOS HOT 3
- What does it mean to use the photos permission instead of the photos permission? HOT 1
- [Bug]: No such file or directory: 'permission_handler_apple' HOT 2
- [Bug]: com.baseflow.permissionhandler.PermissionManager.onActivityResult java.lang.SecurityException HOT 2
- Execution failed for task ':permission_handler_android:extractDebugAnnotations'. HOT 2
- [Regression]: permissions_handler_html: Failed to execute 'query' on 'Permissions': Failed to read the 'name' property from 'PermissionDescriptor': Required member is undefined. HOT 15
- [Feature request]: [Android] Make it possible to tell if location permission is FINE or COARSE HOT 1
- [Bug]: request() does not return a status on android with targetSdkVersion 34 and flutter 3.24.0 HOT 1
- [Bug]: Null pointer exception on Android when android kills and restarts the activity HOT 3
- [Bug]: permission_handler_html uses `PermissionDescriptor`, which was recently removed from `package:web` HOT 15
- [Feature request]: Flutter V3.24 - Android Compile SDK Version 34 Not Supported HOT 1
- [Feature request]: API LEVEL 34
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from flutter-permission-handler.