admin管理员组文章数量:1287790
I am trying to run my app in a macbook with M4 processor and I get this error.
Swift Compiler Error (Xcode): 'Flutter/Flutter.h' file not found
/Users/danieleyny/.pub-cache/hosted/pub.dev/smart_auth-2.0.0/ios/Classes/SmartAuthPlugin.h:0:8
Swift Compiler Error (Xcode): Could not build Objective-C module 'smart_auth'
Encountered error while archiving for device. I tried removing the ios folder, pasting the old Runner folder, re-inserting the googleinfo.plist
file, but nothing worked. This project works fine in my Windows machine.
I am trying to run my app in a macbook with M4 processor and I get this error.
Swift Compiler Error (Xcode): 'Flutter/Flutter.h' file not found
/Users/danieleyny/.pub-cache/hosted/pub.dev/smart_auth-2.0.0/ios/Classes/SmartAuthPlugin.h:0:8
Swift Compiler Error (Xcode): Could not build Objective-C module 'smart_auth'
Encountered error while archiving for device. I tried removing the ios folder, pasting the old Runner folder, re-inserting the googleinfo.plist
file, but nothing worked. This project works fine in my Windows machine.
1 Answer
Reset to default 0This doesn't work because this package smart_auth
is simply not iOS compatible.
Only the Android platform is indicated on the doc: https://pub.dev/packages/smart_auth
本文标签: iosSwift Compiler Error (Xcode) quotFlutterflutterhquot file not foundStack Overflow
版权声明:本文标题:ios - Swift Compiler Error (Xcode): "Flutterflutter.h" file not found - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741322845a2372306.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论