本文主要是介绍React Native打包(一: Build archive error vs Xcode10),希望对大家解决编程问题提供一定的参考价值,需要的开发者们随着小编来一起学习吧!
- 报错信息
Multiple commands produce '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a':
react-native Issues链接
installer.pods_project.targets.each do |target|if target.name == "React"target.remove_from_projectend# Fix Archive ----->if target.name == "yoga"target.remove_from_projectend
# <----- Fix Archiveend
下一步记得去ios目录 pod install
结果我还是build错误,然后去stackoverflow 找到这个答案
stackoverflow链接
解决方案如下
can be solved as follows:
Go to Xcode->File->Workspace/Project Settings-> Build System -> Legacy Build System.
再次Archive成功!!
下面是:
ios打包教程
打开archives
Window -> Organizer
安卓参考官网吧!
这篇关于React Native打包(一: Build archive error vs Xcode10)的文章就介绍到这儿,希望我们推荐的文章对编程师们有所帮助!