firefox-ios: Focus: string export still broken in automation
CC isabelrios
I tested locally #19407, and it was working without issues. To my surprise, automation today was still broken.
I have no clue how or why, but my usual local clone works without issues, if I start with a fresh clone it’s broken.
git clone https://github.com/mozilla-mobile/firefox-ios --depth 1
cd firefox-ios
./checkout.sh
./focus-ios/focus-ios-tests/tools/export-strings.sh
tail focus-ios/export-strings.log
You should see a build error at the end of the log file.
I tried to diff the two folders but it’s completely useless (too many differences). I also tried to run bootstrap.sh
, but I still get an error.
What’s even weirder is that the error in automation is different from the local one.
Automation (15.0.1)
2024-04-02T12:50:46.2134730Z /Users/runner/work/focusios-l10n/focusios-l10n/code_repo/focus-ios/Widgets/Widgets.swift:8:8: error: no such module 'Widget'
2024-04-02T12:50:46.2135970Z import Widget
2024-04-02T12:50:46.2136290Z ^
Local (15.3)
firefox-ios/focus-ios/Blockzilla.xcodeproj: warning: DEFINES_MODULE was set, but no umbrella header could be found to generate the module map (in target 'RustMozillaAppServices' from project 'Blockzilla')
2024-04-02 15:26:15.262 xcodebuild[78420:3601348] Writing error result bundle to /var/folders/7k/613lfl692dq22n6q952h_syw0000gp/T/
┆Issue is synchronized with this Jira Task
About this issue
- Original URL
- State: closed
- Created 3 months ago
- Comments: 19 (15 by maintainers)
@isabelrios @flodolo
I still reproduce it too but yea, only from terminal. I will keeping looking into it. Hope to get a fix asap.
I went back to the commit for this PR https://github.com/mozilla-mobile/firefox-ios/pull/19407 and I can still reproduce the issue there. cc @dicarobinho as the author, there could be something cached somehow that made it working, could you please try from clean state and see if you can reproduce it? The changes in the PR are adding Glean, the error we see is related to Widget, maybe similar changes will work?