type sourcecode.glsl for architecture i386问题解决方法

warning: no rule to process file '/Users/apple/Desktop/权祥/OpenGL/eeeee v0.2/eeeee/Shaders/Shader.fsh' of type sourcecode.glsl for architecture i386

type sourcecode.glsl for architecture i386问题解决方法_第1张图片

可以看到上图红色圈的Shader.fsh文件在Build Phases--> Compile Sources 里面,一般加入资源到项目中都会放到这个位置,就是因为放在这个问题,所以会显示错误。

如何解决,在看图中的蓝色圈,只要把原来放在Compile Sources 里的文件删除,然后再Build Phases--> Copy Bundle Resources里面添加,这个问题就解决了。

你可能感兴趣的:(type sourcecode.glsl for architecture i386问题解决方法)