I'm only one month into my iOS development, and already have a sweet gps app running perfect on the iPhone simulator. I'm about to pay the 99 USD to be able to try out the app on my real device (iPhone 4). My question is: can I unplug the device after downloading the app. What I mean is, can I test my app unplugged from my computer without the whole process of submitting it to app-store etc.
If I can't, then I have to run around town with my laptop + iPhone for testing. That's pretty dumb.
This is not an issue.
You can provision a certain number of phones to work with your developer license, and install and run your app on it. It will look just like any other app.
Good luck!
If you install and run with your team provisioning profile you can also run the app from your iphone without a certificate. :)
The short answer is, "Yes, You can".
What everyone said about provisioning, and multiple devices and everything was correct.
From a simplistic point of view - when you run your app in the debugger (connected to the iPhone) - it actually installs it on your iPhone. So when/if you disconnect the phone from the debugger - it's still on your iPhone - and can be run just as any normal app.
(With respect to your other question)
You can provision certificates for up to 100 devices. So if your friend has a device, you can get his "UDID" (avaialble via iTunes). You can email him a provisioning profile (you generate) for his device and a copy of your app (provisioned under that profile). He drags-and-drops both into iTunes - syncs, and he has the app running on his machine.
Note that these types of certificates only last for 3 months - so you'll need to generate a new one for him - or give him a "real" copy from the AppStore after release.
Related
I am a new iPhone developer and I have an app that I want to install on a tester's phone. This is to test before it gets submitted to the app store. I won't have access to the physical phone. I want to send them a package to install. First, is this possible? If so, what is the best way to go about it? Thanks.
Try using the Test Flight service.
The following services is used to Test the Beta Testing in Mobile Applications.
TestFlight - beta distribution of iOS apps (Not used jailbroken devices).
knappsack - It allows air installation of your apps
hockeyapp - It work All Platforms Except Blackberry
appblade - supports all three of the platforms you are looking for.
You can also generate an IPA file (Build and Archive / share) and send it to your tester. He will be able to install it to his device using Itunes.
If his device is not jailbroken then you will need to add his UDID to the mobile provisioning you are using to sign the application.
If you need more detail about anything, I will expand this answer.
Good luck!
I had developed an iOS Application using PhoneGap Framework. It's working good and well in simulator. Now I would like to test it in real device i.e iPhone 5 with iOS 6.0. I Googled thoroughly. I have two ways: jailbreak the device (not acceptable to me) or bidding the account in Apple portal.
Is there any other way to test my device my application in real device? Is there anybody here to solve my issue?
The official way is to enter the iOS Developer Program (99$), so that you will get the possibility to create certificates and provisioning profiles required. You will also get the chance to distribute your apps through the App Store.
If you are not willing to do it, the other way is jailbreaking your device, which is basically a way to circumvent the need to use certificates for your apps. Your app would then be distributed through an alternative app store like Cydia (i.e, no Apple App Store).
A third option could be getting in touch with an iOS developer friend of yours, and ask him/her to build the app for your device, so you can install it through iTunes.
There are no other options.
You have to register for a developer certificate in Apple.Developer.Then create provisioning profiles and install it. Otherwise you cant install your app in a real device.
You can refer this link for more info
I live in New York, my client lives and works in Chicago, I'm developing IOS Apps to run on iphone and ipad for his company, and so far, I've been sending him screenshots of what the App looks like.
I do feel the need of finding a way to make it run on his iphone and ipad in order to allow him to have a look and feel of the solution and browsing it. Today I can just run on my own devices which are connected to my mac and installed when I compile from XCode...
Any ideas?
You can send him Ad Hoc builds, but I really recommend using TestFlight.
You will create adhoc builds and send it to them. You will need to get the UDID of their devices and do a special build for it. You can look at the apple documentation in the provisioning portal on how to do this.
If you don't want to bother having UDIDs or building for each device (as is the case for Ad-Hoc builds), checkout enterprise distribution. I've done it and is REALLY comfortable. I would also recommend checking out TestFlight before this, though.
My boss wants me to develop some apps and make them appear on the AppStore.
This is a very small company, he paid the iPhone developer program fee and I am responsible for the rest, I have full access to the account.
I've finished the development on my mac using the simulator. But now I have to test the app on an actual iPhone before it's submitted to the AppStore for review.
The problem is that my boss and I both do not own an iPhone and do not have much money to buy one.
My friend has one and he can test the app for me if I can provide him with a way to download and install the app (his PC has Windows XP and iTunes installed), we live far from each other so it's not feasible to borrow his iPhone and have it directly connected to my mac and run the Xcode to do the testing.
I am going to skip the Development Provisioning Profile stuff and directly jump into the distribution stage.
I would like to know whether the app file created in the distribution stage (the one to be uploaded to AppStore) can be copied into a Windows platform and have it installed on an iPhone.
I'm not sure why you want to skip that part of the process, since that's how you'll test your app on an actual device, before getting to the App Store approval process.
If you log in to the Apple iPhone Developer Center, you can click on the Provisioning Portal link to download the Program Guide.
Within this PDF, go to the sections "Assigning Apple Devices to your Team" and "Creating and Downloading Development Provisioning Profiles" to learn how to build a copy of your app that can run on test devices.
What you're looking for is ad-hoc distribution, which will allow you to hand this application, along with your provisioning profile, to your friend and have him install it in iTunes under Windows. You will need to get the device ID from him first (found in iTunes when the device is connected) to create the proper provisioning file. Apple has thorough instructions on this in the iPhone portal site.
That said, this is a terrible way to do iPhone development. First, not owning an iPhone means that you are probably not familiar with its application UI conventions and how the device behaves in day-to-day use. Things that seem like good ideas when working in the Simulator, which is a mouse-driven environment running on a nice, large monitor, turn out to be unusable on a portable device.
The device also has vastly different performance characteristics than your Mac does. Your friend may be able to point out a few things going wrong, but you really need to hook the device into your Mac and run your application while monitoring Instruments for memory consumption, CPU usage, and other parameters that might point out leaks or other subtle problems. It is for this reason that I spend days hammering on each version of my application on the device before submitting to the App Store.
If you are at all serious about iPhone development (which, judging from the line "develop some apps and make them appear on the AppStore", you are), you need to at least pick up an iPod touch for development. If college kids can pay for one to develop applications on, your company certainly can. Check eBay, where I'm sure people are offloading first-generation models for relatively cheap.
Like #Brad Larson said. Get a iPod Touch, I see some 1st gen ones on ebay for $90. Realistically if even a new iPod Touch is too much money for your employer then I'd start looking for a new job. If an employer is too broke to buy you equipment to do your job that costs less then 1 day of work for you it won't be long before they can't pay you. Been there and still trying to get back pay...
We have paid developer account for iphone development and we have 2 iphones one jail broken and other one non jail broken. We have registered both phones for development and got provisioning profile. We can use non jailbroken phone for development. But we try to use jail broken phone for development we get message Error starting executable no Provisioned iphone device is connected.
But We can test application on it using ad hoc profile.
Does this means jailbroken devices can not be used for development?
Regards,
Manish
I personally do development/testing on jailbroken devices (I find that it is nice for profiling/debugging with all the UNIX tools available, as well as testing out code for checking for tampered plist files ;-) ) as well as non jailbroken devices.
I have not had any problems specifically with jailbroken devices, as they behave exactly like stock standard firmwares..
Have you:
Added the UDID to the provisioning profile
Tried removing and adding the provisioning profile in XCode organizer
Rebooting the phone then trying to build an app targeting the device
I personally am paying the $99 per year and use my iPod Touch 2G (jailbroken) for development purposes. I have seen no disadvantages to using jailbroken devices for development. I have actually seen some advantages to using jailbroken devices.
I have no any problems with development for jailbroken iPhone. Moreover I like to use several advantages... for example full-featured UNIX console environment into device.
In additional using jailbroken iPhone may help developer better understand how iPhone/OS/Environment works at low level.
You may add new Target to your project and use it if you connect jailbroken device.
You just need to add two keys for new target in User-Defined Settings (Target->Get Info->"Build" Tab->Show "User-Defined Settings")
PROVISIONING_PROFILE_ALLOWED NO
PROVISIONING_PROFILE_REQUIRED NO
So you will have two very similar targets... one for jailbroken and second for povisioned iPhone.
Be warned - the iPhone Developer agreement now bans you from jailbreaking your phones:
http://news.softpedia.com/news/iPhone-Developer-Agreement-Bans-iPhone-OS-Jailbreak-108599.shtml
I'm not sure what you should do if, say, you want your application to disable itself on jailbroken phones - how would you test it?
Jailbroken devices won't work with push notification. I lost almost one day with one such device. So better stay away from jail broken device for development .