New app wants to replace an existing app on iPad

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

New app wants to replace an existing app on iPad

Post by paulsr » Fri Dec 21, 2012 7:57 am

Folks,

I'm sure I've done something stupid, but I've spent the last day trying to figure what, without success.

I added two Livecode apps to my iPad. Let's call them A & B.

Yesterday I wanted to add a new app ... C. I created a provisioning profile, filled out all the standalone settings in Livecode, and successfully built the app.

But when I try to transfer it to the iPad with Organizer, it says "The application "B: already exists on the device. Are you sure you want to replace it?"

If I answer "Replace" than that's what it does. I then have A & C on the device and not B.

I can't find any reference to app B within app C, so I can't figure what I've done wrong.

Does anyone have any clues?

Many tkx...

--paul

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Location: Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by dave_probertGA6e24 » Fri Dec 21, 2012 11:03 am

Hi Paul,

Check the 'Internal App ID' (just above the provisioning profile) - make sure that it is unique (ie not the same as the other App) You can put anything you want in there, but it makes sense to use meaningful ID's.

That should help - I hope.

Have a great Xmas.

Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by paulsr » Fri Dec 21, 2012 11:28 am

Arrrggghhh, so that's what I forgot to do! I had left it as the default setting for two of the apps! :oops:

Thanks Dave.

And thanks too for the seasonal greetings. Actually I don't celebrate, and will be appily coding away next week... but I hope you have a good one.

--paul

dave_probertGA6e24
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 328
Joined: Mon Dec 05, 2011 5:34 pm
Location: Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by dave_probertGA6e24 » Fri Dec 21, 2012 12:47 pm

Hi Paul,

I don't really celebrate either - but it's one of those things to wish people at this time of year ;) Though I wish everyone a great time all year around.

Over here in Thailand (yup - next door ;) ) everyone just uses it as an excuse to party.

I too will be coding most of next week too. Got to get the next app ready for when Apple comes back online ;)

Enjoy yourself,

Dave
Coding in the Sun - So much Fun.
Visit http://electronic-apps.info for released App information.

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by paulsr » Fri Dec 21, 2012 1:12 pm

Yes Dave, I'd noticed you were just up the road. Appy coding. :D

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: New app wants to replace an existing app on iPad

Post by joel.epsteinBUS31vi » Mon Jul 04, 2016 4:06 am

Hi all -

I'd be ever so grateful for some help. I'm experiencing the same problem described above (i.e., xCode wanting to replace an existing app). But I've gone back a dozen times and ensured that the "Internal app ID," the "display name," and "version" are all different. The only thing that isn't different is the provisioning profile. But I didn't think that would matter. I've tried this on all versions of LiveCode 8.x.

Thanks for any advice you might have.

Joel

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by paulsr » Mon Jul 04, 2016 5:33 am

joel.epsteinBUS31vi wrote:Hi all -

But I've gone back a dozen times and ensured that the "Internal app ID," the "display name," and "version" are all different.
Joel, "all different" than what? Have you checked all your other apps to make sure none of them is using the same Profile as the one you're working on now?

--paul

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: New app wants to replace an existing app on iPad

Post by joel.epsteinBUS31vi » Mon Jul 04, 2016 4:58 pm

Hi Paul -

Thanks for the speedy reply. And sorry to not be more clear.

I made an app with LiveCode and installed it on my iPhone:
- display name: bell
- internal app id: com.projectiveart.bell
- provisioning profile: 2016 development

I made a new app with LiveCode and attempted to install on my iPhone
- display name: lamp
- internal app id: com.projectiveart.lamp
- provisioning profile: 2016 development

When I try to install "lamp" xCode asks me if I'm sure I want to replace "bell"

I can rename "lamp" and its internal id to anything, and I keep getting that message.

So it seems to be something with my provisioning profile - though I thought I could use the same one for multiple apps.

I'd be grateful for any clarification.

Thanks so much.

Joel

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: New app wants to replace an existing app on iPad

Post by joel.epsteinBUS31vi » Mon Jul 04, 2016 6:12 pm

Hi all -

I'm becoming even more confused and I'd appreciate some assistance.

To follow up with what I posted earlier:

So now, I tried to create a brand new provisioning profile and build my new app using it.

When I try to use xCode to install the new app on my phone, I get the same error as before - asking to replace the existing app.

But here's a potential clue.

Despite the fact that in LiveCode standalone settings I specified the internal app identifier as "com.projectiveart.bell" - in xCode, it reports that the identifier is "com.yourcompany.$(PRODUCT_NAME:identifier}"

Why would my app be reporting that as it's identifier? That's not what I used in the settings.

ALSO, I notice that the version I enter in the standalone settings is not what is displayed in xCode. I entered version 2.02 in LiveCode, but xCode reports 1.0

I'd appreciate any advice you might have.

Thanks so much.

Joel

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by paulsr » Tue Jul 05, 2016 2:30 am

Clutching at straws here, but...

Did you create a unique iOS App ID, and did you use that App ID when you created the Development Provisioning Profile?

--paul

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: New app wants to replace an existing app on iPad

Post by joel.epsteinBUS31vi » Tue Jul 05, 2016 3:54 am

Thanks for the idea.
Unfortunately I had created a new app ID and used it.

The odd thing is that the changes I make in standalone settings pane (eg version, ID) don't seem to be reflected in the compiled app.

I'd be grateful for any potential workarounds...

Joel

paulsr
Posts: 222
Joined: Thu Jul 19, 2012 9:47 am
Location: Khanom, Nakhon Si Thammarat, Thailand
Contact:

Re: New app wants to replace an existing app on iPad

Post by paulsr » Tue Jul 05, 2016 5:19 am

I would suggest you go to your Developer Console, list all the Provisioning Profiles, Development Certificates, and App IDs, and delete any that have expired.

If that doesn't work, I'd probably re-install Xcode.

HTH

--paul

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: New app wants to replace an existing app on iPad

Post by joel.epsteinBUS31vi » Tue Jul 05, 2016 4:18 pm

Well... That was painful. And, unfortunately, unproductive.

Thanks for the advice, but I'm still having the same problems.

Any idea why no matter what I put in the standalone settings pane for the identifier and the version, xCode always reports that the app is
version 1.0 and ID: "com.yourcompany.$(PRODUCT_NAME:identifier}"

I'm probably doing something stupid, but I can't figure out what it might be. I'd appreciate any advice folks might have.

Joel

jacque
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 7228
Joined: Sat Apr 08, 2006 8:31 pm
Location: Minneapolis MN
Contact:

Re: New app wants to replace an existing app on iPad

Post by jacque » Wed Jul 06, 2016 5:43 pm

Try creating a provisioning profile specifically for "lamp". Assign that in standalone settings.
Jacqueline Landman Gay | jacque at hyperactivesw dot com
HyperActive Software | http://www.hyperactivesw.com

joel.epsteinBUS31vi
Posts: 135
Joined: Thu Sep 13, 2012 10:25 pm

Re: New app wants to replace an existing app on iPad

Post by joel.epsteinBUS31vi » Wed Jul 06, 2016 11:42 pm

Yes, that's exactly what I did.

I'd appreciate any other suggestions.

Thanks

Joel

Post Reply

Return to “iOS Deployment”