Game center invitation failing on 2nd generation ipod touch - iphone

I am working on a multiplayer game with connections via Game Center and GKMatch. I have three devices -- a 4th generation iPod touch, a 2nd generation iPod touch, and an iPad 2. Connecting the two newer devices works just fine. But if I try to use the older device to connect one of the newer ones, Apple's default invitation says "want to play (null)?" instead of "want to play ([name of my game])?". And the newer device never gets a message that the older one has invited it.
The older device is running iOS 4.2.1. The newer ones are running iOS 4.3.3.
Inviting the older device with a newer one also fails. The invitation looks correct, but the older device never receives it.
How can I fix that?

Related

Submitting an App to Apple wrote in iOS 4

Okay, I know what your thinking why, right? My employer wants me to work on their app and submit it to Apple, but I told him the app has to be wrote in the most up to date OS. Does anyone know where you can find a something that states your, iphone App must have the most up to date OS? He would to have some concrete proof, before they restart their project. I'm like 90% sure your app has to have the most recent OS, but I also am having troubles finding something from apple that says that.
thanks
Starting tomorrow (May 1st), all new apps and app updates must fully support the taller screen of the iPhone 5 and 5th gen iPod touch. In order to do this you need to be using Xcode 4.5 or later with a Base SDK of 6.0 or later. And this in turn means that the oldest Deployment Target you can support is iOS 4.3.
See https://developer.apple.com/news/ and look at the news items from March 21.
So you can still support iOS 4 but it must be 4.3 and later. You must have full retina support on all devices you support and you must fully support the taller iPhone/iPod touch screens.
To be honest, supporting 4.3 is virtually pointless at this point in time. Any device that can run 4.3 can run 5.1. And except for the iPad 1 and 3rd gen iPod touch, any device that can run iOS 5 can run iOS 6. So basically, there is no reason to support anything before iOS 5.1. Any user running 4.3 or 5.0 can update to at least 5.1 if not the latest 6.x.
In other words, starting May 1st, 2013, no new apps or app updates can support the iPhone 3G or older, or the first 2 iPod touches.
BTW - the following Wikipedia page has a good chart about what versions of iOS run on the different devices: http://en.wikipedia.org/wiki/List_of_iOS_devices

Is it possible to find the location from background in iPhone 3G, 3GS

I am making an app in which i need to find the location from background when userpress the home button, my app works fine on iPad2 and it gets updated,however its not working on iPhone, apart from iPhone 4, previous version of iPhone, is it possible to track update on that older version of iPhone leaving iPhone 4
As Badgerr commented, iPhone 3GS was the first version of the iPhone to support multi tasking. Previous versions of the iPhone are not capable of tracking the user location without the app running in the foreground. As soon as a third party app enters the background it gets closed.
http://support.apple.com/kb/HT4211:
Multitasking in iOS 4 is supported on iPhone 3GS or later, iPod touch
(3rd generation or later), and all iPad models.
Since you mention that your app is running on iPad and iPhone, I assume that you are not asking about how to get the location when the app is running in background and that you are doing correctly as explained here.
As to the rest, your problem may have to do with background processing being only available starting from iOS 4.0.
So, more than the specific model of iPhone, what matters is the iOS version that is installed on your device (or if it can be installed).

Testing for bugs on Apple devices that you do not own

I'm starting to send out a beta version of my app for users to test. One came back and told me that the app crashes on her iPod Touch (2nd Gen). How do I debug for this considering I don't own one. All I have is the iPhone 4, yet there 9 other devices (each generation of iPhone, iPod Touch and iPad) that I would like my app to run on. Any advice?
EDIT 1
There is no iPod Touch hardware option in the simulator. Should I just assume that it is treated as an iPhone?
Hoptoad App is great for this. You can sign up for free for up to 1 project, and the implementation is very easy.
http://hoptoadapp.com/pages/home
For starters get the crash logs from your users' devices and try to debug based on those. Not a big help in testing on devices you don't have, I know, but at least you'll be able to figure out what crashed on each device your beta testers have...
You could try Apple's IOS simulator.
http://developer.apple.com/library/ios/#documentation/Xcode/Conceptual/iphone_development/125-Using_iOS_Simulator/ios_simulator_application.html
To set the iOS release used in the
simulation environment, choose
Hardware > Version, and choose the
version you want to test on.

iPod Touch Second Generation - firmware

I am updating an app that initially was compatible with iOS 2.0 and up.
As Apple dropped support for releases < 3.0, I am being forced to drop support for 2.0.
Some beta testers using iPod Touch second generation are complaining the software is not running well. These guys report their iPod Touch 2nd Gen to be model A1228.
The app runs perfectly on iPhone 3G, 3GS and 4.
The app does not use any function that is not present on iPod Touch 2nd gen.
I suppose it can be a firmware problem on the iPod Touch 2nd Gen. The guys may be using an old release or never updated.
My question is: what firmware version came with iPod Touch 2nd gen and what is the latest firmware version available for this device? 3.1.3?
thanks.
I'm not sure what the first firmware was, but you can get iOS 4.1 for iPod touch 2nd genereation, and if you are a developer, iOS 4.2 as well.
You can get information about the device using the UIDevice class. To get the version information, use the systemVersion property, which will return a NSString.
EDIT:
According to this website, the first iOS version was 2.1.1. You can also download all of the iOS firmwares there.

Is there a diff in the new iphone versus previous version (development perspective)?

If I get an iphone, should I go for the latest version (with the antenna issue) or can I make do just fine with the previous version?
i.e. are there significant O/S changes that will effect my ability to test and run an iphone application?
A previous version (3g or 3gs) can still run the latest O/S (4.0.2), the only things truly different programmatically for the iPhone 4 is the higher pixel count and resolution of the screen, the new camera, and the new/improved gyro/accelerometer.
The iPhone 3G can't do multitasking. If you want to test your app's multitasking capabilities, you'll need at least an iPhone 3GS or the latest generation of iPod Touch.