是否可以更改构建号。归档iOS项目后? [英] Is it possible to change the build no. after archive an iOS project?

查看:116
本文介绍了是否可以更改构建号。归档iOS项目后?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我提交给iTunes Connect for Testflight beta测试版的iOS应用程序版本几乎已过期。 AFAIK为了延长30天的试用期,我需要再次提交,但增加的构建版本。由于我存档的代码库很久以前,我不想将代码库还原到该版本并再次存档。我只是想知道是否有任何可能的方法来更改已归档的iOS项目的内部版本号。我想再次提交版本1.3.6(1.3.6.8,已经在iTunes Connect中进行beta测试),如下所示。

The version of the iOS app I submitted to iTunes Connect for Testflight beta testing is almost expired. AFAIK in order to extend the 30-days trial period I need to submit it again but with an incremented build version. Since the code base I archived is long time ago and I do not want to revert the code base to that version and archive it again. I just wonder if there is any possible way to change the build number of an archived iOS project. I would like to submit version 1.3.6 (1.3.6.8, which is already in iTunes Connect for beta testing) again as shown below.

推荐答案

如果您还有原始档案,那么当然。 Xcode Archive只是一个具有特定层次结构的目录。

If you still have the original archive then of course. An Xcode Archive is just a directory, with a specific hierarchy.

你应该


  1. 打开Xcode管理器 - 问题屏幕截图中的那个

  2. 右键单击要修改的版本

  3. 选择显示在Finder中

  4. 右键单击存档文件(类似于:ProjectName 9-8-15,7.34 AM.xcarchive)

  5. 选择显示包装内容

  1. Open the Xcode Organizer - the one on the screenshot in your question
  2. Right click on the version you want to modify
  3. Select "Show in Finder"
  4. Right click on the archive "file" (something like: "ProjectName 9-8-15, 7.34 AM.xcarchive")
  5. Choose "Show Package Contents"

您应该使用搜索工具扫描文件夹以查找每个文件中的版本号。对于基本的iOS应用程序,它足以修改两个文件: Info.plist dSYMs / YourProjectName.app.dSYM / Contents / Info.plist

You should use a search tool to scan through the folders to find the version number in every file. For a basic iOS app it's enough to modify two files: Info.plist and dSYMs/YourProjectName.app.dSYM/Contents/Info.plist.

此时您已完成,但组织者未接受更改。你可以复制整个 .xcarchive 文件/文件夹,并用一分钟更改日期。重新打开管理器,你就可以在那里获得新版本。

You're done at this point, but the organizer does not pick up the changes. You can just duplicate the whole .xcarchive file/folder and change the date with like one minute. Re-open the Organizer and you'll have your new version there.

实际上,你应该只保留原来的 .xcarchive 原样,然后在打开Show Package Contents之前复制它。

Actually, you should probably just leave the original .xcarchive as it is and start with duplicating it before opening with "Show Package Contents".

这篇关于是否可以更改构建号。归档iOS项目后?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆