2011-08-26 4 views
0

, 난 몇 가지 경고를 발견하고 있음을 극복하기 위해, 다음, 어떻게 내가 엑스 코드에서 자바 스크립트를 실행하려고 할 때

이 경고는,

[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/binofo.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/excanvas.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jqtouch.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jqtouch.min.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jqtouch.transitions.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jquery-1.4.4.min.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jquery-1.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jquery.1.3.2.min.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jquery.jqChart.min.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jquery.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/jquery.sparkline.js' of type sourcecode.javascript for architecture i386 
[WARN]warning: no rule to process file '$(PROJECT_DIR)/js/urchin.js' of type sourcecode.javascript for architecture i386 
+2

[내 xcode 프로젝트에 js 파일을 추가하는 방법?] (http://stackoverflow.com/questions/2017937/how-to-add-js-file-to-my-xcode-project) –

+0

http://stackoverflow.com/questions/4430786/warning-no-rule-to-process-javascript-for-architecture-armv7/21924281#21924281을 참조하십시오. –

답변

6

이러한 .js 파일을 www에 추가 하시겠습니까? 또는 플러그인? www 인 경우 - 프로젝트를 찾기, 프로젝트 -> www -> 모든 .js 파일을 추가하십시오. 이제 xcode에서 프로젝트를 열고 www를 확인하면 모든 .js 파일로 확장되어야합니다.

플러그인 인 경우 - JavaScript 파일을 추가 할 때 Xcode는 해당 파일이 소스 코드 파일임을 감지하고 컴파일하려는 것으로 가정하고 자동으로 컴파일 소스 빌드 단계에 추가합니다.

Xcode에서 컴파일을 중단하고 파일을 복사하는 것을 중지하려면 그룹 및 파일 목록에서 대상을 확장하고 컴파일 소스 빌드 단계에서 JavaScript 파일을 제거한 다음 Bundle Resources 빌드 빌드 단계에 추가하십시오.

그것은 나를 위해 일했습니다.

관련 문제