当我尝试运行测试时,我经常收到以下错误:
objc[4168]: Class JavaLaunchHelper is implemented in both /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/bin/java and /Library/Java/JavaVirtualMachines/jdk1.7.0_79.jdk/Contents/Home/jre/lib/libinstrument.dylib. One of the two will be used. Which one is undefined.
清理项目总能解决这个问题,但是经常这样做很烦人。我猜测缓存存在一些奇怪的行为,但我并不完全确定。有人能指出我正确的方向吗?