I know this is a very stupid question, but I have 2 completely separate projects I am working on, one of which is already on the phone, and I want to make sure the second one will not override the first one.
Asked
Active
Viewed 53 times
-2
-
3_I know this is a very stupid question_ - then why ask it? – Mar 18 '14 at 00:42
-
Because I don't know the answer to it – Tom Metzger Mar 18 '14 at 00:47
-
@user3416823 As a new user to SO, don't forget that you can indicate your question has been answered by accepting the best answer. Click the checkmark next to the answer. – rmaddy Mar 18 '14 at 01:11
-
soory, it gave me the you must wait 8 minute thing, and then i got distracted with coding – Tom Metzger Mar 18 '14 at 02:15
2 Answers
2
As long as the bundle id is different for the apps, you have nothing to worry about. You can even build and debug both apps on the same device at the same time or even on multiple devices.

rmaddy
- 314,917
- 42
- 532
- 579
0
As long as your projects specify different executable bundles (i.e. 'com.me.myapp1' and 'com.me.myapp2') then they won't overwrite each other - you can see this in the iPhone simulator - If you run your first app and then your second app and then press shift-cmd-H you should see icons for both of your projects on the simulator springboard screen.

Paulw11
- 108,386
- 14
- 159
- 186
-
FYI - using the term "targets" here is a bit misleading since it has a specific meaning within Xcode. It's the app's bundle id that matters (and what you are referring to). – rmaddy Mar 18 '14 at 00:47
-