-
-
Notifications
You must be signed in to change notification settings - Fork 77
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Often breaks when added to an existing project with /Flutter.h file not found #192
Comments
Hi Guy, i fixed here: #197 |
Thanks @haphu4247 , that looks much better to whatever I ended up doing, I will come back here next time this happens :) |
After upgrading to Xcode 15 and implementing the fixes here: I am now stuck with:
Very frustrating, I am spending more time on rubbish like this every time something updates, than I am building features :( |
This does not work:
Nor all the steps here: |
I believe 99% of the time these problems come from Xcode/Cocoapods/Libraries and have nothing to do with flutter_flavorizr as I face them every day as a mobile engineer, even though I'm not using flutter_flavorizr as a third-party dependency. There's 50% chance you're using an old version of Cocoapods which was causing troubles with the latest version of XCode, or maybe you have third-party dependencies no longer updated with an old iOS SDK, or you messed around with pods/locks files. Can you share the Cocoapods version and a list of third-party dependencies you're using in your pubspec.yaml, please? |
Yes you are absolutely right, sorry I didn't mean to blame this package I just wrote here at the time because it was where I last wrote about it, but I have added an SO question too. I upgraded Cocoapods to 1.13.0 but it hasn't helped. Right now I am working through my (large) list of packages and upgrading them too. Here's my list, I've removed versions on those that I am currently upgrading: logger: Thanks for any help, very much appreciated - I seem to hit this a couple of times a year and it always takes hours to resolve and is always a different solution needed each time! :/ |
Strangely just step 2 from this link seemed to solve it in the end, sorry for adding noise here but maybe it becomes useful to someone |
Hi,
I like this package and am using it more frequently, but have noticed that every time I add it to an existing project, I get this iOS breakage when archiving:
I can run the app from Xcode, but not Archive, and I cannot run from Flutter (VSCode)
The only solutions appear to be to delete the ios folder and regenerate it.
See for example:
https://stackoverflow.com/questions/71094048/error-xcode-flutter-flutter-h-file-not-found
https://www.zuli.life/it-en/3975.html
However, often my projects have complicated Xcode configurations, including multiple extensions and custom config, and regenerating like that is actually very painful.
Given that this error looks like it will be solved with a trivial config change somewhere (eg, a path is broken?), I am wondering if a kind soul stumbling upon this might know the answer?
The text was updated successfully, but these errors were encountered: