FlutterFlow / flutterflow-issues

A community issue tracker for FlutterFlow.
117 stars 19 forks source link

XCode 16 - Allow non-modular includes in framework modules #3844

Open geret1 opened 3 days ago

geret1 commented 3 days ago

Can we access your project?

Current Behavior

Firebase is not working properly in XCode 16 by generating the following error on build

firebase_storage/firebase_storage.framework/Headers/FLTTaskStateChannelStreamHandler.h:13:9: error: include of non-modular header inside framework module 'firebase_storage.FLTTaskStateChannelStreamHandler'

Expected Behavior

Complete build process and run the app.

Steps to Reproduce

Run an app with Firebase and Xcode 16.

Reproducible from Blank

Bug Report Code (Required)

IT4kz/Ll8ZNIvulA187pbfowtDg7Q1g/TL07ttYbZxUjIuPtBJh/fuDsUxFpQtOldFNhHE6kpGICpuD4jtr9GscqIROsfL04wpFcUwzNRXq8Sq64ELuafHEkJJpWGhGZ1qaJ3xJ/AO5qLkYM12CQIOjIEzfcGZ+/Zwh9f6PHaOI=

Visual documentation

Screenshot 2024-09-18 at 09 21 12

Environment

- FlutterFlow version: 3.22.2
- Platform: MacOS Desktop
- Browser name and version: Desktop
- Operating system and version affected: macOS Sonoma 14.5

Additional Information

Related https://github.com/FlutterFlow/flutterflow-issues/issues/3834

komineyuki commented 2 days ago

I'm having the same problem. I did the following but the same error occurs.

Podfile

post_install do |installer|
  installer.pods_project.targets.each do |target|
    flutter_additional_ios_build_settings(target)
    target.build_configurations.each do |config|
      config.build_settings['CLANG_ALLOW_NON_MODULAR_INCLUDES_IN_FRAMEWORK_MODULES'] = 'YES'
    end
  end
end

By doing the above, the error no longer occurs for other packages such as Auth and Firestore, but for some reason only the storage error occurs.