Overwriting existing ios native app with xamarin app - ios

I have an app that was built in native ios
We are developing a new app on xamarin
My problem the users are all over the place and due to my predecessors bad management the ipads are locked with no mdm. And the apps are whitelisted
If i give the new app the same bundle ID etc will it overwrite the old native ID?
Thanks in advance

A bundle ID or bundle identifier uniquely identifies an application in
Apple's ecosystem. This means that no two applications can have the
same bundle identifier.
If you name the new app with the same bundle id with the old one, it will overwrite the old app.
Refer: bundle_ids
what-are-app-ids-and-bundle-identifiers.

Related

Can I release a new app with old bundle identifier by deleting old app?

I've developed an application and its old version is live on App Store. Now I'm confused about App Store submission. I have following questions regarding App Store submission of my app.
There is already an app is released from client's apple account with the bundle identifier like "com.myapp" and he want to release an app with the same bundle identifier, so can I delete the old app and release the new app with the same bundle identifier?
If yes, then what will be effect to the user who has an old app in their devices?
if no, then is there any work around to use old bundle identifier for new app?
I've read some article saying that app bundle identifier can't be used same for two different application on App Store and If I use the same bundle identifier(used in old app) for my application, then it will be released as an update to an old app, I think?
So do I need to suggest client to go with the new bundle identifier instead of an old one?
You can't delete a bundle identifier and recreate one with the same name, you need to use a new one for a new app.
If you reuse an old identifier and release a new version than the users of the old app will receive an update to the new app. But I don't know if Apple review team will allow this.

What are the effects of changing the bundle id, App Id and App name for an app live on the app store

Suppose I have an iOS app live on the app store with an App Id (and app bundle Id) of com.mycompany.my-cool-app and an App Name of My Cool App.
Now I want to change my App Id to com.newcompany.my-interesting-app and App Name to My Interesting App.
I've never done this but I think the steps would be:
Change the bundle Id in Xcode.
Create a new App Id in developer.apple.com.
In the Apps Provisioning Profile on developer.apple.com change the App Id to the new App Id
Change the App name in Xcode, increment the version number and upload new App to iTunes connect where I can then change the App name in iTunes connect and submit the app for review.
My question is:
What are the implications of doing this?
What happens to users who have the app currently installed on their phone? Would they have to re-download the app since so much underlyingly has changed or would they just get the new app with the new app name upon updating the app?
Since the bundle Id changed, would there be an issue in accessing files/photos saved in the documents directory from the previous version?
What else could go "wrong"?
You cannot change the bundle id of an existing app. The bundle id is the app. If you change the bundle id, that is a whole new and different app. So, do what you like, as long as you keep that basic fact in mind.
What I have seen done in a similar situation is that the developer issues a final version of the old app which knows how to export the data to the new app. Marvin and GoodReader are cases in point.

Can 2 same bundle ID cause any conflict?

I read from Cocoa Core Competencies
that
An App ID is a two-part string used to identify one or more apps from
a single development team. The string consists of a Team ID and a
bundle ID search string, with a period (.) separating the two parts.
However it also says that,
The bundle ID is a unique identifier that identifies a single app and
cannot be used by other teams.
I see that we can't register an App ID in the Developer account portal with same bundle ID of an app that is on the appstore.
An App ID with Identifier 'com.example.myapp' is not available. Please enter a different string.
So I don't know if 2 apps from 2 developers can have same bundle ID (like com.example.MyApp), and if this causes any conflicts?
Can these 2 apps be installed on the device?
Can these 2 apps be allowed on the app store?
How does Push Notification work with these 2 apps ?
I see that many services like Fabric Crashlytics, Urban Airship, Google App Invites, ... depends on the Bundle ID to differentiate among apps.
Can these 2 apps be installed on the device?
No, it won't. It will replace the existing app.
Can these 2 apps be allowed on the app store?
No, you cannot create Apps on App Store with same bundle ID.
How does Push Notification work with these 2 apps ?
Push Notifications will show for the app it is made for whose Push Certificates etc are made
Can these 2 apps be installed on the device?
No. If you tried to install another application with same bundle ID it will replace the existing one.
Can these 2 apps be allowed on the app store?
No. When you upload the application on an App store it will ask for unique bundle ID.
If you use same bundle identifier for two different application and try to run on device then previous application is replaced from Device and current application is installed on Device. if you want to run two different application then you can use wild card id.
for App store when you creating application in iTunes connect first it check with existing App ID(same with bundle identifier in Xcode) on app store if exits the you have to put different app id.

iOS app release - same Bundle ID but different Developer accounts

I have created an app for which a different version was created earlier. The older app had a different Bundle ID from mine, but it has the name I want to use. So if I want to release the app with the same name:
1) Do I have to use the same Bundle ID?
2) Does it matter if the app is being submitted using a different developer account?
3) What about the App ID?
What is your goal? If you want the same name, then your only option is to use a different bundle ID and see if your app name is available in a different locale within iTunes connect.
Your bundle ID has to be different. But the bundle ID has no intrinsic connection to the app name. However, again, within iTunes connect, your app name within locales has to be different.
I believe that your app will be rejected if you try to use the same name and/or same Bundle ID. The point of that is that it uniquely identifies your application
If you want to replace the older app, you will need to use the older developer account and submit an update

Choose the bundle identifier for an iOS and Mac app

Suppose that I have an app called A.
Bundle Identifiers must be unique across all Mac and iOS apps. This means that if I have the app A on the iOS App Store with the Bundle ID com.mycompany.a, I cannot create an app on the Mac App Store with the same Bundle ID com.mycompany.a.
Ok, said that, what is the best way to distinguish the Bundle IDs?
Some examples I can think of:
com.mycompany.a_ios, com.mycompany.a_mac
com.mycompany.ios.a, com.mycompany.mac.a
Are there others that come to mind? Which you used?
Rather a request for an opinion than a question I'd say, but com.mycompany.application.platform is what I'd use.
The reason would be to make it more and more granular towards the end, seeing the platform as a sub component of the actual application.
Apple now allows you to use a single bundle ID for Mac and iOS apps through Universal Purchase:
Universal Purchase for Mac Apps Now Available
The macOS version of your app can now be included in a universal purchase, allowing customers to enjoy your app and in‑app purchases across iOS, iPadOS, macOS, watchOS, and tvOS by purchasing only once. Get started by using a single bundle ID for your apps in Xcode and setting up your app record for universal purchase in App Store Connect.
https://developer.apple.com/news/?id=03232020b
Offering Universal Purchase
Upload your apps to the app record using a single bundle ID. While the bundle ID must match the bundle ID you enter in App Store Connect, the apps can have different version numbers and build strings.
https://developer.apple.com/support/universal-purchase/

Resources