简体   繁体   English

XCode将文件构建到应用程序中

[英]XCode building files into app

I have a project inside XCode that I'm compiling into a .app file for iOS. 我在XCode中有一个项目,该项目正在编译为iOS的.app文件。 The problem that I'm getting is that the files(non source code files) in my app are being compiled into the wrong directory of my application. 我得到的问题是我的应用程序中的文件(非源代码文件)被编译到我的应用程序的错误目录中。 For example a file thats in myproject/media/intro/movie.avi is being built into myproject.app/movie.avi and it should be built into myproject.app/media/intro/movie.avi 例如,将myproject / media / intro / movie.avi中的thats文件内置到myproject.app/movie.avi中,并且应将其内置到myproject.app/media/intro/movie.avi中。

Does anyone know how to fix this? 有谁知道如何解决这一问题?

to fix this issue, you need to import the complete folder "media" with option 要解决此问题,您需要导入带有选项的完整文件夹“ media”
Create Folder references for any folder added in the folder radio button while selecting folder. 选择文件夹时,为在文件夹单选按钮中添加的任何文件夹创建文件夹引用

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM