...contains disallowed entitlements...

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

...contains disallowed entitlements...

Post by scotttyang » Sat Dec 15, 2012 4:03 am

I finally converted an App for the iPad to now an App that will work under iPhone, iPhone 4inch, and iPad. I added the three separate stacks as substacks under stack properties. And also added the three livecode stacks under "copy files" in Standalone settings...

eg.

Mainstack (determines which machine and resolution) and close itself and opens the substack

with the following substacks
Spanish ipad.livecode
Spanish iphone5.livecode
Spanish iphone.livecode

But I get the error of ...Application failed codesign verification...contains disallowed entitlements.... in App Loader.

When I delete the 3 livecode substacks under the copy files of standalone settings, the App uploads to Apple fine.

Seems like ItunesConnect doesn't like .livecode files.....

How are those designing apps for multiple resolutions getting around this?


Scott

Dixie
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 1336
Joined: Sun Jul 12, 2009 10:53 am

Re: ...contains disallowed entitlements...

Post by Dixie » Sat Dec 15, 2012 8:07 am

Scott.

There has been quite a lot of discussion how to go about adjusting your layout depending on the resolution of the device that your stack will run on... A lot of people seem to favour scaling.. I have gone for a more blunt approach. I have a handler that is triggered by 'preOpenStack' that resizes toolbars, tab bars and repositions buttons and other objects accordingly... Doing this between the ipHone 3.5" and 4" does not seem to have been a problem and now 2 apps using this method have gone through the iTunes store review process...

With regard to your substacks, can't you include them in the main stack file ?

be well

Dixie

endernafi
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 296
Joined: Wed May 02, 2012 12:23 pm
Contact:

Re: ...contains disallowed entitlements...

Post by endernafi » Sat Dec 15, 2012 9:06 am

Hi Scott,

You can't add substacks via Copy Files Pane on mobile.
As Dixie said, you have to include them in your mainstack.
For a simple implementation of it as an example stack, please see this post...


Best,

~ Ender Nafi
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

scotttyang
Posts: 125
Joined: Sat Jan 31, 2009 12:01 am

Re: ...contains disallowed entitlements...

Post by scotttyang » Mon Dec 17, 2012 6:28 pm

Thanks folks! Finally just added as substacks and works perfect. Had to actually figure out what substacks are and how it's organized as never had to use them before. I had to use substacks for each of the three resolutions, iphone 3.5, iphone 4 and ipad, as I use quite a bit of animation and just using one stack and resizing was too cumbersome.

Scott

Post Reply