Are IPhone apps guaranteed to work on iPod touch? - iphone

Since, I don't have the iPod touch simulator in xcode, and I don't have an iPod touch device there's not much of a way for me to test my app on this device. Since it works on iPhone 3gs and iPhone 4 can I safely assume it works on the iPod touch too?
Thanks!

In short, yes, it should work just fine.
You need to think about things that aren't in the iPod touch. You won't be able to send a text from the device so you need to conditionally code for it. As long as you're smart about it, you can easily code for both devices without having to own both. I would suggest getting one though, even last year's model. It's worth the investment and reassurance.

I don't think anyone can give that warranty. It all depends on how the app is implemented. There are certain differences between the iPhone type and the iPod Touch and as long as you code the app defensively (i.e. taking care that features that are not available can be overcome) you'll be ok.
The two most obvious ones are:
not all iPod touches have all features present in the latest incarnation
the iPhones are always connected
the iPhone 4 has a second camera - for example, a mirror-like app won't work on anything else than iPhone 4 and latest iPod touch
The best thing you might want to do in your case is to run the app on an iPhone in Airplane Mode.
Also, might be worth looking around for a previous generation version - you can get good deals in the Apple Refurbished Store.

Related

Use iPhone 5 for Retina 3,5" debugging

I recently gave my iPhone 4 to a friend so I don't have a Retina 3,5" Device anymore.
I wondered if theres a way without much tweaking the app code to get the 3,5" Version on the iPhone 5(like an App which isn't optimized).
If you do not include (or temporarily remove) Default-568h#2x.png if will run as a 3,5" app.
The simplest way would be to test on the iPhone simulator and change the hardware from retina 4 inch to retina 3.5 inch!
Or ask your friend to borrow their phone and test it on the device which involves certificates so it's slightly more inconvenient.
Either way, it's not too hard to test on multiple devices. Additionally, if you have an iPod touch that is older than the 5th generation, that works too.
Generally you can purchase, cheaply, used iPod touches online to use for development testing. Good luck!

How can I test game center (multipleyr) on single IOS device

How Can i test game center (multiplyer) on single iPad device. Please give me idea.
Thanks in advance.
To my knowledge this is not possible. You cannot run the multiplayer functionality of GameCenter within the simulator (as documented here: https://developer.apple.com/library/ios/#documentation/NetworkingInternet/Conceptual/GameKit_Guide/GameCenterOverview/GameCenterOverview.html#//apple_ref/doc/uid/TP40008304-CH5-SW16).
I myself just bought a 2nd iOS device for this very reason. On the plus side, having two devices allows you to try out other multiplayer games from both sides, to see how things work.
If you have an iPhone in addition to an iPad, you might be able to develop a single application that runs on both devices, even if for deployment you plan on supporting only the iPad. For example you could detect that you're on the iPhone and run only the functionality necessary to test multiplayer. In my instance, this wasn't feasible, so I just went ahead and bought the 2nd iPad, but I mention it for completeness.
Finally, now that the third generation iPad has been released, you can probably find the first devices used for significantly less than retail.

App ONLY for iPhone

My app has been rejected 2 times because its only a iPhone app, the second time i uploaded it i was pretty sure i had changed the build settings to iPhone only, but i guess not. On Targeted Device Family: I have iPhone, i guess that makes it iPhone/iPod Touch.
What if i want my app to work only on the iPhone, thats it. Apple called me on the phone, told me about the problem, and then i reuploaded it, i guess i didnt really fix the problem. can someone help me? Thanks, Jacob
Do you mean iPhone only application or iOS application which doesn't include iPad? Apple wouldn't reject an app if it was released on iPod Touch as well as iPhone (and I've seen examples where functionality doesn't even work on the iPod Touch but it was allowed through anyway).
I suspect that you have built the app for iPad at some point and then removed it, but not removed it properly? This would then create an iPad version which would do nothing when loading and that could be the rejection reason.
What exactly did Apple send you in their response email, they are usually very good with a reason for rejection.
Take a look at page 90 in the iOS Application Programming Guide provided by Apple on developer.apple.com
You can set a UIRequiredDeviceCapabilities key in your Info.plist file for telephony (I don't see one for vibration).
Since the iPod Touch doesn't have telephony capabilities this should restrict the app to iPhone only.
To me, it sounds like you have have an app that relies on vibration and are supporting both the iPhone and iPod touch, which doesn't support vibration. You need to disable support for the iPod touch, and then Apple will accept your app.

What kind of iPhone / iPod Touch do I need to test my app?

I've written a fairly basic app for the iPhone, which I would like to test on at least one device and then get it onto the market place.
I don't need a data plan, so I'm considering buying an iPod touch, but I understand it doesn't have a camera, video, compass. While I don't need those for my current app, I might for a future one, nothing for sure there.
My concern about purchasing an iPhone, used or new, is that I believe I won't be able to use it without a sim card unless I jailbreak it. I'd prefer not to get involved with jailbreaking, as I'm unclear how it would my efforts to test the app on the device and/or get the app onto the app store.
If I get a new iPhone, I would have to cancel the contract immediately, and my same concern about the lack of a sim card would apply.
I'd be interested in people's experience with this issue, e.g. starting out with iPhone apps and not having an iPhone, is with this issue.
The newest iPod Touch does have a camera: http://www.apple.com/ipodtouch/
You should be able to test nearly everything you'd need to test on an iPod Touch.
Also, if you want to support older devices, it might be a good idea to also pick up a used, older, iPod Touch on eBay or somewhere, so you can test on a non-Retina display.
I have development going on without an iPhone but is preferred to develop with a device cause you could test your codes once in awhile. iPod Touch 4 does have camera. Anyway i think iPhone would still be able to function properly without a sim card just that you can't call. Otherwise getting an iPad is not that bad, since you can run both iPad and iPhone apps in iPad.
You may want to get the oldest slowest model of device running the oldest version of iOS on which you want you apps to be compatible. This may also be a low cost way to get into testing on devices. If your apps are commercially successful, you will be able to afford acquiring more newer test devices, but the old one may be the most valuable one for app testing purposes.
I have been using my old iPhone 3G for developement, mostly because it allows me to see how my code runs on one of the slowest devices out there.
The phone is not currently signed up with AT&T and it still works fine for development. For data access the wifi works fine without a carrier account. It also has the camera and (basic) GPS/mapping.
I could probably pick up a used iPhone 3G off one of the auction site relatively cheaply.

What's the best way to test an iPhone game for iPod Touch?

I've developed a game for the iPhone... on my iPhone. When I submitted it to the store I marked it as "iPhone only". Now I'm getting emails asking "Why not iPod touch?".
The game doesn't use any iPhone only features btw. So...
I'd like to test it on an actual iPod Touch to be sure it works. Is this really necessary?
If so do developers just go out and buy an iPod touch to test on? haha... guess this is pretty obvious :-p
As long as you haven't used obvious features not in the touch you should be fine. I did development on an iPhone application that we didn't test on a touch until a couple days before it was submitted to the store. There wasn't anything that needed to be changed.