Jump to content

[TOPIC: topicViewTemplate]
[GLOBAL: userSmallPhoto]
Photo

Don't want the 1 star rating !
Started by carlos m. icaza Mar 15 2011 04:18 AM

21 replies to this topic
[TOPIC CONTROLS]
This topic has been archived. This means that you cannot reply to this topic.
[/TOPIC CONTROLS]
[modOptionsDropdown]
[/modOptionsDropdown]
[reputationFilter]
[TOPIC: post.html]
#1

carlos m. icaza

[GLOBAL: userInfoPane.html]
carlos m. icaza
  • Corona Geek

  • 2,992 posts
  • Alumni

In your build settings file add the following line "MinimumOSRequirement" and the minimum you want your app to run on.

For additional info see:

http://developer.apple.com/library/mac/#documentation/DeveloperTools/Reference/XcodeBuildSettingRef/1-Build_Setting_Reference/build_setting_ref.html#//apple_ref/doc/uid/TP40003931-CH3-SW156

Values

2.0: Product runs on iOS 2.0 and later.
2.1: Product runs on iOS 2.1 and later.
2.2: Product runs on iOS 2.2 and later.
2.2.1: Product runs on iOS 2.2.1 and later.
3.0: Product runs on iOS 3.0 and later.
3.1: Product runs on iOS 3.1 and later.
3.1.2: Product runs on iOS 3.1.2 and later.
3.1.3: Product runs on iOS 3.1.3 and later.
3.2: Product runs on iOS 3.2 and later.
4.0: Product runs on iOS 4.0 and later.


uid: 24 topic_id: 7878 reply_id: 307878


[TOPIC: post.html]
#2

BeyondtheTech

[GLOBAL: userInfoPane.html]
BeyondtheTech
  • Contributor

  • 477 posts
  • Corona SDK

Just to confirm, mine would look like this?

settings ={        iphone =        {                plist =                {                        UIPrerenderedIcon = true,                        UIStatusBarHidden = false,                        MinimumOSRequirement = "4.0",			CFBundleIconFile = "Icon.png",			CFBundleIconFiles = {				"Icon.png",				"Icon@2x.png",				"Icon-72.png",				"Icon-Small-50.png",				"Icon-Small.png",				"Icon-Small@2x.png"			}                },        },}
uid: 6084 topic_id: 7878 reply_id: 27964


[TOPIC: post.html]
#3

Lilarcor

[GLOBAL: userInfoPane.html]
Lilarcor
  • Enthusiast

  • 92 posts
  • Corona SDK

I tried both:

MinimumOSRequirement = "4.0",

and

MinimumOSRequirement = 4.0,

neither of them seemed to work - the binary information in ITC still says requires 3.1.

Is this setting only available in a daily build or something ?

Cheers
Cel.
uid: 9428 topic_id: 7878 reply_id: 28358


[TOPIC: post.html]
#4

Lilarcor

[GLOBAL: userInfoPane.html]
Lilarcor
  • Enthusiast

  • 92 posts
  • Corona SDK

Bump, has anyone actually got this working? Am I supposed to see 'Minimum OS Requirements' in iTunes Connect as '4.0' if its working (so far I can't get it to change from 3.1)...
uid: 9428 topic_id: 7878 reply_id: 28471


[TOPIC: post.html]
#5

kam187

[GLOBAL: userInfoPane.html]
kam187
  • Contributor

  • 455 posts
  • Corona SDK

Except for the linker problem in the latest dailies is there a reason to do this? The builds with the latest sdk are 3.1.3 and up.

Whats the last version of corona that works with 3.1.3 btw (doesnt have the linker issue)?
uid: 8872 topic_id: 7878 reply_id: 28597


[TOPIC: post.html]
#6

AdamBucketz

[GLOBAL: userInfoPane.html]
AdamBucketz
  • Enthusiast

  • 40 posts
  • Corona SDK

This does work!

Here's the build.settings for Float Free:

settings =
{

    iphone =
    {
        plist =
        {
            MinimumOSVersion="3.2.0",
            LSRequiresIPhoneOS = YES,
            UIStatusBarHidden=true,
            UIPrerenderedIcon = true,
            CFBundleIconFile = "Icon.png",
            CFBundleIconFiles = {
                "Icon.png" ,
                "Icon@2x.png" ,
                "Icon-72.png" ,
                "Icon-Small-50.png" ,
                "Icon-Small.png" ,
                "Icon-Small@2x.png"
            },
            UIAppFonts = 
            {
                "font_feltTip.ttf",
                "font_flyer.ttf"
            },
        },
    },
    orientation =
    {
        default = "portrait",
        supported =
        {
            "portait", "portraitUpsideDown"
        },

    },
    androidPermissions =
    {
            "android.permission.INTERNET"
    },
}

If you check in iTunes you'll see that it indeed lists the requirement as 3.2.0 and looking at the binary details in iTunes connect also lists it. I built with Corona.268 . While I cannot vouch for "4.0" it definitely works for 3.2.0
uid: 12405 topic_id: 7878 reply_id: 29095


[TOPIC: post.html]
#7

Lilarcor

[GLOBAL: userInfoPane.html]
Lilarcor
  • Enthusiast

  • 92 posts
  • Corona SDK

So maybe it's MinimumOSVersion, and not MinimumOSRequirement.

Not sure I'm keen to send my app back to the end of the review queue yet again to adjust though...
uid: 9428 topic_id: 7878 reply_id: 29129


[TOPIC: post.html]
#8

jhocking

[GLOBAL: userInfoPane.html]
jhocking
  • Corona Geek

  • 1,223 posts
  • Guests

Great tip, thanks! Maybe you should link to this thread from the documentation about build settings:
http://developer.anscamobile.com/content/configuring-projects#Build_Configuration:_build.settings

Not sure I'm keen to send my app back to the end of the review queue yet again to adjust though...

If your app really does require iOS 4 then you should probably fix this. There's a reason Carlos titled this thread as he did.
uid: 12108 topic_id: 7878 reply_id: 29375


[TOPIC: post.html]
#9

J. A. Whye

[GLOBAL: userInfoPane.html]
J. A. Whye
  • Corona Geek

  • 1,689 posts
  • Corona SDK

But how do I know whether I need that or not -- outside of testing on all versions of the OS? Is there a list of things in Corona based on OS version?

Would be nice if the Corona Simulator would flag the minimum OS needed when it does a build, that seems like something a program could keep track of better than a people.

Jay
uid: 9440 topic_id: 7878 reply_id: 29378


[TOPIC: post.html]
#10

BeyondtheTech

[GLOBAL: userInfoPane.html]
BeyondtheTech
  • Contributor

  • 477 posts
  • Corona SDK

I based it on whether or not the older iOS devices can run it smoothly. I tried Rico: MFH on my kids' iPhone 2G and it was choking all over the place. Since the iPhone 2G stopped at 3.1.3, I set my MinimumOSVersion to 3.2 to accomodate the first iPad and all the devices going forward. We all know that the iPhone 3G sorta got the shaft by being upgradable to 4.1, and most people were complaining about it's sluggishness anyway, so I'd think they'd probably aim to get rid of that device at the first chance they get.
uid: 6084 topic_id: 7878 reply_id: 29379


[TOPIC: post.html]
#11

Lilarcor

[GLOBAL: userInfoPane.html]
Lilarcor
  • Enthusiast

  • 92 posts
  • Corona SDK

Well, I used a recent daily build for GameCenter via OpenFeint, so I've re-submitted my game with minimum iOS 4 (which I guess is pretty important so the app doesn't crash on launch :S ).

Back to the end of the queue I go!!
uid: 9428 topic_id: 7878 reply_id: 29386


[TOPIC: post.html]
#12

jhocking

[GLOBAL: userInfoPane.html]
jhocking
  • Corona Geek

  • 1,223 posts
  • Guests

Would be nice if the Corona Simulator would flag the minimum OS needed when it does a build, that seems like something a program could keep track of better than a people.

That would be a really handy feature. *hint hint carlos*

In the meantime, the only Corona feature I've seen that requires iOS 3.2 is custom fonts. I only upgraded my phone to iOS 4 recently and before then I'd tested Corona apps with every single feature.

Note though that the latest daily build apparently only works on iOS 4, which makes sense I guess since the latest daily build adds GameCenter support and GC is only on iOS 4:
http://developer.anscamobile.com/forum/2011/03/24/latest-daily-builds-ios-3x
uid: 12108 topic_id: 7878 reply_id: 29381


[TOPIC: post.html]
#13

Puzzle Runner

[GLOBAL: userInfoPane.html]
Puzzle Runner
  • Contributor

  • 394 posts
  • Corona SDK

I do not believe your game will crash if you use GameCenter on iOS 3.1 and above. GameCenter will simply be disabled. Someone should correct me though if that's not the case!

Another thing I noticed: I forgot to include the "minimum OS" value in my plist and while Apple was reviewing it, they set it to 3.1 for me. So maybe they are being more careful about that now?
uid: 36054 topic_id: 7878 reply_id: 40730


[TOPIC: post.html]
#14

adrianeraldo

[GLOBAL: userInfoPane.html]
adrianeraldo
  • Enthusiast

  • 82 posts
  • Corona SDK

Thanks sooooooooooo muuuuuch for the headsup!! I just rejected my binary and uploaded the new version, just lost one day in the cue which is not bad compared to what could have happened otherwise.
cheers all!
adrian
uid: 12407 topic_id: 7878 reply_id: 42318


[TOPIC: post.html]
#15

asianstyle7878

[GLOBAL: userInfoPane.html]
asianstyle7878
  • Observer

  • 3 posts
  • Corona SDK

What does this do?
uid: 78176 topic_id: 7878 reply_id: 46979


[TOPIC: post.html]
#16

BenM

[GLOBAL: userInfoPane.html]
BenM
  • Contributor

  • 141 posts
  • Corona SDK

Damn!!!!!

Wish I had seen this earlier.
We have been absolutely hammered with 1 stars from crashes on old iOS devices.

We were rating mostly 4's and 5's without that.

Guys, don't underestimate the importance of this. Avoid the pain.

Ben
uid: 28534 topic_id: 7878 reply_id: 57857


[TOPIC: post.html]
#17

jerome82

[GLOBAL: userInfoPane.html]
jerome82
  • Contributor

  • 159 posts
  • Corona SDK

To be clear, we added the line of code to our build.settings:

  plist=
  {
    MinimumOSVersion="4.3.0",

But within the Binary Details upon upload, the Minimum OS Requirements reflects: 3.1 still...? Is there something else that must be specified within plist? Or within iTunesConnect to ensure the Minimum OS Requirements is consistent with what we specify within the plist (like above)? We'll have to reject this binary and resubmit, as soon as we know what the fix is. Thanks for any immediate response!!! Appreciate it...
uid: 74844 topic_id: 7878 reply_id: 63660


[TOPIC: post.html]
#18

BenM

[GLOBAL: userInfoPane.html]
BenM
  • Contributor

  • 141 posts
  • Corona SDK

I can only say that I'm pretty sure that is all we did.. See below build.settings iphone section:

iphone =
{
plist=
{
UIHiddenStatusBar= true,
MinimumOSVersion="3.2.0",
UIAppFonts =
{
"rolina.ttf",
},
CFBundleIconFile = "Icon.png",
CFBundleIconFiles = {
"Icon.png" ,
"Icon@2x.png" ,
"Icon-72.png" ,
},
CFBundleDisplayName = "Squishy Halloween",
UIPrerenderedIcon = "YES",
UIApplicationExitsOnSuspend = false,
},
},

And, yes it should not show the version as 3.1 in iTunes binary details.

Ben
uid: 28534 topic_id: 7878 reply_id: 63674


[TOPIC: post.html]
#19

jerome82

[GLOBAL: userInfoPane.html]
jerome82
  • Contributor

  • 159 posts
  • Corona SDK

@Ben: does the "Binary Details" within iTunesConnect then dynamically reflect the settings from plist? Or does that get corrected once our app is reviewed and then Apple updates this information? It seems like this should be correctly reflected dynamically...?

EDIT: Sorry Ben, missed your last sentence... so you're saying that Binary Details SHOULD then accurately reflect what we specified within our plist. Very strange. So why isn't it seeing it I wonder?


settings = {
	orientation =
 	{
                	default ="landscapeRight",
                	supported =
                	{
                       	"landscapeRight", 
		"landscapeLeft"
                	},
        	},

	iphone =
	{
		plist=
		{
			MinimumOSVersion="4.3.0",
			UIStatusBarHidden=true,
			UIApplicationExitsOnSuspend = false,
	        		CFBundleIconFile = "Icon.png",
	        		CFBundleIconFiles = {
			"iTunesArtwork.png",
	           		"Icon-72.png",
			"Icon@2x.png", 
	           		"Icon.png", 	  
uid: 74844 topic_id: 7878 reply_id: 63675


[TOPIC: post.html]
#20

BenM

[GLOBAL: userInfoPane.html]
BenM
  • Contributor

  • 141 posts
  • Corona SDK

Correct, it is dynamic. I checked it on the one I posted here as it is a new app and is still waiting for review, so it has not been manipulated by Apple.

Does not make sense. Perhaps a rebuild and try uploading again if you have not already.
uid: 28534 topic_id: 7878 reply_id: 63677


[TOPIC: post.html]
#21

jerome82

[GLOBAL: userInfoPane.html]
jerome82
  • Contributor

  • 159 posts
  • Corona SDK

I'd hate to reject the binary and lose position in the queue until I know what the fix is... I'm going to keep searching forums, googling, seeking answers - but thanks for your time Ben!

EDIT: Speaking of queue, anyone have a feel for what the "average" time is for Apple to review submitted apps? I've heard 7 days, I've read over 2 weeks...? I also heard there's something dynamically updated by Apple that tells developers the current average wait? But I can't find that...
uid: 74844 topic_id: 7878 reply_id: 63679


[TOPIC: post.html]
#22

BenM

[GLOBAL: userInfoPane.html]
BenM
  • Contributor

  • 141 posts
  • Corona SDK

We have been experiencing roughly a 7 day wait recently.
It may be possible for that to have changed due iOS 5 breaking a bunch of stuff?
uid: 28534 topic_id: 7878 reply_id: 63680



[topic_controls]
[/topic_controls]