Closed dsrees closed 7 years ago
You should also update the error message, so that when others encounter this issue, then it direct the user to the FAQ item. Then the FAQ item needs to be expanded to explain that it's one of two errors: 1) Cocoapods not installed and 2) The path issue you explained.
Here's the section to update: https://github.com/j2objc-contrib/j2objc-gradle/blob/master/src/main/groovy/com/github/j2objccontrib/j2objcgradle/tasks/XcodeTask.groovy#L246
Here's what to replace it with:
String message =
exception.toString() +
'\n' +
'Please see this FAQ item for help:\n'
'https://github.com/j2objc-contrib/j2objc-gradle/blob/master/FAQ.md#how-do-i-resolve-command-line-failed-pod-install'
Please see this notice about the future of the J2ObjC Gradle Plugin: https://groups.google.com/forum/#!topic/j2objc-discuss/jQ_eyW9nxmQ
Closing pull request as the plugin is no longer being actively maintained. You're welcome to fork the project.
Addresses the problem discussed in issue #496