nutritionfactsorg/daily-dozen-ios

Xcode 15: build fails - Firebase `LIBRARY_SEARCH_PATHS` settings

marc-medley opened this issue · 1 comments

After the Xcode 15 update, the build fails do to Firebase LIBRARY_SEARCH_PATHS settings.

FirebaseBuildFails

Workaround via Cocoapods Podfile:

### :ADD: for Firebase issue
xcconfig_path = config.base_configuration_reference.real_path
xcconfig = File.read(xcconfig_path)
xcconfig_mod = xcconfig.gsub(/DT_TOOLCHAIN_DIR/, "TOOLCHAIN_DIR")
File.open(xcconfig_path, "w") { |file| file << xcconfig_mod }
###

Fix released.