Problem debugging two targets on device

Discussion in 'iOS Programming' started by mrl72, Mar 9, 2011.

  1. mrl72 macrumors regular

    Joined:
    Apr 20, 2008
    #1
    Hi all -

    I have a single project with two targets, one is a duplicate of the other except has the word "free" after it. Ive gone through and set the relevant settings ie product name and plist entries. Yet when I build and run on my device, both apps are sharing the same content and what's weird even if I say start the free one up and can clearly see the difference in the app, it will suddenly be the other app, the non free one.

    Is there something I'm missing here? Can you only have one target app on the device at any one time?

    Cheers.
     
  2. PhoneyDeveloper macrumors 68040

    PhoneyDeveloper

    Joined:
    Sep 2, 2008
    #2
    You need a unique bundle identifier for all apps. Two targets with the same bundle identifier == the same app.
     

Share This Page