-
Notifications
You must be signed in to change notification settings - Fork 90
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
[Bug]: Unable to install on iOS #1023
Comments
Hi, |
Hi, the same for me. I tried to update CocoaPods, update the Xcode command line tools. |
@blagoev Hi, I forgot to mention about it in the first comment, but I ran |
Hi @Shawn-sudo ,
If you have an existing app probably you can try to clear
It is important the Realm package to be added before to init the |
Hi @desistefanova I ran the app before adding CocoaPod's Output
|
What version of pod are you using (run |
Pod: 1.11.3 `flutter doctor -v`
|
@Shawn-sudo As I expected you are running Ventura. I cannot currently test with macOS 13.0.1 22A400 on darwin-arm, as MongoDB does not allow me to upgrade yet. Historically it has caused a lot of grief to update to a new macOS major versions, so they are playing it safe. So, I'm going blind here. Anyway, could you try: # Uninstall the local cocoapods gem
sudo gem uninstall cocoapods
# Reinstall cocoapods via Homebrew
brew install cocoapods |
@Shawn-sudo I setup a Mac Mini M1 with Ventura, and installing cocoapods via gem, and I have no issue. The reason I suggested trying to install cocoapods via brew was this Stackoverflow thread: https://stackoverflow.com/questions/64901180/how-to-run-cocoapods-on-apple-silicon-m1?page=1&tab=scoredesc#tab-top |
Hi @nielsenko, On my side I tried, and it doesn't work, and I'm able to build and run flutter app without the realm dependencies. It seems really linked to the transitive dependency "realm_dart". I just tried with the release candidate 0.8.0 and still have the issue : [!] Unable to install vendored xcframework |
@Pred05 Have you tried other plugin packages? Also, what is the output of |
@nielsenko Ok fixed 👍 With I just remove the old version and the symlink, linked the new one and now pod install works! Sorry for wasting your time... For your info all the other packages work (I am migrating an existing app from Thanks for help. |
Hi @Pred05, I'm still suffering :/ |
@Pred05 Nvm I fixed it.. |
Now that you both are up and running again (@Shawn-sudo + @Pred05) I will close this issue. |
When will support m1 simulator...? |
@felix0324324 We do support that. Could I ask you to open a separate issue, and give some more context? |
What happened?
I tried to run
pod install
on my Flutter project withrealm: ^0.7.0+rc
, but it failed with an error message:Removing
realm: ^0.7.0+rc
frompubspec.yaml
, I can start my project well as expected.Based on my observation, I'm guessing that it's a bug of this package, but I'm not sure.
Repro steps
realm: ^0.7.0+rc
topubspec.yaml
dependencies.pod install
in its process)Version
Flutter 3.3.8 • channel stable • https://github.com/flutter/flutter.git Framework • revision 52b3dc25f6 (2 days ago) • 2022-11-09 12:09:26 +0800 Engine • revision 857bd6b74c Tools • Dart 2.18.4 • DevTools 2.15.0
What Realm SDK flavor are you using?
Local Database only
What type of application is this?
Flutter Application
Client OS and version
iOS 16.0
Code snippets
pubspec.yaml
Stacktrace of the exception/crash you're getting
No response
Relevant log output
I'm using
arch -x86_64 pod install
instead ofpod install
cause I'm using M1 Macbook (CocoaPods/CocoaPods#10220). It would return the same result ofpod install
on x86_64 based (intel) Macs.The text was updated successfully, but these errors were encountered: