Page 1 of 1

...contains disallowed entitlements...

Posted: Sat Dec 15, 2012 4:03 am
by scotttyang
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

Re: ...contains disallowed entitlements...

Posted: Sat Dec 15, 2012 8:07 am
by Dixie
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

Re: ...contains disallowed entitlements...

Posted: Sat Dec 15, 2012 9:06 am
by endernafi
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

Re: ...contains disallowed entitlements...

Posted: Mon Dec 17, 2012 6:28 pm
by scotttyang
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