GithubHelp home page GithubHelp logo

Comments (8)

brunobowden avatar brunobowden commented on August 22, 2024

There's a couple of ways to install integratej2objc as that's what's
causing the issue. I had the other method fail for other people, so I did
that fix.

Try doing the bundle install and seeing if that works for you then:
https://github.com/developertown/integratej2objc#installation

On Wed, Apr 22, 2015 at 4:31 PM Confile [email protected] wrote:

I recently updated to the latest version of the J2objcXcodeTask and got
the following error while running gradle j2objcXcode --info:

Executing task ':j2objcXcode' (up-to-date check took 0.0 secs) due to:
Task has not declared any outputs.
Starting process 'command 'bundle''. Working directory: /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/test-core Command: bundle exec integratej2objc integrate_source -p /Users/mg/Documents/Grails/GGTS3.6.3-SR1-2/test-core/../Test -x Test.xcodeproj -s ../test-core/build/j2objc -g j2objc-generated -t Test
Successfully started process 'command 'bundle''
Could not locate Gemfile or .bundle/ directory
:j2objcXcode FAILED
:j2objcXcode (Thread[main,5,main]) completed. Took 0.198 secs.

When I replace:

            executable "bundle"

            args "exec"
            args "integratej2objc"
            args "integrate_source"
            args "-p", "${xcodeProjectDir}"
            args "-x", "${xcodeProject}"
            args "-s", "${srcFolder}"
            args "-g", "${xcodeJ2objcGeneratedDir}"
            args "-t", "${xcodeTarget}"

with

            executable "integratej2objc"
            args "integrate_source"
            args "-p", "${xcodeProjectDir}"
            args "-x", "${xcodeProject}"
            args "-s", "${srcFolder}"
            args "-g", "${xcodeJ2objcGeneratedDir}"
            args "-t", "${xcodeTarget}"

It worked without problems.


Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/37.

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

I did installation with bundle. Did not work this way.

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

@brunobowden Bruno I still have the problem that when using the Xcode task the generated folder generated on each task execution. It should be removed and then generated. Are you able to fix this?

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

@brunobowden We should mark this J2objcXcodeTask as deprecated.

from j2objc-gradle.

brunobowden avatar brunobowden commented on August 22, 2024

Let's talk about this on June 2nd

On Thu, May 21, 2015 at 7:19 AM Michael Gorski [email protected]
wrote:

@brunobowden https://github.com/brunobowden We should mark this
J2objcXcodeTask as deprecated.


Reply to this email directly or view it on GitHub
https://github.com/brunobowden/j2objc-gradle/issues/37#issuecomment-104233374
.

from j2objc-gradle.

confile avatar confile commented on August 22, 2024

What is on June 2nd?

from j2objc-gradle.

advayDev1 avatar advayDev1 commented on August 22, 2024

can we close this won't fix? @brunobowden

from j2objc-gradle.

brunobowden avatar brunobowden commented on August 22, 2024

won't fix => working instead on new version with CocoaPods

from j2objc-gradle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.