2015-01-31 2 views
0

내가 사용하는 경우 내 코드 변환하는 동안 다음과 같은 오류를 얻을 J2Objc Eclipse Plugin : 나는 어떤 옵션이 표시되지 않는J2Objc 이클립스 플러그인 "오류 : --ignore--수입을 누락 더 이상 지원되지 않습니다"

Executing with switches: [ -g --no-package-directories -x objective-c -use-arc --verbose --ignore-missing-imports --prefixes /Users/mg/Documents/Grails/GGTS3.6.2/TEST2Objectc/.TEST2Objectc-prefixes ] 
/Applications/J2Objc/j2objc-0.9.6/j2objc -g --no-package-directories -x objective-c -use-arc --verbose --ignore-missing-imports --prefixes /Users/mg/Documents/Grails/GGTS3.6.2/TEST2Objectc/.TEST2Objectc-prefixes -encoding UTF-8 -d /Users/mg/Documents/Grails/GGTS3.6.2/TEST2Objectc/src /Users/mg/Documents/Grails/GGTS3.6.2/TEST2Objectc/src/java/ios/Test.java 
error: --ignore-missing-imports is no longer supported 

--ignore-missing-imports 플래그를 변경하십시오.

어떻게이 오류를 해결할 수 있습니까?

답변

1

--ignore-missing-imports 플래그 has been removed by J2Objc developer

Because

That flag is only useful when doing a first pass over a large project, and shouldn't be used normally since all that does is ignore an error that will show up when compiling the generated files.

당신은 선택을 취소 이제 어쨌든

, j2objc - 일식은 "가져온 클래스가 클래스 또는 소스 경로에서 발견되지 않는 경우는 번역을 계속"해야

-plugin 개발자는이를 제거해야합니다.

+0

위대한 작품입니다. 감사! – confile

+1

플러그인 개발자가 여기 있습니다. 플러그인이 J2OBJC 0.9.6의 변경 사항으로 업데이트되었습니다. https://github.com/hemantasapkota/j2objc-eclipse-plugin을 참조하십시오. – Hemanta