Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6685445
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T05:03:30+00:00 2026-05-26T05:03:30+00:00

I am attempting to create my first ever app to be tested/deployed via: XCode

  • 0

I am attempting to create my first ever app to be tested/deployed via:

  • XCode 4.0.1
  • TestFlight

I cannot get archive to actually produce an archive in XCode.

It always says it has succeeded in building the archive (see image), but I cannot find it in the Organiser and it doesn’t appear in Finder either.

Archive successfully built?

I am doing it for Ad Hoc distribution as per TestFlight instructions for Xcode4

I have done the following.

  1. Created development certificate for the app
  2. Created app ID for the app
  3. Assigned a device The green lights appear for Enabled for
    development and Enabled for Production, and Game Center / In App
    Purchase are active/green.
  4. Created a development provisioning profile
  5. Downloaded all provisioning profiles.
  6. I can launch the app successfully in my device.

Now we get onto distribution.

  1. In certificates, created a ‘Current Distribution Certificate’ for
    the app
  2. In provision, created a ‘Distribution profile’ where ‘Ad hoc’ is
    selected, the app id is selected and the device is selected

Now we get onto following the TestFlight instructions for XCode4

I can do everything except the last part,

Archiving and Packaging
1. Select the iOS Device option in the Schemes drop-down

  1. Under the Product menu, select Archive

  2. In the Organizer window that appears (go to Window -> Organizer if
    it does not), select Archives at the top, your application on the
    left, and the most recent archive at the bottom, and click Share

It simply does not list/show or apparently create the archive.

  • I ensured that the archive and all adhoc setup is as the instructions say.

  • I clean the product, save it as a workspace (this is not in the TestFlight docs, but in Apple’s docs), and verify again that it will deploy in the device.

But when I try to archive it, no archive ever appears.

I have no idea how to solve this, its really annoying.

One video I’ve seen shows a guy click “Enable entitlements”, but I cannot find this option — is this only in the latest Xcode?

There must be an easier way to do all this!

Any help on this would be very useful.

Edits:
I have a video of the process I have taken, if people are interested.
I have no idea what I am doing wrong.
I can find no video that documents this specific process.

A full breakdown of the exact steps I do and use;

Steps @date: 05-10-2011

Sidebar: Certificates > [Distribution tab]

  1. Clicked Request certificate button
  2. Generate CSR with keychain Online certificate status protocol =
    off Certificate revocation list = off

    a. Request CSR from Certifcate Authority b. Enter credentials
    EXACTLY as they are when I signed up to Apple c. Keysize = 2048,
    Algorithm = RSA

  3. Upload this CSR via “Choose file” button & submit

  4. Download ‘distribution_identity.cer’

  5. Double click, it say “Do you want to add the certificate from the
    file ‘distribution_identify.cer’ to a keychain?” with “login”
    selected. I press OK.

Sidebar: Provisioning > [Distribution provisioning tab]

  1. Click new profile

  2. Select ‘Ad hoc’

  3. Enter profile name of “{name of app profile}”

  4. Select App ID of “helloWorld_3oct”

  5. Select iPod to distribute to. Note: it says “the final application
    will run only on these selected devices.” Note: Not sure if I’m meant
    to say “Yes” but I do anyway.

  6. Distribution provisioning profile is now created.

  7. Download the “{nameofapp}.mobileprovision”

  8. Double click on it.

  9. It now appears in the organizer

  10. Close organizer.

  11. Open project.

  12. Add icon and icon@2x.png to project. They appear in .plist file
    for the project They also appear under Targets > Summary

  13. Under project > info

a. Create duplicate release configuration b. Name it “Ad Hoc”

  1. Under project > build settings

a. Make sure everything is set under “iPhone distribution (Amarjit
Deo)” no codes appear in this title. ie: In the development one there
is a code in brackets next to the name.

  1. Under targets > build settings

a. Change code signing identity to “iPhone distribution (Amarjit Deo)”
no codes appear in this title.

  1. Go to Edit Schemes.

  2. In Archive select Build configuration to be “Ad Hoc”

  3. Press “OK”

  4. Make sure “iOS device” is selected (it is not plugged in)

  5. Run Product > Clean

  6. Run Product > Archive.

No errors. Success is reported.

Go to organizer.

No product archives exist at all in the organizer.

  1. Try doing skip install trick Tried Yes/No/Yes combination for
    both product & target, then Product > Archive = No archive Tried all
    permutations, still no joy.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T05:03:31+00:00Added an answer on May 26, 2026 at 5:03 am

    I’ve resolved the issue now!

    Okay, it turns out either XCode was corrupted in download or was conflicting with earlier builds (Even if you uninstall it for some odd reason).

    Here’s what I did.

    1) Re-downloaded XCode (via a better/faster connected line, ie: University)

    2) Used

    sudo /Developer/Library/uninstall-devtools --mode=all
    

    To uninstall Xcode.

    3) Removed all references to XCode that I could find.

    For some reason Xcode installed in Developer and Developer (null) so both these folders I deleted.

    4) Checked existence of ~/Library/Developer/Xcode/Archives and deleted this folder

    5) Cleared out all keychain certificates and re-downloaded all required certificates, including the ones at this address

    http://www.apple.com/certificateauthority/

    6) Went through the entire process with a fine tooth comb, ensured and double checked everything.

    7) Got an archive for a simple app!

    Picture included.

    Thank goodness for that. I’m backing up my computer and all these files and I’m going onto the next stage, TestFlight!

    enter image description here

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm attempting to create my first real C# application - a small pet project
I'm attempting to create my first WCF service. I've created the service and now
I'm attempting to get my first hello world rails example going using the rails'
I'm attempting to create a client/server web-app. The client software is written in Objective-C
I'm attempting to create a table with the first cell left justified, and all
I'm attempting to create a web app that works with business data models, pretty
I'm attempting to do an ad-hoc distribution of my (first) iPhone App to a
I am attempting to create an app where there is a tab bar on
I'm attempting to create a simple example that would just alert the first 5
I've been attempting to create my own app for a band by my friends,

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.