ラベル error の投稿を表示しています。 すべての投稿を表示
ラベル error の投稿を表示しています。 すべての投稿を表示

2011年3月18日金曜日

Xcodeでパッケージにファイルがコピーされない

cinder上でGLSLをいじっていて
warning: no rule to process file '$(PROJECT_DIR)/hoge/FlatShader.frag' of type sourcecode.glsl for architecture i386
warning: no rule to process file '$(PROJECT_DIR)/hoge/FlatShader.vert' of type sourcecode.glsl for architecture i386
warning: no rule to process file '$(PROJECT_DIR)/hoge/NormalMap.frag' of type sourcecode.glsl for architecture i386
warning: no rule to process file '$(PROJECT_DIR)/hoge/NormalMap.vert' of type sourcecode.glsl for architecture i386
という警告がでてパッケージに該当するファイルがコピーされなくなった。

左のカラムの”ターゲット”を開くと、”ソースをコンパイル”にGLSLのファイルが入っていたので、”バンドルリソースをコピー”にドラッグする。そうすると警告がでなくなり上手く動くようになった。



単純だけど、いきなりなって焦った。 .vertや.fragって前からこうだったかな?