Can't test apps on IOS device. Build names don't match project !

All of a sudden this started happening today. I can only build and install one app at a time.

As an example:

I build and install app #1 on the device. I then build and try to install app #2. Xcode then tells me that app #999(something that I built earlier in the day and installed) already exists, do I want to replace it?

I click YES. It gets nuttier!!!

After I install app #2 it still doesn’t run. I have to install app #2 again to get it to run.

I have tried this about a dozen times today with various projects and sample code. Same result, like I explained above, occurs.

Regards,

iWalter [import]uid: 9936 topic_id: 10340 reply_id: 310340[/import]

Hey there,

These apps don’t have identical names, do they? (Just checking!)

Can you please share what device you’re using (as well as it’s firmware) and what version of Corona you are currently using?

Peach :slight_smile: [import]uid: 52491 topic_id: 10340 reply_id: 37749[/import]

…or perhaps you’re building with the wrong provisioning profile? Had a similar (though not identical) problem recently. [import]uid: 21712 topic_id: 10340 reply_id: 37757[/import]

Hi Peach,

Didn’t realize that you were working @ Ansca now. Thanks for your tutorials. I actually purchased one of your templates. Very helpful.

The apps don’t have identical names.

I don’t have the firmware # of my iTouch here. I will post it later tonight. I have been using this 2nd gen iTouch since day one with the Corona SDK. Never had an issue before.

The only coincidence here is that this started happening after I downloaded and installed Build 2011.484.

Prior to this I was using the build from Dec 2010.

I will go through the whole process again tonight and post my steps.

Can you have more than one build installed on your Mac? [import]uid: 9936 topic_id: 10340 reply_id: 37786[/import]

@TheOddLinguist

I only have one developer provisioning profile. [import]uid: 9936 topic_id: 10340 reply_id: 37787[/import]

Still Broken!!!

The firmware of the device is 39499a68eac18c4a85319c92a2e289c4813ab86e.

These are my steps:

  1. Open my project, “Island Hoops”, which is Apple approved and in the app store. I build it and install it on my device. No problems so far. It works.

  2. I then open my other project, “balloons”. I build it and try to install it.

I then get this message from Xcode:
The application “Island Hoops” already exists on the device. Are you sure you want to replace it?

  1. I then open my other project, “Coffee Demo”. I build it and try to install it.

I then get this message from Xcode:
The application “Island Hoops” already exists on the device. Are you sure you want to replace it?

No matter what project I open & build and try to install, it still gives me this message:
The application “Island Hoops” already exists on the device. Are you sure you want to replace it?

[import]uid: 9936 topic_id: 10340 reply_id: 37846[/import]

I may be way off here, but I’m pretty sure you need a separate provisioning profile for each app. You’re essentially signing each build with the same signature, so the phone believes it’s the same app. Anyone to confirm? (…or tell me I’ve been doing it wrong? hehe) [import]uid: 21712 topic_id: 10340 reply_id: 37849[/import]

You can build, install, and test as many apps as you want with a single valid developer provisioning profile. I have been doing that for over a year now.

When you submit an app for distribution, that is a different story. [import]uid: 9936 topic_id: 10340 reply_id: 37850[/import]

I have submitted a case to the bug base. Case # 5785. [import]uid: 9936 topic_id: 10340 reply_id: 37851[/import]

OK, then. Forgive my ignorance. Hope your problem is solved soon. [import]uid: 21712 topic_id: 10340 reply_id: 37852[/import]

Thanks anyway! [import]uid: 9936 topic_id: 10340 reply_id: 37853[/import]

Thanks for the bug report, although I have no idea what the cause is I’m sure someone with more technical know-how will be able to help :slight_smile:

Thanks for purchasing a template! I’ve been doing some stuff with Ansca for a bit now and must say I’m really enjoying it :slight_smile:

As to the question about multiple builds being installed on your Mac, I believe so - I’m currently using the latest daily and the latest stable, so far so good - although I haven’t built frequently on either. [import]uid: 52491 topic_id: 10340 reply_id: 37902[/import]

I’m not sure if this is the same issue. I was getting the message “The application [name of application] already exists on the device” earlier. The problem for me was that I wasn’t using a wildcard App ID with my provisioning profile.

To confirm that you’re using a wildcard App ID, make sure that the profile you use is linked to an App ID where the app description suffix ends with a *, for example: com.companyname.appname*. If not, you need to go to the provisioning portal, and create a new App ID, and the section titled “Bundle Identifier (App ID Suffix)”, enter anything that ends with a *, or just enter * by itself. [import]uid: 35618 topic_id: 10340 reply_id: 38420[/import]

If wonder is this has something to do with my Team profile expiring, even though I don’t use that profile when I create my builds. Maybe it just has to exist in Xcode? [import]uid: 9936 topic_id: 10340 reply_id: 38816[/import]

If you have an Adhoc distribution profile with a Wildcard app identifier, you can use than over and over again for multiple apps during development.

I have a profile called BeebeAdhoc with a wildcard app identifier and I use it for all my apps during the development process, with no problems installing the same apps over and over, as well as new apps that use that same profile.

When you install/uninstall apps, I recommend using the iPhone Configuration Utility because it is much more light-weight than Xcode, loads a lot quicker, and is much more simple. You just drag your app to the icon on your dock, select your device, and click Install next to the app name.

The only thing you have to make sure to do is to add your devices to the Adhoc wildcard profile and you’ll be good to go (which is done online through the Provisioning portal). [import]uid: 7559 topic_id: 10340 reply_id: 38826[/import]

@TheOddLinguist and Tom,

You guys were right. I apologize @TheOddLinguist. Your first suggestion was right along.

One of my profiles, which expired and which I used on & off, had a “*” app identifier. I totally forgot about that. I actually had originally created that one in error. [import]uid: 9936 topic_id: 10340 reply_id: 39634[/import]