-
Notifications
You must be signed in to change notification settings - Fork 10
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
After adding, can't run app on iOS Simulator M1 #10
Comments
I'm not an expert of pods and all of this, but go to the ios folder and run |
Hi! First: thanks for the plugin! I am also having that same error (but on an Intel Mac). In my case, it started happening after I upgraded the Flutter SDK (to 2.2.0) along with some dependencies, one of them being Firebase, which started to require an iOS deployment target of 10 or higher (as seen here: https://firebase.flutter.dev/docs/installation/ios#ios-supported-versions). I've tried to remove and reinstall all pods, to no avail. I even created a new project with just the same pubspec and had the same results. I think the main problem here is that the reference to Google UMP SDK we are using needs to be updated (latest version as of writing is 2.0.0, and I believe this plugin is currently using 1.0.0 for android and 1.3.0 for iOS). I also think we should bump the iOS "platform" version on the podspec to 10.0, here:
Admob currently requires 10.0 or later (https://developers.google.com/admob/ios/quick-start), so now that we have ads and analytics on 10.0, I think we can stop using 9.0. UMP SDK versions and release notes: BTW 1: Version 1.4.0 states: "Included an arm64 slice for simulators to support testing on Apple Silicon devices.", I think this is the fix for his problem. BTW 2: I could try to fork and try a PR, but I have just a sliver of an idea on how these plugins work, so it would probably take more time than actually needed. |
Hello again. So, I ended up forking it and updated accordingly, which apparently resolved my problem. I am now using it in two of my apps, so far without issues. Would you like me to make a pull request? |
@Andre-lbc Great ! It would be very nice of you if you could submit a pull request 😉 |
Sorry for the delay. I've just submitted it: #13 😬 |
Forgot to link it with #13, but I think we can close it now. |
Hi, after adding this package, I can't run my app on my iOS simulator on an M1 Mac, getting this error:
The text was updated successfully, but these errors were encountered: