Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

clang: error: no such file or directory: '/App/Vendor/STPrivilegedTask/STPrivilegedTask.m' #104

Closed
m99coder opened this issue Jan 6, 2016 · 9 comments

Comments

@m99coder
Copy link

m99coder commented Jan 6, 2016

Hi Mat,

first of all: Great Application.

I wanted to build out of current master because the release included in your repository is quite old and probably not containing the last bugfixes. XCode Version 7.2 (7C68) complains about not finding STPrivilegedTask.m. I already tried git submodule update --remote --merge.

bitbar-xcode-build

Thanks for any advice.
Marco

@LaurentFough
Copy link

Getting the same error.

  • different actions though: using Cocoapods to add in the Sparkle framework.

Pod is setup and and install properly... error on build, same as mentioned by @m99coder .

@matryer
Copy link
Owner

matryer commented Jan 6, 2016

I have no idea I’m afraid, it’s working for me.

Maybe try cloning the repo again!?

On 6 Jan 2016, at 10:47, Laurent Fough notifications@github.com wrote:

Getting the same error.

different actions though: using Cocoapods to add in the Sparkle framework.
Pod is setup and and install properly... error on build, same as mentioned by @m99coder https://github.com/m99coder .


Reply to this email directly or view it on GitHub #104 (comment).

@m99coder
Copy link
Author

m99coder commented Jan 6, 2016

All the Vendor folders are empty. How are they filled? Automatically by XCode build?

@matryer
Copy link
Owner

matryer commented Jan 6, 2016

They're linked repos - see https://github.com/matryer/bitbar/tree/master/App/Vendor

Try this:

git submodule update --remote --merge

@matryer
Copy link
Owner

matryer commented Jan 6, 2016

p.s. once we figure this out, we'll add some notes to "Contributing"

@m99coder
Copy link
Author

m99coder commented Jan 6, 2016

The correct command is git submodule init && git submodule update in the root folder (same folder as .gitmodules file). After this it works like a charm.

Maybe you could also add some notes about where to find the release build. In my case XCode saved it under ~/Library/Developer/XCode/DerivedData/{app-name}/Build/Products/Release/BitBar.app.

@m99coder m99coder closed this as completed Jan 6, 2016
@matryer
Copy link
Owner

matryer commented Jan 6, 2016

We need to make sure this is clear for people wishing to contribute. What’s the best way to do that?

On 6 Jan 2016, at 12:27, Marco Lehmann notifications@github.com wrote:

Closed #104 #104.


Reply to this email directly or view it on GitHub #104 (comment).

@m99coder
Copy link
Author

m99coder commented Jan 6, 2016

I would recommend to add notes to README.md as you suggested. Without git submodule init it won’t work. You have to execute it once. Afterwards git submodule update is fair enough to do the job.

@LaurentFough
Copy link

Works (builds fine) for me here.

  • with: git submodule init && git submodule update

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

No branches or pull requests

3 participants