Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

1.0.1 & 2.0.0 version #22

Closed
1 of 2 tasks
penjual opened this issue Sep 4, 2018 · 3 comments
Closed
1 of 2 tasks

1.0.1 & 2.0.0 version #22

penjual opened this issue Sep 4, 2018 · 3 comments

Comments

@penjual
Copy link

penjual commented Sep 4, 2018

馃悰 Bug Report

=== BUILD TARGET url_launcher OF PROJECT Pods WITH CONFIGURATION Debug ===
/Users/xxx/.pub-cache/hosted/pub.dartlang.org/permission_handler-2.0.0/ios/Classes/PermissionHandlerPlugin.m:2:9: fatal error: 'permission_handler/permission_handler-Swift.h' file not found
#import <permission_handler/permission_handler-Swift.h>

Expected behavior

Reproduction steps

Configuration

Cocoapods 1.5.3

Podfile
...
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.1'
end
end
end
...

Version: 1.0.1 & 2.0.0

Platform:

  • 馃摫 iOS
  • 馃 Android
@penjual
Copy link
Author

penjual commented Sep 4, 2018

Solved:

  • Build new project with 馃憤 -i swift

@penjual penjual closed this as completed Sep 4, 2018
@nk54
Copy link

nk54 commented Apr 13, 2019

Hello @penjual I face the same problem, where did you put -i swift please ?

@nk54
Copy link

nk54 commented Apr 13, 2019

Nevermind, adding use_frameworks! made it. See below :
target 'Runner' do
use_frameworks! # flutter_swift_compile

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants