-
Notifications
You must be signed in to change notification settings - 10000 Fork 28.5k
iOS ld: symbol(s) not found for architecture arm64 build fails #87908
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
Comments
@Zelfapp
If so, what happens if you remove that entry and run again ? Can you also provide
|
If I remove the
In xCode and in my Podfile I have it set to 10.0. However, if I search in my project I can see that packages I'm including e.g. Logs & files requested from @darshankawarflutter run --verbose
ios/Flutter/Generated.xconfig
ios/Runner.xcodeproj/project.pbxproj
|
@Zelfapp
And seems to be pointing to firebase_core_web plugin. |
@darshankawar my app is not going to be on web, just iOS and Android. Something must be different in default configs on iOS as on Android it never connects to the web. I just ran However, when I run Now when I run flutter run --verbose
|
@Zelfapp |
@darshankawar Note: I reverted everything (thought maybe I missed something or followed wrong advice for this issue from SO posts out there). I then followed iOS install instructions (again) for all packages in my app, updated Podfile according to iOS install instructions, including Firebase install instructions and Crashlytics. However, attempting to build using Android Studio on the iOS 12 Pro Max simulator (see below AS output) the build failed. Attached zip file includes the newly built xCode files and results of latest
Results attempting to build in Android Studio:
Additional question: Do I need to click the build button in xCode when I've made updates in xCode or does |
@Zelfapp |
I tried recreating this scenario by adding From XCode logs, it seems to be failing here:
Keeping it open for further insights from the team. cc: @jmagman |
I get the same issue when using package google_ml_kit |
@darshankawar any more info on this? I'm completely stuck trying to get my app running on iOS because I can't get passed whatever this seemingly Crashlytics problem is. |
@Zelfapp I tried to reproduce this on the same version of Flutter with your Podfile and Xcode project.
It also contains the expected @CaoGiaHieu-dev Can you file a new issue and include your |
@Zelfapp There's been a lot of recent work in this area, though without knowing exactly what's wrong it's just a guess that it will help. #85059, #87244, etc are available on the beta channel, does it build if you switch channels? https://github.com/flutter/flutter/wiki/Flutter-build-release-channels#how-to-change-channels |
Steps to ReproduceTrying to run app (that compiles and works perfectly on android) on ios. @jmagman requested I create a new issue after switching to It still will not build on beta. Verbose logs and other info attached in large zips. Trying to run in devtools in Android Studio here's a summary of what is in the attached verbose log of what fails now on beta: error attempting to run in AS on ios simulator
Logs@jmagman as requested here are the Also, included all the items @darshankawar had requested at some point. flutter doctor -v
|
@jmagman @darshankawar what can I do to get this resolved? I opened this issue 24 days ago. I've sent all the files requested, have attempted beta channel. Nothing is working. Totally sucks I can't get this working on iOS. Again, works perfectly on Android, zero issues. Being stuck for 24 days is really driving me nuts here. Is there anything that can be done to find out why this dang app won't build on iOS??? Thanks. |
I'm not sure why I assumed this was related to an architecture missing, since as you pointed out in your description it's the same as firebase/firebase-ios-sdk#8137, and it's happening when building You are on firebase_core version 1.4.0:
Firebase SDK 8.3.0 was missing the fix in firebase/firebase-ios-sdk#8137 (comment).
So if you upgrade your firebase plugin constraints in your pubspec (which somehow none of us asked you for so I can't see it) then you should build again. Closing as a duplicate of firebase/firebase-ios-sdk#8137 |
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 |
My app runs perfectly and builds on Android no problems. However, trying to
flutter build ios --release
on iOS and I'm getting the following messages:Encountered error while building for device.
I have followed the iOS integration guides. Nothing mentions this issue anywhere that I can find, yet I see a lot of people on SO saying do this and do that, but nothing is getting me past this so far.
This issue seems similar but nothing suggested works or I'm doing something wrong.
Tried suggestions here regarding pod order for firebase items in Podfile.
Also, excluded arm64 on iOS simulator.
I have attempted to run the following as suggested on SO:
flutter clean && \ rm ios/Podfile ios/Podfile.lock pubspec.lock && \ rm -rf ios/Pods ios/Runner.xcworkspace && flutter build ios --release
I have also tried:
podfile
FF template
flutter doctor -v
$ flutter analyze
Analyzing wakie_up...
No issues found! (ran in 2.4s)
The text was updated successfully, but these errors were encountered: