有没有办法将某些文件排除在提交到iOS应用商店之外 [英] Is there a way to exclude some files from submitting to the iOS app store

查看:111
本文介绍了有没有办法将某些文件排除在提交到iOS应用商店之外的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在开发一个应用程序,我想提交给商店,我有一些文件是项目的一部分,我不想成为存档的一部分。

I am working on an app that i would like to submit to the store and i have some files that is part of the project that i don't want to be part of the archive.

例如我制作的一些视图控制器文件但不会用于此版本的应用程序或我正在读入数据库的一些数据文件发布。

For example some viewcontroller files that i made but are not going to use for this version of the app or some data files that i am reading into the database that not needed in the release.

我是否必须在创建存档之前删除所有内容,或者我可以选择如何选择不包含它们。故事板上的一些视图控制器也是我必须删除的额外内容吗?

Do i have to delete everything before creating the archive or i can some how choose for them not to be included. Also some of the viewcontrollers on the storyboard are extras would i have to delete them also?

提前致谢!

推荐答案

只有属于您要归档的目标的文件才会包含在归档中并提交给App Store。您可以通过选择文件并编辑右侧文件检查器面板中的复选框来添加或删除目标文件:

Only files that are part of the target you're archiving will be included in the archive and submitted to the App Store. You can add or remove files from a target by selecting it and editing the checkbox in the file inspector panel on the right:

要查看目标中包含的所有文件,请选择您的项目在左侧的文件浏览器中。然后选择您的目标和构建阶段标签。

To see all the files that are included in your target, select your project in the file browser on the left. Then select your target and the Build Phases tab.

复制捆绑资源下,您将看到所有资源将添加到您的应用程序包(和存档)的文件。

Under Copy Bundle Resourses you'll see all the resource files that will be added to your app's bundle (and the archive).

这篇关于有没有办法将某些文件排除在提交到iOS应用商店之外的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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