TuftEntertainment / hashtag-warrior

Open-source iOS game powered by cocos2d.
MIT License
8 stars 7 forks source link

iOS version support #21

Closed danielgwood closed 11 years ago

danielgwood commented 11 years ago

Something I was wondering about - should we be trying to support older versions of iOS? Do people immediately update to the newest version or not?

Particularly thinking the Twitter framework here, our current code will only work on iOS 6, but could easily be made to work on 5+.

verbitan commented 11 years ago

I was thinking about this, thanks to the OTA updates most people are on iOS6 nowadays. This site shows an example of what I've seen around http://david-smith.org/iosversionstats/.

We could support iOS5 easily, but i think that'd be the furthest back we should go. Mostly for the built in Twitter support...

danielgwood commented 11 years ago

From the stats there I'd agree, supporting 5 looks worthwhile. There's no indication in the cocos-2d roadmap that they'll be dropping support for 4.x, let alone 5.x, any time soon, so I don't think there's any blocker here.

verbitan commented 11 years ago

I'm been trying to confirm that I've got Twitter working correctly in iOS5, but it's not possible to login to a Twitter account using the iOS5 simulator and Mountain Lion.

See below from Apple:

When using the iOS 6.1 SDK on OS X v10.8 (Mountain Lion), if you use the iOS 5.0 or iOS 5.1 “Legacy SDK” in iOS Simulator, you will not be able to sign in to Twitter via the Settings pane, and Twitter.framework will not work correctly. If you need to test Twitter features, you will need to choose either the iOS 6.1 or iOS 6.0 Simulator run destination, or test with iOS 5.x on a device. These problems do not occur when running Simulator on OS X v10.7 (Lion).

verbitan commented 11 years ago

Ported to use iOS 5 in change e949589314.