简体   繁体   English

每次编译项目时,Xcode都会复制图像。

[英]Xcode copies images everytime I compile my project.

Whenever I build my current iPhone project, it copies every single picture I've added to the project into a new resources folder. 每当我构建当前的iPhone项目时,它都会将我添加到该项目的每张图片复制到新的资源文件夹中。

I didn't realize this until today but now I have a resource folder thats 1GB full of the same photos that have been copied over and over again. 直到今天我才意识到这一点,但是现在我有一个资源文件夹,里面有1GB的已被一遍又一遍地复制的相同照片。

When I build it says: Copying xAmount of xAmount resources to product 当我构建它时说: Copying xAmount of xAmount resources to product

Is there anyway for me to turn this off so it only copies new images that have been added? 无论如何,我是否需要关闭此功能,以便仅复制已添加的新图像?

Thanks. 谢谢。

在项目上导入资源文件时,请确保选中:“如果需要,将项目复制到目标组的文件夹中”选项。

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

相关问题 我在 android studio 中运行我的 flutter 项目并尝试使用 iPhone 12 模拟器,但每次 Xcode 构建都失败 - I Run my flutter project in android studio and try to use an IPhone 12 simulator but the Xcode builld fails everytime 我的 Xcode 8 有什么问题? 我什至不能编译新项目? - What's wrong with my Xcode 8? I cant even compile new project? 我刚刚从Xcode项目中删除了Images.xcassets文件夹 - I just deleted my Images.xcassets folder from my Xcode project 即使我从捆绑软件中删除了图像,为什么Xcode仍会将图像复制到设备上? - Why would Xcode still copies images to device even though I removed them from bundle? 如何将文件夹中的图像列表上传到我的xcode项目中? - How can I upload a list of images from a folder into my xcode project? 我是否应该在我的Xcode项目中放置启动图像和应用程序图标 - Should I place Launch Images and App Icons inside my Xcode project 无法使用libxml2和XCode 4.4编译我的项目 - Unable to compile my project with libxml2 and XCode 4.4 如何使用iOS7.1在xcode6中编译我的项目? - How to use iOS7.1 to compile my project in xcode6? 为什么我的Xcode项目仅在工作空间中时才编译? - Why does my Xcode project compile only when it's in a workspace? 无法在新的Xcode项目中安装Alamofire。 “没有这样的模块Alamofire” - Cannot install Alamofire in new Xcode Project. “No Such module Alamofire”
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM