Update generate-objc-dependencies-to-json.rb

Add support for AppCode 3 and further ;)