react-native ios 如何使用命令行打包?

XCODE打包正常,导出IPA文件正常,使用命令行打包失败, 请问如何使用命令行打包呢?

尝试过的:

xcodebuild archive -project example.xcodeproj -scheme example -archivePath bin/example.xcarchive -configuration "Release" archive

报错:


The following build commands failed:
        Ld /Users/test/Library/Developer/Xcode/DerivedData/***/Build/Intermediates.noindex/ArchiveIntermediates/example/IntermediateBuildFilesPath/example.build/Release-iphoneos/example.build/Objects-normal/arm64/Binary/example normal arm64
        Ld /Users/test/Library/Developer/Xcode/DerivedData/***/Build/Intermediates.noindex/ArchiveIntermediates/example/IntermediateBuildFilesPath/example.build/Release-iphoneos/example.build/Objects-normal/armv7/Binary/example normal armv7
(2 failures)
阅读 1.3k
撰写回答
你尚未登录,登录后可以
  • 和开发者交流问题的细节
  • 关注并接收问题和回答的更新提醒
  • 参与内容的编辑和改进,让解决方法与时俱进
推荐问题