Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/firebase/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Firebase 我能';t使用google登录包在Flitter中构建ios_Firebase_Flutter_Google Signin - Fatal编程技术网

Firebase 我能';t使用google登录包在Flitter中构建ios

Firebase 我能';t使用google登录包在Flitter中构建ios,firebase,flutter,google-signin,Firebase,Flutter,Google Signin,我无法在flutter中使用google登录包构建ios。 我该怎么办? 致意 将其更改为google\u-sign\u-in:4.0.6而不使用“^”,然后运行flutter-clean并重新构建我遇到了相同的错误,并在github上打开了一个问题:您使用的插件版本是什么?我正在使用4.0.14中的google\u-sign\u Launching lib/main.dart on iPhone X in debug mode... Running pod install... Runnin

我无法在flutter中使用google登录包构建ios。 我该怎么办? 致意


将其更改为
google\u-sign\u-in:4.0.6
而不使用“^”,然后运行flutter-clean并重新构建我遇到了相同的错误,并在github上打开了一个问题:

您使用的插件版本是什么?我正在使用4.0.14中的google\u-sign\u
Launching lib/main.dart on iPhone X in debug mode...
Running pod install...
Running Xcode build...
Xcode build done.                                           10.6s
Failed to build iOS app
Error output from Xcode build:
↳
    ** BUILD FAILED **


Xcode's output:
↳
    In file included from /Users/joeandrei/Documents/lastMyhaircut/myhaircut/ios/Pods/AppAuth/Source/iOS/OIDExternalUserAgentIOSCustomBrowser.m:19:
    /Users/joeandrei/Documents/lastMyhaircut/myhaircut/ios/Pods/AppAuth/Source/iOS/OIDExternalUserAgentIOSCustomBrowser.h:38:1: error: expected ','
    API_UNAVAILABLE(macCatalyst)
    ^
    In module 'Foundation' imported from /Users/joeandrei/Documents/lastMyhaircut/myhaircut/ios/Pods/AppAuth/Source/iOS/OIDExternalUserAgentIOSCustomBrowser.h:19:
    In module 'CoreFoundation' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/Foundation.framework/Headers/Foundation.h:6:
    In module 'Darwin' imported from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:16:
    /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator12.4.sdk/usr/include/os/availability.h:93:171: note: expanded from macro 'API_UNAVAILABLE'
        #define API_UNAVAILABLE(...) __API_UNAVAILABLE_GET_MACRO(__VA_ARGS__,__API_UNAVAILABLE6, __API_UNAVAILABLE5, __API_UNAVAILABLE4,__API_UNAVAILABLE3,__API_UNAVAILABLE2,__API_UNAVAILABLE1, 0)(__VA_ARGS__)
                                                                                                                                                                              ^
    1 error generated.
    note: Using new build systemnote: Planning buildnote: Constructing build description

Could not build the application for the simulator.
Error launching application on iPhone X.