当我使用J2Objc Eclipse 插件时,在翻译我的代码时出现以下错误:
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
标志的选项。
我该如何解决这个错误?