Potential Issues with Duplicate Xamarin IOS Projects on Same Device

Marc George 21 Reputation points
2021-08-03T01:30:33.027+00:00

VS solutions/projects can be renamed. If a Xamarin solution/projects are copied and the copies renamed, can the renamed IOS project be deployed to a device with the original version present and be functional?

Xamarin
Xamarin
A Microsoft open-source app platform for building Android and iOS apps with .NET and C#.
5,301 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kyle Wang 5,531 Reputation points
    2021-08-04T02:35:51.787+00:00

    Hi MarcGeorge-6477,

    Welcome to our Microsoft Q&A platform!

    In iOS, you can set a unique identifier "Bundle ID" for each app. Refer to the document: Bundle IDs.

    This means that no two applications can have the same bundle identifier.

    So you just need to go to Info.plist and modify the Bundle Identifier to ensure that the two projects have different Bundle IDs.

    120361-image.png

    Regards,
    Kyle


    If the response is helpful, please click "Accept Answer" and upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.

    1 person found this answer helpful.