city_pickers
city_pickers copied to clipboard
ios报 没有发现 #import <city_pickers/CityPickersPlugin.h>
ios没有#import <city_pickers/CityPickersPlugin.h>这个文件 请问是怎么回事
这个文件应该是flutter 自动编译生出来的. 您是example无法跑起来? 还是装包报错?
@Pbosss
装包报错
该问题是否解决,同一个问题, 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 受教~~
解决办法:flutter/flutter#10654
I was doing the same mistake, opening Runner.xcodeproj and not Runner.xcworkspace... Everything works opening the correct file. Thanks a lot, you saved my week!
我在犯同样的错误,打开Runner.xcodeproj而不是Runner.xcworkspace ... 打开正确的文件,一切正常。 非常感谢,您保存了我的一周!
我在Runner项目里找到了city_pickers的OC文件 "CityPickersPlugin", 拷贝到我的项目中, 解决了'city_pickers/CityPickersPlugin.h' file not found. 希望可以帮到其他人. 如果有更好的办法, 请通知我
解决办法:flutter/flutter#10654
I was doing the same mistake, opening Runner.xcodeproj and not Runner.xcworkspace... Everything works opening the correct file. Thanks a lot, you saved my week!
我在犯同样的错误,打开Runner.xcodeproj而不是Runner.xcworkspace ... 打开正确的文件,一切正常。 非常感谢,您保存了我的一周