Possible to test iPhone app without a real device? - iphone

I have to convert an iPhone app which is published at the AppStore. However, I do not have iPhone.
Is there any way to test the functionality of this app without a real phone? Would the emulator be of any help? Or maybe some web application?

If you don't have the source code for the app, you can't run it without an iPhone or iPod touch.
The iPhone Simulator (included with the SDK) won't be of any help, because it only runs apps that are compiled for Intel (your Mac). It's not an emulator and cannot run apps that are compiled for actual devices (ARM processors). Without the source code, you can't recompile the app.

iOS Simulator is NOT an emulator. It's a simulator. It doesn't emulate iOS hardware, it is running your app compiled as 64bit Intel app for Mac and displays it inside the iPhone-like window that looks and feels like iPhone, but doesn't have all features and some things don't work the same way.
For example, iOS has a case-sensitive file system, Mac doesn't, so iOS Simulator doesn't either. Also, there's no camera, sms, compass, accelerometer, magnetometer, or any other iPhone-specific feature.
So, yes, you can test some apps using iOS Simulator, but no, you shouldn't test them only using iOS Simulator.

You can of course test the app just with the simulator. However, the simulator lacks some capabilities like accelerometer data, so if you plan on using anything like this, you should consider getting at least the cheapest iPod Touch for testing.
If you do any operations that use lots of rescources (memory, processing power) you need to consider that the iPhone is not as fast as your Mac either.

Related

Install System/Other apps on iphone simulator

By default when we start iPhone simulator it has only few apps installed.
Is it possible to install other system apps (such as phone, text, map etc) OR or other native apps (such as facebook etc) on my simulator?
Nope. Different architectures—native apps are built for an ARM CPU, simulator apps for an x86 one. The binaries are totally incompatible.
This is not possible at the moment.
This is NOT possible
The Simulator does not run ARM code, ONLY x86 code. Unless you have the raw source code from Apple, you won't see the App Store on the Simulator.
The app you write you will be able to test in the Simulator by running it directly from Xcode even if you don't have a developer account. To test your app on an actual device, you will need to be apart of the Apple Developer program.

How to test an app without its sourcecode and not using iPhone or iPad devices?

I want to do testing on an app which is provided free through iTunes. I do not have the source code of the app, i only have the .ipa file downloaded through iTunes and i do not have an iPhone or an iPad to install it and start my testing on the app . I want to test the app see how it works, write down scenarios and etc without using an iPhone or an iPad. I tried searching for iPhone simulators but i came to know that i cant install any apps on it, installed Xcode but i cannot simulate it until i have the source code which i do not have.
So can anyone suggest me where i can simulate an app which is provided through iTunes without having the source code ? I just want to see the app, what it provides etc without using an iPhone or iPad device
Many Thanks for your suggestions
The app will not run on your Mac. It’s been compiled for the processors in iOS devices, which makes it incompatible with the Intel processor in your Mac. I’d suggest finding a cheap iPhone 3GS or iPod Touch on eBay.

Do we need an iPhone/iPad for its development?

Today i was going through an website and found something over this iphone and ipad development projects. I had a question whether a developer requires an iphone to actually work with or is there any other simulator type device where we can test it out too.
It would be also great if you can share some docs on getting started.
Thanks.
We have applications that run without a problem on the simulator and crash on the device, so I'd say yes. You might delay it for a bit, and work on the main aspects and buy the device later, but you should have it.
You should start at the iPhone Dev center and depending on your knowledge of Objective C, try some tutorials for it. One of the first tutorials I read about Objective C, and which helped me a lot, is here
You can simulate certain gestures and actions while running the simulator: the developer.apple article is here
You can test many aspects without having an iPad.
There are, however, some that you cannot.
Touch
Acceleration sensor
3G internet
much more
I strongly recommend buying an iPad / iPhone to test the user interface. A PC and the iPad have very different user interaction models, it's hard to create a native feeling app without having an actual device.
You can develop with the iPhone SDK which include an emulator. http://developer.apple.com/iphone/index.action but you would probably be better off having one of the devices if your developing a complex application. For working with Camera's or sensors it's best to have a real device to test you code on.
I dont think there are any devices that run the iPhone system. If there are they are probably illegal.
There is emulator build in XCode.
You dont need a device to run your code etc, but try to test the touch and other sensors in the emulator.
So basically if you are planning on shipping something bigger than helloworld you probably should get the Apple device.
There must be an emulator (I'm not sure, that's a guess), but as with any other development you better have a real device as well so that you have better chances of reproducing problems customers will report.
For iPad development you must have Mac OS X 10.6 Snow Leopard

Run iPhone SDK on iPad

I was wondering if anyone knows if you can run the iPhone SDK on an iPad. Tried looking through apple.com, but didn't find anything useful...
I want to be able to develop -- from start to finish -- an iPhone app on the iPad and was wondering if that's possible...
That's unlikely (read: practically impossible). iPhone SDK and Xcode developer tools are designed to run on Mac OS X on Intel x86 processors. iPad's processor is a 1GHz ARM processor. It's a different architecture and is inadequate for running those tools effectively anyway. (This can change if Apple can and be willing to develop a version of said developer tools natively for iPhone OS with sufficient performance).
You can use a text editor on an iPad to write code but you are not likely to be able to compile, test, and debug it.
By the way, in case the device can be jailbroken, you'd be able to run native gcc for iPhone OS to compile your app (as you can currently do with an iPhone/iPod touch too). You won't be able to use Apple's proprietary tools like Interface Builder but you'd be able to compile Objective-C sources and test and debug your app.
There is no reason for Apple to port the SDK to the iPad. There would be way more effort than value in this project.
As for testing on the device, this will work the same was as it does today on the iPhone. You will install a debug App on the device and debug through the cable inside XCode.
No different for the iPad than for the iPhone in this regard.
-t
The jailbreak developer saurik, who created Cydia, has already ported gcc to jailbroken iPhones and I'm sure it will be ported to jailbroken iPads.
Are you asking if you can run applications developed using the iPhone SDK on the iPad or whether you can run the SDK itself, i.e. Xcode and Interface Builder and develop on the iPad? The answer to the former is yes, to the latter (though Apple has not said this explicitly), you can assume the answer is no.

iphone Development

How will you test an iPhone application without the iPhone being available?
The SDK comes with a simulator.
Of course the simulator doesn't really provide true feedback and it is most advised to do most of the testing on a real iPhone or an iPod if you don't own one, you could possibly use some beta testing program and publish your app there, using ad-hoc provisioning and adding UDID's according to requests. You could try "Mechanical Turk".
An iPhone application can be tested (to an extent) using simulators, it is included within iOS SDK. An iPhone application can run on simulators only if you have source code available with you, but cannot run iPhone builds (IPAfiles) directly on simulators.
The simulators have following limitations with reference to testing purposes
1. Accelerometer,
2. Telephony,
3. GPS,
4. Only up to two figure gestures can be simulated,
5. Hardware and memory, as simulators use the MAC hardware and memory etc.
So ideally testing on real device is more reliable rather than using simulators.