-
Notifications
You must be signed in to change notification settings - Fork 26.8k
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
missing App.framework while trying to build - /ios/Flutter/App.framework" failed: No such file or directory (2) #57554
Comments
could somebody create a minimal project to reproduce the error? |
What does your Thin Binary script say? May be related to the migration to fix #50568 |
You are saying it was working a few days ago in the beta channel and now it isn't? Do you remember what version it was working in? |
yes it was working with the latest version beta which was relevant before
the stable 1.17.1 was released. if i remember well it was some 1.19 but i
don't remember for sure
…On Tue, May 19, 2020, 21:18 Jenn Magder ***@***.***> wrote:
I found that in the past there was a problem like that but it was solved
since I used until few days ago the beta channel and it was ok.
You are saying it was working a few days ago in the beta channel and now
it isn't? Do you remember what version it was working in?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#57554 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAMXGQAVFYIYLSPV2Y7UYO3RSLENTANCNFSM4NET7YOQ>
.
|
@danysz What does your Thin Binary script say? |
|
Hm that looks right... Can you attach the full output of |
I looked into it because I tried to understand the issue |
I don't see the Run Script Xcode build phase that actually calls back into Flutter to compile your dart code. Can you open Is it possible it was removed when you added "Copy GoogleService-Info.plist to correct location"? |
Amazing...you were right. Added the line and now is working. I think that it will be really nice to have a check about missing "stuff" from the process or to put it in a way it can't be deleted. |
Unfortunately those checks are in that script, and the script was deleted. 😄 We can't prevent you from opening your Xcode project and doing whatever you want in there since there are many legit reasons to edit your Xcode project (adding flavors, changing your signing details, adding watchOS or rich notifications support, etc). I doubt the rest 6 of who 👍 this issue accidentally manually deleted this build phase. Can you create new GitHub issues, completely fill out the template, and include a |
@marekkxyz Did you add those input files? That's not right, the script won't run unless your CocoaPod dependencies change... The |
I'm going to close this. Flutter is generating an Xcode project for you that has the scripts set up to compile and embed your dart code, and embed the Flutter framework. If you delete the script or change the dependency inputs, that script it won't run. There's no way to prevent you from doing this, at least without very large, fundamental changes to the Always use source control so you can easily revert manual changes you make to your app or at least bisect to see where it started breaking. If that doesn't work, you can always let Flutter regenerate the iOS project:
Then reapply any changes you need to make in order to ship your app. If, however, you didn't make any manual changes like deleting the script out from under Flutter, please file a GitHub issue and let us know, and completely fill out the template. Give us as many logs and reproduction steps as possible while you are reproducing it. When you apply random workarounds you find on Stack Overflow before you report the Flutter bug, it's really hard for us to track them down and fix to make the experience better for everyone. For the other 5 of you who 👍 this issue: if you didn't manually edit the Flutter build script phase in Xcode, please file a new GitHub issue so we can investigate. Include:
|
Just to add on to this, I recently experienced this as well and managed to fix it by opening Xcode, going to Runner > Build Phases and manually dragging-and-dropping Thin Binary to the last step of the build process. For some reason unknown, 1.17.x upgrade or something else may have reordered some of the build scripts.. Once I did that I was able to flutter clean and build successfully without this issue. Hope it helps. |
@joniaiuser Thanks for your reply! I had the same error after the last flutter update (Flutter Channel stable, 1.20.2), but Thin Binary was at the last step of the build process. I took the order from another project. And I have assembled an application. The correct order of Build scripts is attached in the screenshot. |
|
This thread has been automatically locked since there has not been any recent activity after it was closed. If you are still experiencing a similar issue, please open a new bug, including the output of |
I update to Flutter 1.17.1 stable channel and since than I am not able to build release version of the app.
The
App.framework
is not available anymore.I tried this also on the beta channel with version 1.18.0-11.1.pre
This is the command :
flutter build ios --release --flavor simplesugarbalance --target lib/main-ssb.dart
Result
log
Encountered error while building for device.
This is the result of
flutter doctor -v
I found that in the past there was a problem like that but it was solved since I used until few days ago the
beta
channel and it was ok.The text was updated successfully, but these errors were encountered: