question

MarcGeorge-6477 avatar image
0 Votes"
MarcGeorge-6477 asked RobCaplan edited

Potential Issues with Duplicate Xamarin IOS Projects on Same Device

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?

dotnet-xamarin
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

KyleWang-MSFT avatar image
1 Vote"
KyleWang-MSFT answered MarcGeorge-9076 commented

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.


image.png (5.3 KiB)
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

!@KyleWang-MSFT The piece of info I was most likely looking for. Yesterday, I made the copy and renamed the solution & projects. I also change the assembly name which appears to control the app icon verbiage. The results were a write over. It was too late. So I reversed the renaming. I figured there was something more.

I will try your suggestion soon as I am trying to setup a separate development environment across the systems without having to have two devices for testing each platform, just a few changes. My experience with simulators has been poor.

0 Votes 0 ·