Testing on a physical iPad - please help :-( 0xE800816

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
soloista
Posts: 10
Joined: Tue Apr 07, 2015 12:50 pm

Testing on a physical iPad - please help :-( 0xE800816

Post by soloista » Tue Jun 02, 2015 8:56 pm

Hi - I"m just trying to load the calculator stack onto my iPad but get this error "The entitlements specified in your application’s Code Signing Entitlements file do not match those specified in your provisioning profile. (0xE8008016)."

LC Community 7.0.5, Xcode 6.3 - I have tried re-creating certificates, and provisioning ids but can't get past this piece. I don't really want any permissions for the calculator (that's one of the attractions of loading it) but apple site seems to insist on including game centre and in-app purchases - is this the conflict? I can't see anywhere in LC standalone settings to match these with. Can anyone help? It's been driving me mad for at least a fortnight :oops:

sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by sms5138 » Wed Jun 03, 2015 3:16 pm

Hey soloista!

I've been working through this myself for the past couple of weeks. I ended up essentially posting all the steps that i went through to get it onto a physical device, and a lot of helpful information from the livecode community on this thread:

http://forums.livecode.com/viewtopic.php?f=7&t=24315

provisioning profiles caused me a bit of fuss too. Hopefully some of the information i received, and found out will help you, too.

- Sean

soloista
Posts: 10
Joined: Tue Apr 07, 2015 12:50 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by soloista » Wed Jun 03, 2015 3:43 pm

Thank you for replying! I'm thinking now that I'll go through all the steps in your post on a completely new machine, with new certificate, app id and profile - see what happens.

Did you track down where the entitlements are stored?

sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by sms5138 » Wed Jun 03, 2015 3:53 pm

I did. they mention it in the URL, but it can be hard to see unless you're looking for it.
In the Runtime folder of the LiveCode application bundle, if you
>>> drill down into iOS -> Device-[whatever], there is an Entitlements.xcent file.
>>> I’m assuming this is where that same key could be added. However,
>>> there’s also a StoreEntitlements.xcent, with the same contents as
>>> Entitlements.xcent. So I’m not sure which one to make the change in.
>>> Maybe both? Does anyone know?
I didn't touch the Entitlements.xcent I only edited the StoreEntitlements.xcent as i found another source stating that was all they needed to fix it, and that worked for me.

Good luck!

-Sean

soloista
Posts: 10
Joined: Tue Apr 07, 2015 12:50 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by soloista » Fri Jun 05, 2015 3:51 pm

Silly question time... where is the Runtime folder you're talking about? I can see the standalone app in a folder, along with one other file called .DS_Store but no .xcent files?

sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by sms5138 » Tue Jun 09, 2015 12:46 pm

Hey soloista,

My apologies on the delay in response. That's not silly at all. open finder>applications>rightclick/contol+click livecode>Show package content>and from there you should be able to drill down to the directory you're looking for.

I don't have it in front of me at the moment, but will check when i have time later today, and let you know if there was any other steps i did not mention above.

-Sean

soloista
Posts: 10
Joined: Tue Apr 07, 2015 12:50 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by soloista » Wed Jun 10, 2015 12:56 pm

Awesome stuff, thanks. Still struggling with this so much appreciated.

sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by sms5138 » Thu Jun 11, 2015 3:47 pm

Hey!

Sure thing. Where are you at with it now? did you get it into itunes connect?

-Sean

soloista
Posts: 10
Joined: Tue Apr 07, 2015 12:50 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by soloista » Sun Jun 14, 2015 4:07 pm

Thank you for your help! I *think* this was because I was using a 'team' provisioning profile instead of an app specific one. When I look in info.plist the CFBundleIdentifier was still set to com.yourcompany.yourapp

I've reset certificate, app id and profiles and used an app specific provisioning profile and it has worked fine. (Although I did have to use an office iMac which is about 20 miles away from home... this is now officially the magic machine which I will use for all physical testing)

Thank you again for your help

sms5138
Posts: 126
Joined: Mon Feb 23, 2015 11:49 pm

Re: Testing on a physical iPad - please help :-( 0xE800816

Post by sms5138 » Mon Jun 15, 2015 2:29 pm

Sure thing! glad it worked for you!

Post Reply