如何在React Native iOS中链接包lib?

时间:2019-01-01 11:44:40

标签: react-native

我尝试使用反应本机链接命令以及手动命令链接软件包,恢复的引用是什么意思。我未链接的库显示在那里以及如何解决?

2。)无法在“构建短语”>“ <二进制文件与库的链接”下链接 libRNvectoricons.a 。找不到在那里进行链接的选项。

任何帮助将不胜感激。

Recovered References.

Build Phrases > Link Binary With Libraries

1 个答案:

答案 0 :(得分:1)

请按照以下步骤操作:

  1. 删除项目内的WorkflowScript: 119: Expected a step @ line 119, column 13. env.DEVOPS_REPO_CLONE = git([branch: "development", credentialsId: 'bitbucket', url: 'https://bitbucket.org/team/repo.git']) ^ 1 error at org.codehaus.groovy.control.ErrorCollector.failIfErrors(ErrorCollector.java:310) at org.codehaus.groovy.control.CompilationUnit.applyToPrimaryClassNodes(CompilationUnit.java:1085) at org.codehaus.groovy.control.CompilationUnit.doPhaseOperation(CompilationUnit.java:603) at org.codehaus.groovy.control.CompilationUnit.processPhaseOperations(CompilationUnit.java:581) at org.codehaus.groovy.control.CompilationUnit.compile(CompilationUnit.java:558) at groovy.lang.GroovyClassLoader.doParseClass(GroovyClassLoader.java:298) at groovy.lang.GroovyClassLoader.parseClass(GroovyClassLoader.java:268) at groovy.lang.GroovyShell.parseClass(GroovyShell.java:688) at groovy.lang.GroovyShell.parse(GroovyShell.java:700) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.doParse(CpsGroovyShell.java:133) at org.jenkinsci.plugins.workflow.cps.CpsGroovyShell.reparse(CpsGroovyShell.java:127) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.parseScript(CpsFlowExecution.java:559) at org.jenkinsci.plugins.workflow.cps.CpsFlowExecution.start(CpsFlowExecution.java:520) at org.jenkinsci.plugins.workflow.job.WorkflowRun.run(WorkflowRun.java:319) at hudson.model.ResourceController.execute(ResourceController.java:97) at hudson.model.Executor.run(Executor.java:429) Finished: FAILURE 文件夹
  2. 运行node_modules
  3. 运行npm uninstall react-native-app-auth
  4. 运行npm install react-native-app-auth --save
  5. 然后按照these steps(iOS安装程序和Android安装程序)