Code Monkey home page Code Monkey logo

Comments (6)

KirtyKumari avatar KirtyKumari commented on May 23, 2024

Hi John (@johnno1962) ,
I tried running the injection app using code also,
In "InjectionServer.mm" file in runInBackground method the value of project file and derived logs were not proper, so I hardcoded the directory path. Now the injection is getting connected successfully.

But again in the findCompileCommand method in SwiftEval.swift
the shell method is returning false as it is unable to locate the compile command.
That is what getting printed in client also "Could not locate compile command" ,

I have checked the previous issues regarding this and found the compilation mode should be set as "Incremental. But its already Incremental in my client project.

Please let me know if I am doing something wrong in setting up both the projects, or are there any other limitations that I am missing.

from injectioniii.

johnno1962 avatar johnno1962 commented on May 23, 2024

Do you have non alphanumeric characters in your project path?

from injectioniii.

KirtyKumari avatar KirtyKumari commented on May 23, 2024

Hi @johnno1962
This is the current project path.
/Users/kirty-xxxxx/GitProjects/TaskViewApp
xxxx are numeric characters

But I tried changing it to
/Users/Shared/TaskViewApp still I was getting the same issue.

Along with this I changed the derived data path also to /Users/Shared and hardcoded both the value in "InjectionServer" file.

from injectioniii.

johnno1962 avatar johnno1962 commented on May 23, 2024

Derived data must use the default so it can be found. Do you want to TeamView this? send your details to injection at johnholdsworth.com if so and I can take a look.

from injectioniii.

KirtyKumari avatar KirtyKumari commented on May 23, 2024

I am afraid, it won't be possible. Will try to work this out and let you know.
Thanks @johnno1962

from injectioniii.

johnno1962 avatar johnno1962 commented on May 23, 2024

You’ll have difficulty getting DerivedData working other than at the standard location. The message you’re seeing is coming from the InjectionBundle which makes it’s own attempt to find DerivedData in Swift which you need to patch. https://github.com/johnno1962/InjectionIII/blob/master/InjectionBundle/SwiftEval.swift#L514

from injectioniii.

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.