TestFlight and Xcode5 - xcode

Can someone please post a step by step guide on how to distribute an app for testing using TestFlight and XCode5 that is complete, works, and simple? I already read the TestFlight and Apple docs and I still don't get it.

Here's how I just did it:
In Xcode5..
Select a real device at the top, (i.e. iOS device) instead of a simulator.
Select the Product / Archive menu option
This will generate an archive and open the Organiser on the Archives tab.
Click 'Distribute…'
Choose 'Save for Enterprise or Ad Hoc Deployment'
Click 'Next'
Choose a provisioning profile from the list
Click 'Export'
Choose where you want to save it. (I didn't select 'save for enterprise distribution')
You now have a .ipa file to upload to TestFlight

This is best practice for distribute app.Please see below step...
1>Go to Project,Archive app.
2>In archive,click on distribute.
3>Click on save for enterprise or ad hoc deployment and save ipa file to your desktop
4>open https://testflightapp.com/dashboard/ and login
5>After login,click on upload your build button
6>Next click on drop your ipa file.Select .ipa file from desktop and upload it.
7>Selct provisioning profile by tick check mark and click update and notify button.
8>After clicking update and notify,Please click on share build button below update and notify.
9>Also you can see this share option by clicking permission on right hand menu.
10>After clicking share button,you need to provide your email id for showing testflight app in your mail inbox.
11>open test flight mail into your device and click on install button.
12>app automatically open testflight in your device,Please login with testflight,click on install profile button
13>After all click on app just you upload,click on install button. app will automatically install in your device.
Please tell me in case of any query regarding this.
Thanks

Related

xcode submission app unable to upload

I've got a problem uploading an app on the app store. I have a developer account since this morning.
I've done all the certificate but when I arrive in the organizer, when I click on download dsyms it's said that I've no account (and the upload button is greyed out).
When I click on add account, I see my account
(See the screenshots)
Thanks for your help
Go to iTunesconnet and sign in there, then create your app details there, remember, you must have to provide the exact version of your app to the iTunesconnect. Then, when everything you done in iTunesconnet, then try to upload your app with your correct distribution profile.
Thanks

how to reject binary in new iOS iTunes Connect UI?

I have uploaded an app to iTunes Connect but because of authorization, app has got rejected. Now i need to upload new binary so i have followed below steps as per the new iTunes Connect UI :
First You have to upload a binary again from Xcode or Application Loader. There is appear you last setup Build with Version number select it and upload again.
Then, wait for some processing time and open your iTunes Connect account. You can check your uploaded build in Prerelease tab
After processing finish In Build section Click on + button and select a correct binary that you have uploaded and save.
After that you may click on Submit for Review Button. And it may take some time for uploading on iTunes again
I have followed the same procedure for my problem and am getting the attached screen, but the problem is after click on "Submit for Review" Button my app is status is not changing and still "Rejected" with red bubble.
Can you please help me to upload my app with status "Waiting for Review" to the iTunes Connect?
Thanks alot!
here is my solution for the same problem:
Suppose if you have uploaded your app binary build and version with 1.0 before, which has got rejected unfortunately from iTunes Connect. So, for upload the new binary.. you don't need to change the binary and App version, it should be 1.0. Once you will submit the new binary from XCode or Application Loader, it will automatically update in your iTunes Connect Prerelease tab as below screenshot.
Now, you need to go to the Build tab (you can find in the bottom of the new UI iTunes Connect screen), there you can get your current uploaded binary.
Click on plus (+) button to select your binary and SAVE this build. After this, you will get one button "SUBMIT YOUR REVIEW" on your top of the iTunes Connect screen.
Just tap here and your new binary will upload to the iTunes Connect with status "Waiting For Review".
Thanks to all, please feel free to ask for any clarification regarding the same.
Good luck!

Add device to auto-generated Xcode 5 provisioning profile

I have created a simple project with XCode 5.
When I have created the project, XCode automatically generate the provisioning profile for my app. (I see it on my provisioning portal).
But now I added and removed some devices from my device list.
Is there a way to add a devices to provisioning profile generated by Xcode 5.
Thanks
This is what worked for me:
Go to Apple development portal and add the device (UDID) as you normally do. Till now the UDID is not added to your provisioning profile.
In Xcode, go to project settings and select Add an Account from the Team dropdown.
A dialog will pop up. Just press Cancel. (if xCode automatically generated Profiles that means you'd already have the account setup. You don't need to add a new account)
Now from left side, select the Apple account this project belongs to.
Click View Details
Now just click the refresh button at the bottom left side of the window.
It will take some time to refresh, but when it finishes, the UDID will be added to your X-Code generated Provisioning Profile.
Right click on the on your device and select "Add Device to Member Center". That will add your device to your provisioning portal.
Per XCode 5, provisioning profiles are managed by XCode 5. You see this in your Developer account.
If you wish to develop, you should create a new profile by clicking [+] on the top right and selecting "iOS App Development". You can then select which device you would like to add to this profile. Later on, you can add additional devices.
Apparently from Xcode, profiles that are managed by Xcode can not be altered.
I deleted the provisioning profile from iOS Provisioning Profiles on developer.apple.com and then xCode automagically regenerated it with the new devices added.
Took a few "update please" in Preferences->Accounts->Provisioning Profiles in xCode before the change happened.

A valid provisioning profile matching the application's identifier could not be found

This has been asked before, but the answers to previous questions are not solving my issue.
I'm trying to build a simple Hello World app called (CalculatorBrain) from Stanford iTunes U courses. I can run it in the Simulator fine, but I'd like to get it on my iPhone 4S.
I sync my iPhone 4S through iTunes on my Windows machine. Always have. Figured I should list this detail.
Anyway, back to my Macbook (Mountain Lion). I'm running the most recent XCode 4.6.2 (4H1003) and my iPhone is also the most recent at 6.1.3 I believe.
I went to the Provisioning Portal at the Apple developer page. I added my 4S. I called it JohnSmith, and gave it the phones UDID.
In XCode, I opened the Organizer, Devices is highlighted by default. I put the passcode in my iPhone, and plugged it into my Macbook. Devices finds my iPhone. If I click on Provisioning Profiles and try 'Add Device to Provisioning Portal', I get a "A device with number already exists on this team." Great. I know it's added for sure then. All good news so far.
In my Hello World app, CalculatorBrain-Info.plist my Bundle Identifier is "com.JohnSmith.CalculatorBrain". Bundle display name is "${PRODUCT_NAME}" and executable file is "${EXECUTABLE_NAME}" if that matters.
In the Navigator, if I highlight my project, and bring up the Build Settings, under Code Signing Identity I get the options...
Don't Sign Code
Automatic Profile Selector
- iPhone Developer
- iPhone Distribution
Identities without Provisioning Profiles
- iPhone Developer: John Smith (R............K)
- iPhone Distribution: John Smith (Y.............5)
Other...
I've tried all of these. I'm assuming I'm supposed to use the iPhone Developer: John Smith one... but it's saying it's an identity without Provisioning Profiles.
What's going on here? What do I need to do to get this to work?
Based on your description, it sounds like the missing element is that you need to go back to the 'Certificates, Identifiers, and Profiles' tool, generate a Development Provisioning Profile for the AppID of your HelloWorld app, then install that profile on your development machine. At a high level, this is composed of the following steps:
Locate the AppID for your project in Xcode.
Verify that you've setup that AppID in 'Certificates, Identifiers, and Profiles'.
Create a Development Provisioning Profile for that AppId, your development certificate, and one or more registered test devices.
Download and Install the Provisioning Profile in Xcode.
Configure your project to Code Sign using this Profile and Linked Code Signing Identity.
Build to device!
The 'Code Signing Identity' build configuration item you have mentioned is very much dependent on both your project's settings as well as the Provisioning Profiles available on your development machine. I recently answered a tangentially related question 'What are code signing identities?' that may be helpful in seeing what information Code Signing is using and how you can check that you've got your development machine setup to be able to Code Sign your project.
...and now, on to more specific HOWTOs to help work through your Code Signing question:
Locating Project's AppID
The AppID uniquely defines an application in the iOS ecosystem and is one of the things you first create when starting a new Xcode project. This AppID is what you need to register in the 'Certificates, Identifiers, and Profiles' tool to get started with Provisioning.
In the Project Navigator (CMD+1), click on your project name (likely 'CalculatorBrain'). This will present the project's settings.
Select [Your Project Name] > Summary Tab as shown in the screen clipping from above (MyiOSApplication).
Your iOS AppID is presented in the 'Bundle Identifier' field. Snag a copy of this string, you'll need it next.
Verify (or Setup) the AppID
Navigate to http://developer.apple.com/ios and access the 'Certificates, Identifiers, and Profiles' tool.
After logging in, select 'Identifiers'.
Check that the AppID you found in the previous section is present in the list of App Identifiers. If so, take note of the App ID Name and skip to the next section, otherwise...
Click the 'Add' (Plus) button in the upper right corner, provide a name for this App ID (can be whatever you want, just so long as it doesn't have special characters.)
Scroll to the bottom of the page, and paste a copy of your App ID from the previous section in the 'Bundle ID' field. under 'Explicit App ID'.
Click 'Continue'.
Do note that the AppID must be unique across the iOS Ecosystem -- you may get an error if the AppID you've selected is already in use. If so, change your 'Bundle ID' to something unique -- just be sure to update the 'Bundle ID' setting in your Xcode project to match whatever you settle on.
Creating a Development Provisioning Profile
Now that the App ID is registered, you are now ready to create a Development Provisioning Profile linking your App ID, Development Certificate, and Test Device ID(s) together.
Within the 'Certificates, Identities, Profiles' tool, navigate to 'Provisioning Profiles'.
Click on the 'Add' (Plus) button in the upper right corner.
Select 'iOS App Development' in the 'Select Type' step and then click 'Continue'.
Select your App ID from the drop down list of App IDs and then click 'Continue'.
Check the box next to your Development Certificate and then click 'Continue'.
Check the box next to the test device(s) you want to authorize to install this app and then click 'Continue'.
Key in a Profile Name (again omitting special characters) then click 'Generate'.
Download and Install Provisioning Profile
Once the Provisioning Profile is generated, the tool will provide you with a link to be able to download
Download the Provisioning Profile by clicking on the 'Download' link.
Drag Provisioning Profile from your Download location and drop it on the Xcode Dock Icon or double-click to open it.
Configure Code Signing Identity
Sounds like you already know where this is located, but just in case:
In the Project Navigator (CMD+1), click on your project name (likely 'CalculatorBrain'). This will present the project's settings.
Select [Your Project Name] > Build Settings Tab.
Scroll to the 'Code Signing Identity' item.
In theory you would like to use the 'Automatic Profile Selector' option which will attempt to match your AppID to an installed Provisioning Profile, but you can also scroll through the list and pick a specific mapping of Bundle ID/AppId to iOS Certificate.
Also, my own Xcode doesn't always seem to catch on to changes to freshly-installed provisioning profiles -- It is unclear if this is just a quirk of my own Xcode install or if there is a bug in Xcode. Either way, quitting and relaunching Xcode seems to trigger a reindex/refresh of profiles.
Anyway, select the option that matches your AppId/BundleId and your Developer Certificate.
Assuming the problem was a missing/incomplete/expired Provisioning Profile, then this should help get you up and running. If not, we'll have to dig into other potential settings or certificates issues that could be tripping up your Code Signature operation.
I had very similar kind of problem, tried every option to those Code Signing's and the actual solution to mine was:
- Restarted Xcode
- Go to "Window->Organizer"
- Then "Editor" and
- "Refresh from Developer Portal"
Then I just "Set the active scheme" to "iPhone (Petri)" on beside the Run and Stop buttons.
Please make sure Targets is checked instead of projects.
In my case device has 3 provision profiles of the same name. During development I updated provision profile a few times and every time new updated profile was added to device without removing the old one. So xcode searched first provision profile wich was wrong at that moment and throwed error in my face.
So, what should you do:
Open "Devices" window (Cmd + Shif + 2)
Search for your Device and select It
In the left bottom corner press on the "settings" button
Press "Provision profiles"
Search for dublicates. I found 3 items of profiles with the same name
removed all but the latest one

Xcode 4.3.2: "No identities were available" - Where to request a Dev Identity?

Hey I have a problem with the validation and upload of apps to the app store with the new version of Xcode (4.3.2)
I installed the new version and now can not longer submit and validate apps.
I only see the following screenshot:
http://i.stack.imgur.com/mTpvT.jpg
Can someone tell me WHERE in the dev center ore in iTunes connect I can request an identity?
THX a lot
Laurenz from Germany
The same thing happened to me. This is how I fixed it:
Login to the iOS dev center
Click "iOS Provisioning Portal" on the right
Click "Provisioning" on the left
Click "Distribution" tab at the top
(You should see your distribution profile. If there is nothing there, then you have a problem and will need to create one.)
Click download next to the profile
Open the downloaded file with Xcode.
You're done!

Resources