Page 1 of 1
Testing on a physical iPad - please help :-( 0xE800816
Posted: Tue Jun 02, 2015 8:56 pm
by soloista
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

Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Wed Jun 03, 2015 3:16 pm
by sms5138
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
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Wed Jun 03, 2015 3:43 pm
by soloista
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?
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Wed Jun 03, 2015 3:53 pm
by sms5138
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
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Fri Jun 05, 2015 3:51 pm
by soloista
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?
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Tue Jun 09, 2015 12:46 pm
by sms5138
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
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Wed Jun 10, 2015 12:56 pm
by soloista
Awesome stuff, thanks. Still struggling with this so much appreciated.
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Thu Jun 11, 2015 3:47 pm
by sms5138
Hey!
Sure thing. Where are you at with it now? did you get it into itunes connect?
-Sean
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Sun Jun 14, 2015 4:07 pm
by soloista
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
Re: Testing on a physical iPad - please help :-( 0xE800816
Posted: Mon Jun 15, 2015 2:29 pm
by sms5138
Sure thing! glad it worked for you!