skip to Main Content

This is what my Xcode screen looks like before archiving

enter image description here

This is what shows up in the Organizer after archiving:

enter image description here

I recently had done an upgrade to my Mac which I think was because of iOS 14. Any idea what could be going on here?

7

Answers


  1. I don’t know why, but I also had the problem after the xcode 14 version update.

    In my case, it was solved by modifying the version in "Info" tap without changing the version in "General" tap on xcode setting.

    .

    <Custom iOS Target properties on "Info" tap>

    • Bundle version string (short) <<< version
    • Bundle version <<< build number
    Login or Signup to reply.
  2. open info.plist to source

    and change this

    <key>CFBundleShortVersionString</key>
    <string>$(MARKETING_VERSION)</string>
    <key>CFBundleVersion</key>
    <string>$(CURRENT_PROJECT_VERSION)</string>
    
    Login or Signup to reply.
  3. You might have a build settings named GENERATE_INFOPLIST_FILE is set to YES. This can cause your current Info.plist file overriden by current Xcode Build settings , try to set GENERATE_INFOPLIST_FILE to NO.

    Login or Signup to reply.
  4. Open Info.plist file in Xcode and update value column by $(MARKETING_VERSION) in Bundle version string (short) section and $(CURRENT_PROJECT_VERSION) in Bundle version section.

    enter image description here

    Login or Signup to reply.
  5. Go to the explorer, open your project (Base Application here), find the file info, click it, the file will open in the explorer.

    For the Bundle version string (short): $(MARKETING_VERSION)

    For Bundle version: $(CURRENT_PROJECT_VERSION)

    Info.plist version upgrade setting

    Then change the version here:
    Changing the version in the application target

    This should work, but if it doesn’t work, you can specify your version number directly as:

    Bundle version string (short): 2.0.0 (this is your version number)

    And build number as:

    For Bundle version: 1 (this is your build number)

    Also note, you can even open the file with the external editor and change your configurations there Opening the info.plist with external editors

    Hope this helped.

    Login or Signup to reply.
  6. For a watch-only app, select the iOS target and update the value in Build Settings -> Versioning -> Marketing Version.

    Login or Signup to reply.
  7. On XCode 14.2 and possibly earlier, there’s a chance that if you’re setting the new version number and immediately Archive, XCode won’t update the VERSION variables fast enough and leave you with the older ones. You can either set them right away on the Info.plist file, or press enter and move around the IDE screens a bit before hitting Archive. It’s an UX/UI problem foremost.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search