Followed the lesson but it still says invalid entitlements

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Followed the lesson but it still says invalid entitlements

Post by sphere » Sat Mar 05, 2016 4:38 pm

Hello,

i followed this https://livecode.com/how-to-create-a-fr ... g-profile/ lesson
i'm 100% sure that the identifier iniOS settings in LC matches the one in xcode 7.2.1
but when dropping the build file on the phone via xcode i still getting the error: The executable wa signed with invalid entitlements

the identifier is like: nl.blabla.myapp

any idea what could cause this?

another question once you created a provisioning profile and it popped up in livecode, how can you edit it in xcode, or de i need to create a new one? (for the same app)

thanks a lot for any help !

quailcreek
Posts: 746
Joined: Sun Feb 04, 2007 11:01 pm

Re: Followed the lesson but it still says invalid entitlemen

Post by quailcreek » Sun Mar 06, 2016 9:36 pm

Double check to make sure you provisioning profile matches nl.blabla.myapp

You edit the provisioning profile in the same place that you created it. http://developer.apple.com/
Then it's easiest to download it to your machine using Xcode.
Tom
MacBook Pro OS Mojave 10.14

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Followed the lesson but it still says invalid entitlemen

Post by sphere » Mon Mar 07, 2016 9:19 pm

Thanks a lot.
I will try again.

i will update here. (and perhaps with some screenshots to clearify)

:)

sphere
Posts: 1145
Joined: Sat Sep 27, 2014 10:32 am

Re: Followed the lesson but it still says invalid entitlemen

Post by sphere » Sun Mar 13, 2016 10:24 am

ok i did some little tests.
I created a new test project in xcode and created a Provisioning Profile, then created a simple stack in LC7.1.2 with a knob.
Then i used the Bundle Identifier from xcode and used it in the standalone settings of the stack.
Screen Shot 2016-03-11 at 15.53.07.png
Generated the standalone and copied it with xcode to the phone. (the test-phone must be registered in xcode else you can't test. That's a big minor compared to Android.)
Yes this works!

Now did the same again with my app. which runs perfect on Android and used only the Standalone settings for IOs.
Generated the standalone Ios app. And tried to install it on the iPhone.....it does not work and i do not understand why.
The whole procedure is the same, i even checked for uppercase and lowercase, that the app name is exactly the same in xcode as in lc. That the version of the app is exactly the same.
Screen Shot 2016-03-11 at 16.03.44.png
Screen Shot 2016-03-11 at 16.03.44.png (26.55 KiB) Viewed 3728 times
Any idea why a test app works and the normal app not?

Also there is no possibility to delete the Provisioning Profiles to start from scratch is xcode7.2.1, even if you delete them form harddrive, they are back as soon you restart xcode.
Yes you can trash them, but then they will re-appear too.
Because they are save on the developers portal of Apple, most probably.
Now when u do not pay the 99$, then you are not able to reach the profiles on that portal. Because if i'm correct then you can delete them there?
99$ is way too much for an app. that will be free of charge and for charity. (even the Android version is free and not on the Playstore, but only downloadable and manual to install for registered people only.) 25$ once for the Playstore is do-able for a charity organization, but 99$ yearly that's crazy)

Never the less, i would like to see it working :)

Post Reply