<分区>
我在 https://facebook.github.io/react-native/docs/running-on-device 上看到了文档但是没有上传市场的解释。
我看到一些博客文章,他们告诉我们要为 ios 手动捆绑 js
。
请给我正确的信息。
标签 ios swift react-native
<分区>
我在 https://facebook.github.io/react-native/docs/running-on-device 上看到了文档但是没有上传市场的解释。
我看到一些博客文章,他们告诉我们要为 ios 手动捆绑 js
。
请给我正确的信息。
最佳答案
如果您以前没有做过或不熟悉该过程,则 FaSTLane 是最简单的方法。
遵循简单的installation steps .
之后,您需要在 Fastfile 中创建两个类似于这些的 channel (您可能需要进行一些修改):
platform :ios do
lane :release do
cert // handle the ios certificates
sigh // sign the code
sigh(app_identifier: "your.app.identifier") // get it from XCode > General tab > Bundle identifier
gym(export_method: 'app-store') // build the app
end
lane :upload_to_appstore do
appstore(
username: 'your email',
ipa: 'your app.ipa',
automatic_release: false,
skip_metadata: true,
skip_screenshots: true,
submit_for_review: false
)
end
end
注意:您需要有证书。如果您不这样做,您可以使用 FaSTLane 轻松创建它们。当然,你需要有一个苹果开发者账号。
然后只需执行 faSTLane ios release
和 faSTLane ios upload_to_appstore
。
关于ios - 如何在没有 expo 的情况下将 react-native 应用程序上传到 ios 应用程序市场?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/55725326/