Abh*_*mar 3 cocoapods react-native react-native-ios react-native-cli
我已经尝试过: #448
\n\n环境
\n\nSystem:\nOS: macOS 10.15\nCPU: (4) x64 Intel(R) Core(TM) i5-4250U CPU @ 1.30GHz\nMemory: 30.63 MB / 4.00 GB\nShell: 3.2.57 - /bin/sh\nBinaries:\nNode: 10.15.3 - /usr/local/bin/node\nYarn: 1.19.2 - /usr/local/bin/yarn\nnpm: 6.13.1 - /usr/local/bin/npm\nSDKs:\niOS SDK:\nPlatforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1\nIDEs:\nXcode: 11.2.1/11B500 - /usr/bin/xcodebuild\nnpmPackages:\nreact: 16.9.0 => 16.9.0\nreact-native: 0.61.5 => 0.61.5\nRun Code Online (Sandbox Code Playgroud)\n\n描述
\n\n\n\n\xe2\x9e\x9c ios git:(master) \xe2\x9c\x97 pod install --verbose\n/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/universal-darwin19/rbconfig.rb:229: warning: Insecure world writable dir /Users/jack/Desktop/root in PATH, mode 040777\n\n[!] Invalid Podfile file: 767: unexpected token at \'\'.\n\nfrom /Users/jack/Desktop/root/outonox/quibik/ios/Podfile:45\nuse_native_modules!\nend\n\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:301:in rescue in block in from_ruby\' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:295:in block in from_ruby\'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:50:in instance_eval\' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:50:in initialize\'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:293:in new\' /Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:293:in from_ruby\'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-core-1.8.4/lib/cocoapods-core/podfile.rb:259:in from_file\' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/config.rb:200:in podfile\'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:150:in verify_podfile_exists!\' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command/install.rb:46:in run\'\n/Library/Ruby/Gems/2.6.0/gems/claide-1.0.3/lib/claide/command.rb:334:in run\' /Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/lib/cocoapods/command.rb:52:in run\'\n/Library/Ruby/Gems/2.6.0/gems/cocoapods-1.8.4/bin/pod:55:in <top (required)>\' /usr/local/bin/pod:23:in load\'\n/usr/local/bin/pod:23:in `\nRun Code Online (Sandbox Code Playgroud)\n\n\'\n可重现的演示
\n\n不知道为什么会发生这种情况,但这是在安装“@react-native-firebase”这个包后启动的
\n\n吊舱文件
\n\n\n\n平台:ios,\'9.0\' require_relative\n \'../node_modules/@react-native-community/cli-platform-ios/native_modules\'
\n\ntarget \'quibik\' do # quibik 的 Pod
\n\npod \'RNFBAuth\', :path =>\n "../node_modules/@react-native-firebase/auth" pod \'RNFBApp\', :path\n => "../node_modules/@react-本机-firebase/应用程序”
\n\npod \'FBLazyVector\', :path =>\n "../node_modules/react-native/Libraries/FBLazyVector" pod\n \'FBReactNativeSpec\', :path =>\n "../node_modules/react- native/Libraries/FBReactNativeSpec" pod\n \'RCTRequired\', :path =>\n "../node_modules/react-native/Libraries/RCTRequired" pod\n \'RCTTypeSafety\', :path =>\n "../node_modules/react-native/Libraries/TypeSafety" pod \'React\',\n :path => \'../node_modules/react-native/\' pod \'React-Core\', :路径 =>\n \'../node_modules/react-native/\' pod \'React-CoreModules\', :path =>\n \'../node_modules/react-native/React/CoreModules\' pod \n \'React-Core/DevSupport\', :path => \'../node_modules/react-native/\'
\n\n
n pod \'React-RCTActionSheet\', :path =>\n \'.. /node_modules/react-native/Libraries/ActionSheetIOS\' pod\n \'React-RCTAnimation\', :path =>\n \'../node_modules/react-native/Libraries/NativeAnimation\' pod\n \' React-RCTBlob\', :path =>\n \'../node_modules/react-native/Libraries/Blob\' pod \'React-RCTImage\',\n :path => \'../node_modules/ react-native/Libraries/Image\' pod\n \'React-RCTLinking\', :path =>\n \'../node_modules/react-native/Libraries/LinkingIOS\' pod\n \'React-RCTNetwork \', :path =>\n \'../node_modules/react-native/Libraries/Network\' pod\n \'React-RCTSettings\', :path =>\n \'../node_modules/react -native/Libraries/Settings\' pod\n \'React-RCTText\', :path =>\n \'../node_modules/react-native/Libraries/Text\' pod\n \'React-RCTVibration\ ', :path =>\n \'../node_modules/react-native/Libraries/Vibration\' pod\n \'React-Core/RCTWebSocket\', :path => \'../node_modules/react-本国的/\'pod \'React-cxxreact\', :path =>\n \'../node_modules/react-native/ReactCommon/cxxreact\' pod \'React-jsi\',\n :path => \'.. /node_modules/react-native/ReactCommon/jsi\' pod\n \'React-jsiexecutor\', :path =>\n \'../node_modules/react-native/ReactCommon/jsiexecutor\' pod\n \' React-jsinspector\', :path =>\n \'../node_modules/react-native/ReactCommon/jsinspector\' pod\n \'ReactCommon/jscallinvoker\', :path =>\n "../node_modules /react-native/ReactCommon" pod\n \'ReactCommon/turbomodule/core\', :path =>\n "../node_modules/react-native/ReactCommon" pod \'Yoga\', :path =>\ n \'../node_modules/react-native/ReactCommon/yoga\'
\n\npod \'DoubleConversion\', :podspec =>\n \'../node_modules/react-native/third-party-podspecs/DoubleConversion.podspec\'\n pod \'glog\', :podspec =>\n \'../node_modules/react-native/third-party-podspecs/glog.podspec\' pod\n \'Folly\', :podspec =>\n \'../node_modules/react-native/third- party-podspecs/Folly.podspec\'
\n\npod \'react-native-splash-screen\', :path =>\n \'../node_modules/react-native-splash-screen\'
\n\n目标\'quibikTests\'继承!:search_paths\n # 用于测试结束的 Pod
\n\n使用本机模块!结尾
\n\ntarget \'quibik-tvOS\' do # quibik-tvOS 的 Pod
\n\n目标\'quibik-tvOSTests\' 继承!:search_paths\n # 用于测试结束的 Pod
\n\n结尾
\n
小智 6
您的项目包含由 Yarn 以外的工具生成的锁定文件。建议不要混合使用包管理器,以避免由于锁定文件不同步而导致解析不一致。要清除此警告,请删除 package-lock.json。
rm -rf package-lock.json
cd ios
pod install
Run Code Online (Sandbox Code Playgroud)
| 归档时间: |
|
| 查看次数: |
11570 次 |
| 最近记录: |