-
Notifications
You must be signed in to change notification settings - Fork 33
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
Unable to flutter run -d all
#4
Comments
I was able to make some more progress with this today, by:
However, here is the main error I'm seeing now: Failed to build iOS app
Error output from Xcode build:
↳
** BUILD FAILED **
Xcode's output:
↳
/Users/ilya/Programs/flutter/.pub-cache/hosted/pub.dartlang.org/advertising_id-0.9.
1/ios/Classes/AdvertisingIdPlugin.m:2:9: fatal error:
'advertising_id/advertising_id-Swift.h' file not found
#import <advertising_id/advertising_id-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated. I suspect that the problem is with this line:
I looked all over this project for I've also noticed a few other of things…
…which unfortunately begs the question: did you have a chance to test this plugin on iOS? And if so, how did you set it up on your end? |
I have the same problem, could you solve it? @ilyakam |
No, I gave up on Flutter because I found the ecosystem lacking (e.g., this thread) and switched to React Native instead, where I was able to make ample progress. |
Were you able to fix the issue, @operando? |
Today is my first day with Flutter. I got the "Hello World" app to work on both the virtual iPhone Xs and Pixel 3 after running a basic
flutter create advertising_id_demo
.I then followed the installation instructions for this package. After adding
advertising_id: ^0.9.1
as a dependency to the project'spubspec.yaml
file and runningflutter pub get
, the "Hello World" app fails to build with the following error / stack trace:I've created a demo repo that you can clone to help with debugging:
https://github.com/ilyakam/advertising_id_demo
Here's some info about my setup:
Could you please help? It's possible that I'm doing something wrong, I just don't know what.
The text was updated successfully, but these errors were encountered: