-
Notifications
You must be signed in to change notification settings - Fork 32
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
IOS:fatal error: 'native_ads/native_ads-Swift.h' #14
Comments
Hmm I'll check it. 👀 |
@sunjianan9900 |
Hi I've tried and it's not working... |
Please try it this https://stackoverflow.com/questions/55399209/update-flutter-dependencies-in-pub-cache And |
Still no lucky,
getting the same error:
|
Thank you trying. I found similar error. Please try this. |
I'm having the same problem. Is anyone found a solution? |
The second line in this file imports a non existing file. Please fix it. |
Have you tried this? |
Yes, I tried it but it didn't help. My guess, it has something to do with the fact that it uses Swift, so some configuration needs to be done. Hope to find a solution. |
Hmm, I think Xcode problem. Please try remove DerivedData. https://stackoverflow.com/questions/38016143/how-can-i-delete-derived-data-in-xcode-8 And remove Flutter packages cache. |
@sakebook Maybe something to do with linking in the project.pbxproj file? |
After some research I found a solution. Here's what you need to do based on this answer:
Hope you find it useful. |
Thank you research! I will try it. |
I have problems with .h file missing after upgrade xcode 11 because it not support plugin write in Swift. This solve my problems
|
/Documents/programs/SDK/flutter/.pub-cache/hosted/pub.flutter-io.cn/native_ads-0.0.3/ios/Classes/NativeAdsPlugin.m:2:9: fatal error: 'native_ads/native_ads-Swift.h' file not found
#import <native_ads/native_ads-Swift.h>
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 error generated.
The text was updated successfully, but these errors were encountered: