j2objc-contrib / j2objc-gradle

This plugin is no longer actively maintained. J2ObjC Gradle Plugin: enables Java source to be part of an iOS application's build so you can write an app's non-UI code (such as application logic and data models) in Java, which is then shared by Android apps (natively Java) and iOS apps (using J2ObjC), all as part of your usual Android Gradle build.
https://github.com/j2objc-contrib/j2objc-gradle
Apache License 2.0
139 stars 43 forks source link

Update FAQ to resolve pod install command failure #592

Closed dsrees closed 7 years ago

dsrees commented 8 years ago

Addresses the problem discussed in issue #496

brunobowden commented 8 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'
brunobowden commented 8 years ago

Please see this notice about the future of the J2ObjC Gradle Plugin: https://groups.google.com/forum/#!topic/j2objc-discuss/jQ_eyW9nxmQ

brunobowden commented 7 years ago

Closing pull request as the plugin is no longer being actively maintained. You're welcome to fork the project.