Building for iOS Gives Error #878
Replies: 33 comments 1 reply
-
It looks like there is something wrong in your caching. I would do |
Beta Was this translation helpful? Give feedback.
-
Still getting this error @remonh87
|
Beta Was this translation helpful? Give feedback.
-
can you try with latest version? |
Beta Was this translation helpful? Give feedback.
-
Do this steps and try again.
After adding new dependancies or flutter updates, |
Beta Was this translation helpful? Give feedback.
-
Nice if this works for the @ADLsourceCode I will update the troubleshoot section with this. 👍 |
Beta Was this translation helpful? Give feedback.
-
Did this work? I'm having a very similar issue where I'm missing StripFile.o. I've followed all of the above and it's not working for me. I'm missing all the Stripe.o files and it's preventing me from building. |
Beta Was this translation helpful? Give feedback.
-
I am also facing the same issue on my M1 machine. |
Beta Was this translation helpful? Give feedback.
-
@DominicOrga |
Beta Was this translation helpful? Give feedback.
-
Hi @Alfaizkhan, thanks but unfortunately, same as @angus-gow that solution doesn't work for me and I'm still receiving the following issue:
What I've also tried:
|
Beta Was this translation helpful? Give feedback.
-
@DominicOrga can you go to the ios directory of your app and run |
Beta Was this translation helpful? Give feedback.
-
I have done the same as @DominicOrga but went further in removing the entire .pub_cache running a "flutter pub cache clean" after doing a thorough clean using my own cleaning script: #!/bin/zsh flutter clean I wiped the project locally and did a clean checkout from git. This should take everything back to the beginning, I then put it back together, run it and get the same error. I'm of the opinion that there is something wrong with the config in Xcode so am now taking the nuclear option of uninstalling everything and creating a fresh install with new Xcode. The other developers in the team are not having this issue, so it's local to my setup for sure. |
Beta Was this translation helpful? Give feedback.
-
Hi @remonh87, unfortunately, Having said that, doing |
Beta Was this translation helpful? Give feedback.
-
Can you run |
Beta Was this translation helpful? Give feedback.
-
Thank you @remonh87 sys320new:example rem.ngr$ flutter doctor • No issues found! |
Beta Was this translation helpful? Give feedback.
-
@ms-biztech can you give me the verbose output? I would like to see your cocoapods version and compare it with me |
Beta Was this translation helpful? Give feedback.
-
@remonh87 I think my Xcode version is to old 13.1 |
Beta Was this translation helpful? Give feedback.
-
There's definitely something weird going on with the When cleaning, re-installing pods and running/building the app, two possible errors may occur, either:
or
When you try navigating to the In addition, I tried opening the |
Beta Was this translation helpful? Give feedback.
-
@remonh87 What is next?? |
Beta Was this translation helpful? Give feedback.
-
I would recommend to try to build your app from xcode itself insteald of the flutter tooling. Sometimes this helps. Else I would recommend creating an example repository for us so we can try to reproduce this issue. Since both my professional projects and the example app compile without issues. |
Beta Was this translation helpful? Give feedback.
-
Just tried creating a new app with The app works fine when the Steps to re-create on my Mac M1:
|
Beta Was this translation helpful? Give feedback.
-
Other things I've tried that doesn't work:
|
Beta Was this translation helpful? Give feedback.
-
Thank you! @remonh87 I'm not getting this issue in Xcode 13.4.1 with the latest stripe_flutter 4.0.0 plugin in my another mac system. Working fine, May be this issue is happening in the the old Xcode version. Thanks again @remonh87 |
Beta Was this translation helpful? Give feedback.
-
@ms-biztech is your other mac system intel or m1? |
Beta Was this translation helpful? Give feedback.
-
@DominicOrga My mac system is m1. |
Beta Was this translation helpful? Give feedback.
-
@DominicOrga I also have an m1 lets convert this to a discussion now so we can help you and provide support. IT is something in your config that is wrong but doesn't seem to be in the library. |
Beta Was this translation helpful? Give feedback.
-
@remonh87 I agree this seems to be an issue on my machine. We tried running it on another m1 machine and it successfully builds. I tried clearing XCode's cache, reinstalling XCode, and building the app directly from XCode but to no avail. Here is a sample Flutter project that I use for testing: To run the app, you can call |
Beta Was this translation helpful? Give feedback.
-
For more context, here's a screenshot of all the errors displayed in XCode. |
Beta Was this translation helpful? Give feedback.
-
After struggling with this exact same issue for more time than I care to admit, I found out the cause of the issue on my local machine. We're using an endpoint protection tool across our device fleet and it turns out the We were able to resolve this by adding a real-time detection exclusion rule for this specific file in the configuration of the endpoint security tool. If you're running a similar setup, try checking the logs of your tool or disabling it altogether to see if you have the same issue. Thank you @DominicOrga for nudging us in the right direction with your missing file analysis. @remonh87 – any idea why this newer version might be triggering malware protection? |
Beta Was this translation helpful? Give feedback.
-
Facing the Same Issue . Any Conclusion to this Conversation ? Flutter - 3.3.0 |
Beta Was this translation helpful? Give feedback.
-
same issue here ! |
Beta Was this translation helpful? Give feedback.
-
platform :ios, '13.0'
Flutter Doctor
Below is the error:-
Beta Was this translation helpful? Give feedback.
All reactions