firebase 我想在应用分发中分发两个相同版本的iOS

bxgwgixi  于 2022-12-04  发布在  iOS
关注(0)|答案(1)|浏览(130)

为了创建一个开发环境临时环境,我想分发带有不同环境变量的相同版本。(我使用的是相同的包,没有将其分开。)
对于Android,我可以部署相同的版本,但对于iOS,第二次部署会覆盖第一次部署的应用程序。
https://firebase.google.com/docs/reference/app-distribution/rest/v1/UploadReleaseResult
Android始终显示“RELEASE_CREATED”结果,但iOS显示“RELEASE_CREATED”结果,iOS显示“RELEASE_UPDATED”结果。
我确认了它可以在同一个版本中分发。但我不知道什么时候现有的应用程序会被覆盖。
如何在iOS上分发相同版本?

6l7fqoea

6l7fqoea1#

我收到了关于创建新版本的原因的答复。

This is a great question and one we get regularly.  There are some subtle differences between iOS and Android in what is considered a new release.  For Android the logic is pretty simple but for iOS it's more complicated.

If your goal is to have a new release created each time for iOS the easiest way to do it is to make sure you're also changing the version or build number.

If you really want to hold onto the same version or build number, here's how we determine whether or not to create a new release for you:

Android: If the CRC32 checksums in the APK (or AAB) don't change, we don't create a new release. If any single bit (of the uncompressed binary) is different, then a new release is created - even if versions and build numbers are identical.

iOS: We only use the UUIDs for the executable(s) (a.k.a. CFBundleExecutable) inside the IPAs to determine something we call the "instance identifier". If two uploads have the same "instance identifier", version, and build number, then no new release is created and the newly uploaded binary replaces the existing binary

相关问题