Skip to content
This repository has been archived by the owner on Oct 4, 2019. It is now read-only.

install without sudo #65

Closed
xslim opened this issue Nov 14, 2014 · 7 comments
Closed

install without sudo #65

xslim opened this issue Nov 14, 2014 · 7 comments

Comments

@xslim
Copy link

xslim commented Nov 14, 2014

For my case, calling sudo is not permitted.
Install script works without sudo command. Should we remove sudo?

@PaulTaykalo
Copy link
Member

Well, this solution will require not to proxy clang, and to seach parameters from the Xcode/AppCode itself.
You can check this branch https://github.com/DyCI/dyci-main/tree/feature/xcode-plugin-compilation-flags
In that branch Xcode plugin tries to find compilation parameters from Xcode configuration rather than from previous clang calls

So. you'll need to install plugin only, without clang proxying.
Also that solution doesn't allow you to inject resourses

@xslim
Copy link
Author

xslim commented Nov 14, 2014

Well, I have write access to Xcode.app folder, so i don't need sudo. And if one needs, he always can run sudo install.sh ?

@PaulTaykalo
Copy link
Member

As I said, I would like to recommend to use https://github.com/DyCI/dyci-main/tree/feature/xcode-plugin-compilation-flags branch solution, and update install.sh, by removing from there lines with clang proxying.

@PaulTaykalo
Copy link
Member

As soon as we finish #24, it will be availble :)
You can try to check https://github.com/johnno1962/injectionforxcode solution

@PaulTaykalo
Copy link
Member

Well, have you tried to just remove sudo from all parts of install script? :)

@xslim
Copy link
Author

xslim commented Nov 14, 2014

That's what i did)
So i created issue saying its not needed

Sent from my iPhone

On Nov 14, 2014, at 14:50, Paul Taykalo notifications@github.com wrote:

Well, have you tried to just remove sudo from all parts of install script? :)


Reply to this email directly or view it on GitHub.

@PaulTaykalo
Copy link
Member

Actually we need to call it :) in rder to get copy of clang backup and update contents of Xcode application
:)
#100

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants