我的吊舱安装不会安装吊舱,每次都有相同的错误:
好了!无效的Podfile文件:语法错误,意外的'\n',期待=>。
来自/Users/bonnieandcloud/Documents/BonnieAndCloud/seducia-app/ios/Podfile:20
?
use_unimodules!
结束
?
还有我的吊舱。:
require_relative '../node_modules/react-native/scripts/react_native_pods'
require_relative '../node_modules/@react-native-community/cli-platform-ios/native_modules'
require_relative '../node_modules/react-native-unimodules/cocoapods.rb'
platform :ios, '13.0'
$FirebaseSDKVersion = '7.7.0'
target 'Instadating' do
# Uncomment the next line if you're using Swift or would like to use dynamic frameworks
# use_frameworks!
config = use_native_modules!
use_react_native!(:path => config["reactNativePath"])
pod 'ReactNativeART', :path => '../node_modules/@react-native-community/art',
use_unimodules!
end发布于 2021-08-26 15:40:26
正如我在评论中提到的那样:
删除行‘use_unimodules!’完全输入并手动输入,移除该块周围的所有内容。当复制粘贴时,您可能复制了一个错误的字符。
注意,当复制粘贴时,有时网站有隐藏的字符,这些字符可能是你看不到的代码模板上的图标。
https://stackoverflow.com/questions/68894115
复制相似问题