Ensure I always overwrite ios app on upgrade

2019-07-30 02:41发布

I am about to launch an update to my app that was previously built by a separate developer. I want to make sure that I transition the app to my team however I need to make sure the app I publish will upgrade the users existing app and not install a new one. I am using the same app identifier but do I also need to use the same certificate and provisioning profile?

Any help is appreciated

1条回答
我命由我不由天
2楼-- · 2019-07-30 03:32

As long as the bundle id is the same, it will overwrite the existing app. We use different bundle IDs for our different build configurations (one for when it is built from a developer's Mac, one from when it is built by our CI box, and one when we build for the app store). We used to use one bundle ID, and it would overwrite the prod build when a developer built to the device (not always what we want).

You may be thinking of Android, which will behave a bit differently if you have your APK signed differently. I believe it will still replace the existing app, but it will force you to do an uninstall first, so you cannot do an upgrade install on Android if the apps were signed differently (i.e. one app is installed with your distribution key, the other with a dev key).

查看更多
登录 后发表回答