Xcode wont allow 2 projects on my phone at a time.? - iphone

I've been working on a few apps and now when I run them on my iPhone, Xcode will only let one app be on my phone at a time, and if I load up another app in xcode, and try to run it, it kind of over writes the first app instead of haveing two apps on.
Have I done something wrong or is this the new Xcode and iOS6 to stop piracy?

No, the apps probably have the same bundle identifier. I'd check your project settings to make sure each app has a unique bundle identifier.

Related

Running not the same app I'm debugging?

Weird stuff happening. I'm developing an iOS app under iOS 4.2 using Xcode 3. I have the same app in two different folders and they have different xib files (because of two different languages of resources). When I'm firing up to study console logs I'm getting the other one app on device - not the one I have opened at the time... sometimes it even gets weirder: I'm starting app A, but I see on my iPhone (4S btw) intro from version A and menu from B... Meanwhile both were succesfully installed onto device, so I can manually use them separately - but not while running from Xcode.
edit: these two apps have different bundle id and names
two things:
Clean before building (Shift-Cmd-K)
The reason the other version opens on your iPhone when you build your app is that they are both sharing the same Bundle Identifier (CFBundleIdentifier) in info.plist

Strange icon behavior

I'm having a problem with a new App that I'm developing. I have a App with no main icon/logo for the application running, the problem is that everytime I run the App on the device an icon from another App appears on my application, tests that i have made:
I made sure my app certificate was unique and it is.
I checked the app folder for icon images and found nothing.
I cleaned xcode and restarded my mac.
This could happen in the case of not-unique bundle identifier. Your Bundle ID should follow this format:
com.companyname.appname

IPhone App Submission Problem

I have finally gotten my first app to work properly and I'm attempting to send it to the App Store. In my Application Loader, I'm getting this error:
Info.plist does not contain a CFBundleResourceSpecification
I have read on the following SO question that this could be because I am Building on the simulator and then zipping up the app, and sending this instead of building on a proper device.
http://stackoverflow.com/questions/2180201/cant-upload-application-binary-to-the-app-store
However, when I provision a distribution profile, I can't select my IPod Touch under my devices when I have App Store selected. When I switch it to AdHoc I can select it, then I can Build it on the device perfectly, everything works. Has anybody had this issue before?
Any advice would help me here, Thanks!
An App Store build can't be run on a device using Xcode. It's only good for submission.

2 iPhone apps messed up when deploy to iPhone

I have 2 iPhone apps and want to deploy to iphone and somehow the second app rewrote the first app on my iPhone.
The second app project was copied from the first app and I made some changes including renaming the app name etc.
I believe there might be some files messed up due to the shared path. Can anyone shed some light on this issue?
You need to make sure that the two application's bundle identifiers are different, otherwise they will be treated as different versions of the same app.
Look for the CFBundleIdentifier (Bundle Identifier) key in your application's Info plist. Make sure this is different for each application.

When installing app from the Xcode for debug purpose it's run over another app in the device

When i'm installing an app from Xcode for debug purpose on the device it's run over another app that I developed in the device (that been download from the appStore).
also it's happen vice versa, any ideas???
thanks.
Make sure that you have set the Bundle Identifier (in the Info.plist file) to a value that's specific to you; the convention is to use a reverse-DNS-style identifier of a domain that you own (com.adomainthatyouown.theappname).
Do you mean that it the app you are testing deletes a different app you downloaded from the app store?