sending project into personal iDevice - iphone

I have an iPhone 4S with iOS 5.0.1 and also have xcode 4.2. When I try to build & run my app in my iDevice instead of iOS 5.0 Simulator, it pops-up error like this: "No provisioned iOS devices are available with a compatible iOS version." so is there any way to send my app into my own iphone?

You'll need to make sure your device has a provision profile installed that includes the device's UDID and the app's ID. If you're fairly new to iOS development and haven't installed one of your apps on a device before, you'll definitely want to go through the instructions in the iOS developer portal -- they'll walk you through the provisioning process. Also, if you've only recently updated the device to iOS 5, make sure that you tell Xcode to use the device for development.

Did you purchase the iOS Developer Program for 99$/year?
Did you register your Device with your UDID?
Did you install the Team Provisioning Profile on your iPhone?

In order to test your application on an iOS device (such as an iPhone or iPad), you must create an Apple provisioning profile and developer identity. Then you'll also have to create an app ID and register your device. If you have purchased a developer profile, I highly suggest following Apple's step by step guide on how to do this.
For now, here's a guide to to the first steps:
http://www.dummies.com/how-to/content/how-to-create-an-apple-development-provisioning-pr.html
Once you've created a developer profile, you can just use Apple's step by step guide

Related

Unable to deploy iOS app to iPhone with Xcode 7

I recently downloaded the Xcode 7 Beta in hopes of using the new feature that allows you to test apps on your phone without paying their developer fee. I followed the steps in the answer to this question
Test iOS app on device without apple developer program or jailbreak
However, I am unable to choose my device in the scheme because it is under ineligible devices. When I click 'Fix Issue', I get the error "Unable to create a provisioning profile because your team has no devices registered in the Member Center. Please connect a device, enable it for development, and add it to the Member Center using the Organizer." However, I cannot do any of this because I do not have a paid Apple developer account. How can I get Xcode to create a free provisioning profile and allow my phone to be used for testing?
Thanks!
To deploy an app to a device, it has to be registered in the member center. Since this functionality isn't available until iOS 9 is released, you won't be able to run it until then.
Xcode 7 doesn't change anything about that.
Join the developer forums or just log in to the developer centre with your Apple ID and then things will start to work as you will have joined the free tier of the developer program https://developer.apple.com/support/compare-memberships/ and Xcode 7 will show your apple ID as having free ios and mac development under accounts in the Xcode preferences section.
I've had no problems testing on an iPhone 6 and old iPad 3 both with iOS 8.whatever :)
Xcode 7 automatically registers your device, installs two development certificates in your keychain (Mac & iOS) and provides provisioning profile management ... thats kind of the whole point :)

Can't Connect IPhone to Xcode 5.1?

I have registered from Apple.com. Previously I have uploaded app also to apple.itunensconnect.com. I just upgrade my mac os & Xcode and trying to connect iPhone. iPhone is connected to system but in Xcode not showing device name
i am new to Xcode, I have small IPhone Mobile App, I am trying to connect my IPhone to Xcode 5.1 but unable to detect.
In my mac system showing/connecting IPhone. In Xcode not showing?
can any one tell me how to connect iPhone to Xcode 5.1?
thanks in advance..
I would bet that you haven't registered as a paid Apple developer on the Apple Developer Portal.
When developing apps for iOS you are required to register with Apple as an Apple developer. There are 3 options a Free Apple developer Account which doesn't really allow you to do much at all, you can't test on devices, you can't submit to the App Store. There is also the 2 paid options.
Option 1: Is the first paid option for $99 a year which will allow you to create a provisioning profile and submit to the app store Option 1 can be found here
Option 2: Is for more bigger organizations but it cost $299 and can be found here
All the options can be found here
Once you are a fully paid up Apple developer you will need to create a provisioning profile which has your device on it. Once this is all complete you should be able to developer apps for your device.
If you are a paid up developer and have the correct provisioning profile please can you update your question and I will amend my answer.
It could be because
The deployment target is higher than your iPhone version
The supported device is set to iPad

Could I submit app to appstore without ios device?

Today I want submit my app to app store, I created apple ID and prepared app for upload. I created Distribution Provisioning Profile and I prepared everything in xcode but when I change
iPhone Simulator 6.1 -> iOS Device (button archive is unavaible)
Check dependencies
Code Sign error: A valid provisioning profile matching the
application's Identifier 'com.etomek.Ukladanka' could not be found
I thought that I need Developer Provisioning Profile? But I don't have any iPhone/iPad
So Could I submit app to appstore without ios device ?
You do not need a device, and can archive when it's set to iOS Device. The best bet is to test on as many devices as you can, and archive when it's plugged in. Although when it says iOS Device, you can archive. The reason it's grayed out is probably an error in your provisioning profile or certificate. You may want to look under Organizer under profiles or under your build settings.
You need a development certificate for testing locally and distribution certificate for submission to the app store. You need to create a request in keychain then submit it using iTunes Connect, and then download the proper provisioning profiles and certs, and install it in XCode Organizer.
Best bet is to purchase a cheap device like an iPod Touch or iPhone, that can test most of your capabilities (iPod doesn't have most capabilities). You can compile for iPad with iPod or iPhone. So you just need an iOS device that can support your version 4.3+ or 5,6,7.
My previous answer was not correct, but this one is. Trausti was actually correct.
From Official Apple Documentation
To create an archive
For iOS, tvOS, and watchOS apps, choose a generic device or your device name from the Scheme toolbar menu in the project editor.
You can’t create an archive of a simulator build. If a device is connected to your Mac, the device name appears in the Scheme toolbar menu. When you disconnect the device, the menu item changes to the generic device.
Choose Product > Archive.
The Archives organizer appears and displays the new archive.
So you don't need an iOS Device to create an archive and distribute it on the App Store or for beta/ad-hoc testing.
Yes, you can submit your app to app store without having a device.
The error you have is most likely because of incorrect name of your application.
No you can not. Also if you are wanting to do a clean distribution you will need to get a distribution license so you can do the distribution directly from xcode. Here is a good tutorial.
http://docs.xamarin.com/guides/ios/deployment,_testing,_and_metrics/app_distribution_overview/publishing_to_the_app_store
You will need to have a device in order to submit:
You cannot archive the app if xcode is set to simulator
You do not have to run the app on the device, but you must connect
it in order to archive it. That is why the menu is not
avalaible(grayed out)
PS: Also , you do not want to submit an app wihtout testing it on a real
device, that's just my opinion though.

Beta testing an iOS app with iOS 7 beta

I'm working on an application that I want to test on iOS 7, but I have no devices that can run iOS 7.
A friend living far away from me with an iPhone 5 is willing to beta-test the app.
I've added his UDID to my developer profile.
What else would his phone need to test the app properly?
I think he needs the provisioning profile/certificate installed on his phone?
Would his phone then be able to install the iOS 7 beta without any problems?
From my understanding, phones that are not tied to a developer account are bricked if they try to install the beta.
General Notes
Might I recommend you look into http://www.testflightapp.com? Among other things, it will ensure:
You have his UUID without error
He can download your app
You can collect feedback, crash reports, and "checkpoint" information about his usage.
You can enlist the help of others as well using this (and similar) services, making this whole problem a lot easier to manage now and in the future.
How to enable iOS Beta version installs:
Once you're sure you have his UUID, put it into your developer account's device list using the Apple Developer Portal, and he will be able to install iOS 7 Beta using iTunes. You may want to either add his apple ID to your developer account so he can download the beta, or otherwise arrange to get the .DMG to him.
How to distribute your app:
You need to create a distribution profile for your app which includes the device UUID you received from your friend. This can be done on the Apple Developer Portal under Certificates. After you create the profile, download and install it on your development computer. When you create an IPA, be sure to sign it with this profile. You can then use testflight, or some other means to distribute the app.

How to run an iOS Application on a real device

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