Commit ad63dba4a6bdb4e92523f36c2ae5431f76630da2
1 parent
1e868ad2
修复flutter inappwebview编译错误
Showing
2 changed files
with
2 additions
and
6 deletions
ios/Podfile
| ... | ... | @@ -45,6 +45,8 @@ post_install do |installer| |
| 45 | 45 | installer.pods_project.targets.each do |target| |
| 46 | 46 | flutter_additional_ios_build_settings(target) |
| 47 | 47 | target.build_configurations.each do |config| |
| 48 | + config.build_settings['SWIFT_VERSION'] = '5.0' # required by simple_permission | |
| 49 | + config.build_settings['ENABLE_BITCODE'] = 'NO' | |
| 48 | 50 | config.build_settings['GCC_PREPROCESSOR_DEFINITIONS'] ||= [ |
| 49 | 51 | '$(inherited)', |
| 50 | 52 | ... | ... |
ios/Runner.xcodeproj/project.pbxproj
| ... | ... | @@ -2457,8 +2457,6 @@ |
| 2457 | 2457 | "\"url_launcher_ios\"", |
| 2458 | 2458 | "-framework", |
| 2459 | 2459 | "\"video_player_avfoundation\"", |
| 2460 | - "-framework", | |
| 2461 | - "\"webview_flutter_wkwebview\"", | |
| 2462 | 2460 | ); |
| 2463 | 2461 | PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; |
| 2464 | 2462 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| ... | ... | @@ -2818,8 +2816,6 @@ |
| 2818 | 2816 | "\"url_launcher_ios\"", |
| 2819 | 2817 | "-framework", |
| 2820 | 2818 | "\"video_player_avfoundation\"", |
| 2821 | - "-framework", | |
| 2822 | - "\"webview_flutter_wkwebview\"", | |
| 2823 | 2819 | ); |
| 2824 | 2820 | PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; |
| 2825 | 2821 | PRODUCT_NAME = "$(TARGET_NAME)"; |
| ... | ... | @@ -3006,8 +3002,6 @@ |
| 3006 | 3002 | "\"url_launcher_ios\"", |
| 3007 | 3003 | "-framework", |
| 3008 | 3004 | "\"video_player_avfoundation\"", |
| 3009 | - "-framework", | |
| 3010 | - "\"webview_flutter_wkwebview\"", | |
| 3011 | 3005 | ); |
| 3012 | 3006 | PRODUCT_BUNDLE_IDENTIFIER = com.kouyuxingqiu.wowenglish; |
| 3013 | 3007 | PRODUCT_NAME = "$(TARGET_NAME)"; | ... | ... |