用于企业发行版的Xcode构建和存档可构建旧存档 [英] Xcode Build and Archive for Enterprise Distribution builds old archive

查看:95
本文介绍了用于企业发行版的Xcode构建和存档可构建旧存档的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在为内部分销企业级别创建一个应用程序.我已经创建了该应用程序,并测试了将其托管在自己的服务器上,甚至还可以单击安装.现在,尽管我对该应用程序进行了一些更新,但是我进行了编辑,甚至在模拟器中看到了它们.构建并存档应用程序后,一切似乎正常,然后转到组织者窗口中的存档项目,单击共享"按钮并分发给企业,输入诸如ipa最终URL和应用程序标题之类的详细信息,然后单击确定".救.然后,我将应用程序上载到服务器并更新所有链接以指向该新应用程序.单击安装仍然可以正常工作,但是会安装旧版本的应用程序.我什至在新设备上尝试过.我的任务是告诉Xcode构建一些版本吗?如果是这样,我不知道模拟器如何很好地显示更新,但是构建的存档没有显示最新代码.我在模拟器目录中可以找到的应用程序文件大小为9.4MB,但是在构建和存档后保存的应用程序仅为1.4MB(更新涉及大量添加的图像),因此存档的构建甚至没有获取新文件?

I'm working on creating an app for in house distribution enterprise level. I've created the app and tested hosting it on my own server and even getting the click to install working. Now though I have some updates to the app, I make the edits and I even see them in the simulator. When I build and archive the app things seem fine, then I go to the archived project in the organizer window, click the share button and distribute for enterprise, I enter details such as the ipa final url and the app title and then ok & save. Then I upload the app to my server and update any links to point to this new app. The click to install still works properly, but it installs the old version of the app. I've even tried this on a new device. Is there some step I'm mission that tells Xcode some version to build? If so, I don't get is how the simulator shows the update fine, but the archive that is built is not showing the latest code. The app I can find in the simulator dirs is 9.4MB in file size, but the one that is saved after build and archive is only 1.4MB (the update involves a lot of added images), so is the build for archive is not even getting the new files?

推荐答案

我发现了这个问题,并认为我应该发布它,以防它对其他人有所帮助.

I figured it out and thought I should post it in case it helped someone else.

我清理了项目.

Build> Clean-并不是"Clean"应该执行的工作的100%,但是它允许项目从当前文件而不是旧文件进行构建.

Build > Clean - not 100% on what "Clean" is supposed to mean/do, but it allowed the project to build from the current files rather than the old files somehow.

这篇关于用于企业发行版的Xcode构建和存档可构建旧存档的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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