Replies: 2 comments
-
If gym doesn't support a direct configuration for a different entry point file, you might need to change the file name temporarily for the build process. For example: Rename lib/production_main.dart to lib/main.dart. This is a workaround and might not be the most efficient solution, but it can help if the tool doesn't have an explicit option to specify the entry point file. |
Beta Was this translation helpful? Give feedback.
-
You can create [flavor].xcconfig to override Flutter_target
And then set it in Xcode |
Beta Was this translation helpful? Give feedback.
-
How can I tell to
gym
to not look atlib/main.dart
butlib/production_main.dart
?This is how I have it right now:
And I constantly get =>
❌ error: lib/main.dart: Error: Error when reading 'lib/main.dart': No such file or directory
What I'm doing wrong? Can't wrap my head around this for quite some time.
Beta Was this translation helpful? Give feedback.
All reactions