-
Notifications
You must be signed in to change notification settings - Fork 198
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报 没有发现 #import <city_pickers/CityPickersPlugin.h> #36
Comments
这个文件应该是flutter 自动编译生出来的. 您是example无法跑起来? 还是装包报错? |
装包报错 |
该问题是否解决,同一个问题, flutter打包成framework,然后GeneratedPluginRegistrant.m报错'city_pickers/CityPickersPlugin.h' file not found. @Pbosss @hanxu317317 |
我在Runner项目里找到了city_pickers的OC文件 "CityPickersPlugin", 拷贝到我的项目中, 解决了'city_pickers/CityPickersPlugin.h' file not found. 希望可以帮到其他人. 如果有更好的办法, 请通知我 |
同样遇到了这个问题,一模一样,发生在flutter build ios --release xcode给的提示 |
这个问题. 我也正在找原因. 但是还没有发现是什么导致的. |
我再XCode运行调试的时候,也出现了这个提示。后来处理好了。应该是我flutter clean 项目之后,解决的。 |
@hanxu317317 这个项目看起来是纯dart的,为什么要加上android和ios两个文件夹?删掉就不会引起编译问题了 纯dart的项目应该用 --template=package创建而不是--template=plugin , 后者特指使用MethodChannel来调用平台原生代码的项目 |
@hanabi1224 受教~~ |
I was doing the same mistake, opening Runner.xcodeproj and not Runner.xcworkspace... 我在犯同样的错误,打开Runner.xcodeproj而不是Runner.xcworkspace ... |
I was doing the same mistake, opening Runner.xcodeproj and not Runner.xcworkspace... 我在犯同样的错误,打开Runner.xcodeproj而不是Runner.xcworkspace ... |
ios没有#import <city_pickers/CityPickersPlugin.h>这个文件 请问是怎么回事
The text was updated successfully, but these errors were encountered: