首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >如何用单模来解决我的吊舱安装问题?

如何用单模来解决我的吊舱安装问题?
EN

Stack Overflow用户
提问于 2021-08-23 14:05:55
回答 1查看 258关注 0票数 1

我的吊舱安装不会安装吊舱,每次都有相同的错误:

好了!无效的Podfile文件:语法错误,意外的'\n',期待=>。

来自/Users/bonnieandcloud/Documents/BonnieAndCloud/seducia-app/ios/Podfile:20

use_unimodules!

结束

还有我的吊舱。:

代码语言:javascript
复制
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
EN

回答 1

Stack Overflow用户

发布于 2021-08-26 15:40:26

正如我在评论中提到的那样:

删除行‘use_unimodules!’完全输入并手动输入,移除该块周围的所有内容。当复制粘贴时,您可能复制了一个错误的字符。

注意,当复制粘贴时,有时网站有隐藏的字符,这些字符可能是你看不到的代码模板上的图标。

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/68894115

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档