尝试集成Firebase和RN GoogleSignin时"pod install"的问题



>编辑:我正在使用Windows上的命令。 运行以下命令时的问题pod install.

它生成的错误:

Installing unimodules:
Analyzing dependencies
Fetching podspec for `DoubleConversion` from `../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec`
Fetching podspec for `Folly` from `../node_modules/react-native/third-party-podspecs/Folly.podspec`
Fetching podspec for `RNGestureHandler` from `../node_modules/react-native-gesture-handler/RNGestureHandler.podspec`
Fetching podspec for `RNReanimated` from `../node_modules/react-native-reanimated/RNReanimated.podspec`
Fetching podspec for `glog` from `../node_modules/react-native/third-party-podspecs/glog.podspec`
Downloading dependencies
Installing AppAuth (1.3.0)
Installing DoubleConversion (1.1.6)
Installing EXAppLoaderProvider (8.0.0)
Installing EXConstants (8.0.0)
Installing EXErrorRecovery (1.0.0)
Installing EXFileSystem (8.0.0)
Installing EXFont (8.0.0)
Installing EXKeepAwake (8.0.0)
Installing EXLinearGradient (8.0.0)
Installing EXLocation (8.0.0)
Installing EXPermissions (8.0.0)
Installing EXSQLite (8.0.0)
Installing EXWebBrowser (8.0.0)
Installing FBLazyVector (0.61.5)
Installing FBReactNativeSpec (0.61.5)
Installing Folly (2018.10.22.00)
Installing GTMAppAuth (1.0.0)
Installing GTMSessionFetcher (1.3.0)
Installing GoogleSignIn (5.0.2)
[!] Error installing GoogleSignIn
[!] C:/WINDOWS/system32/tar.exe xfz C:/Users/PREETS~1/AppData/Local/Temp/d20191228-9184-epkk3u/file.tgz -C C:/Users/PREETS~1/AppData/Local/Temp/d20191228-9184-epkk3u --force-local
tar.exe: Option --force-local is not supported
Usage:
List:    tar.exe -tf <archive-filename>
Extract: tar.exe -xf <archive-filename>
Create:  tar.exe -cf <archive-filename> [filenames...]
Help:    tar.exe --help

几天来,我一直在与这些错误作斗争。请帮忙。

所以,这个问题是不完整的。现在我已经完成了它,我知道了它的答案,我将自己回答。

无法在 Windows 操作系统上创建 iOS 应用程序。至少,不是直接通过命令行。

最新更新