Uploaded app is too large

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

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

Re: Uploaded app is too large

Post by endernafi » Thu May 09, 2013 10:28 am

I don't think anyone could help you with this issue unless we see your code.
But, here are some possible source of errors which came to my mind:
* A problem related with your internet connection,
* Using revBrowser instead of native mobile browser control,
* Setting the visible property of native mobile browser to false,
* Setting the rect property of native mobile browser outside the screen,
* Constructing the url property of native mobile browser improperly,
* Another bug in your code which prevents creation of the native mobile browser.

I added a browser page to the sample stack.
The browser page won't work on desktop because I used the native browser,
but it works fine in the simulator and in the device.

Hope it helps...

~ Ender Nafi
Attachments
seaFauna.zip
(82.29 KiB) Downloaded 279 times
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Thu May 09, 2013 12:33 pm

Dear Ender,

I solved the problem!
There was a background picture missing!!

Thankyou so much for all the help!

With very best wishes,
Jessamy.

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

Re: Uploaded app is too large

Post by endernafi » Thu May 09, 2013 12:40 pm

Glad that it's all fine...

Best,

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

macOS Sierra • LiveCode 7 & xCode 8

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Sat May 18, 2013 7:28 pm

Dear Ender,

I have been struggling to upload my version 2 of my app since I last posted, but I kept getting an error from Apple.

In the end, I renamed your last zip file to me and uploaded that.
The error still appeared. See below.
Perhaps you can help me understand what the problem is.

I really appreciate your time and trouble!

Thanking you in advance,
Jessamy.
error.png

Randy Hengst
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 154
Joined: Thu Jun 29, 2006 4:16 pm

Re: Uploaded app is too large

Post by Randy Hengst » Sat May 18, 2013 9:13 pm

I'm not Ender, but you'll have to wait until the Rev folks update to 6.0.2. The UDID error not a result of something you've done wrong.

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Sat May 18, 2013 10:45 pm

Thankyou for your reply Randy!

So, I need to update my LiveCode to 6.0.1 ?

Any idea when it will be out?

Thanks again.
Jessamy.

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Sat May 18, 2013 10:50 pm

Dear Randy,

I just found a thread all about this problem.
Thankyou for your message.

I look forward to the update.

Best wishes,
Jessamy.

DRJ-UK
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 73
Joined: Tue Aug 23, 2011 2:50 pm
Location: United Kingdom
Contact:

Re: Uploaded app is too large

Post by DRJ-UK » Sun May 19, 2013 11:43 am

Colleagues

Reducing the file size for uploading Apps is another interesting development from Apple - a bit rich when you see how massive their own Apps actually are!! For the iPad on the App Store, Pages is listed as 257 MB, Numbers as 256 MB, Keynote at 319 MB, iMovie at 496 MB and GarageBand at a whopping 588 MB!

For the developer the problem is made more challenging because any graphics we use has to be provided to match both the normal and retina screen sizes and avoid pixelated images, with any full screen images generating bigger file sizes (especially on iPad Apps). There is then the trade off between compression and quality - part of the advantage of retina is the richer depth of colours and overall quality of course!

I guess this kind of restriction may be to reduce the demand on iCloud resources as well as the time taken to backup any non-Apple files.

Regards

Dave
LiveCode: Versions 8.0, 8.1
Xcode: Version 7.3, 8.0
Mac OS X: 10.11.12 (macOS Sierra) on iMacs with 3.4 Intel Core i7 & 16GB Memory

Creating Apps for educational professionals, effective teaching and learning.

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Thu May 23, 2013 8:10 pm

Dear Ender, Dave and all,

The new update for LiveCode 5.5.5 has just arrived and I was able to upload my version 2 today!

A huge thank you to you all, especially Ender.

I have had a warning though, as follows...


Non-PIE Binary - The executable 'Aroma4Therapy.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables.

Anyone know what it means?
At least I do not need to change my upload this time. :)

Best wishes,
Jessamy.

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

Re: Uploaded app is too large

Post by endernafi » Fri May 24, 2013 8:32 am

Hi Jessamy,

I'm glad that Apple finally accepted your update.

Well, about that warning...
That is actually a simple option in xCode {see the attached image}.
If you wonder what is a PIE or PIC then check this link.
It seems that this issue also requires an engine fix
but not necessarily unless it becomes a rejection cause by Apple in the future.


Best,

~ Ender Nafi
Attachments
s.jpg
~... together, we're smarter ...~
__________________________________________

macOS Sierra • LiveCode 7 & xCode 8

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Fri May 24, 2013 1:43 pm

Dear Ender,

Thankyou for the link. I had actually looked it up, which is not the same as saying I understand!!

Hopefully it isn't a definite requisite from Apple.

Thanks again for the help with the code. :)

Best wishes,
Jessamy.

Judoka
Posts: 3
Joined: Fri Mar 15, 2013 6:26 pm

Re: Uploaded app is too large

Post by Judoka » Tue May 28, 2013 6:07 am

I also received the "Non-PIE Binary" message from Apple when I submitted my new app on May 24, 2013 (LC 5.5.5 w/ mobGUI 0.29). When I check the status in iConnect, it shows "Waiting For Review". The actual email notification from Apple reads:

Dear developer,

We have discovered one or more issues with your recent delivery for "<app name>". Your delivery was successful, but you may wish to correct the following issues in your next delivery:

Non-PIE Binary - The executable 'NCIS Spy Cam.app' is not a Position Independent Executable. Please ensure that your build settings are configured to create PIE executables.

If you would like to update your binary for this app, you can reject this binary from the Binary Details page in iTunes Connect. Note that rejecting your binary will remove your app from the review queue and the review process will start over from the beginning when you resubmit your binary.

Regards,

The App Store team


A friend warned me that I need to resolve this issue otherwise my app won't get reviewed. But the message implies that they received the submission and added it to the queue for review.... but any future submissions will need to be corrected. I will post new status as it occurs, hopefully I can report back that the submission is successful in spite of the issue.

Keeping my fingers crossed... Judoka
"1 App Per Week" - Empowering our youth with technical and business skills for a connected world

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Tue May 28, 2013 12:44 pm

My version2 submission has been successfully put in the app store, in spite of the warning above.
Hopefully this will not become compulsory!!

Best wishes and thanks to you all!
Jessamy.

jessamy99
Posts: 103
Joined: Thu Oct 25, 2012 3:23 pm

Re: Uploaded app is too large

Post by jessamy99 » Sat Jul 27, 2013 2:56 pm

Dear Ender and team,

Do you know anything about Android developing?
I am trying to convert my program above for Android devices now.
The max size for the Google play store is 50 MG and apparently I need to upload my photos externally in a zip file.

This sounds very similar to the method in your example, Ender.
How do I change this so Android will accept an external file?

Any help would be much appreciated.
You are all so supportive to us beginners!

Best wishes,
Jessamy.

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

Re: Uploaded app is too large

Post by endernafi » Sat Jul 27, 2013 4:13 pm

Hello Jessamy,

You don't need to change anything related to image issue.
Use the specialFolderPath command and caches folder, you're good to go.

But android development in general is another issue.
There are many things to be considered.
And the biggest one is supporting vastly different screen sizes & resolutions of android phones and tablets.
There are many threads focused on this, better to check them.


Best,

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

macOS Sierra • LiveCode 7 & xCode 8

Post Reply

Return to “iOS Deployment”