-
Notifications
You must be signed in to change notification settings - Fork 49
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
Using xchammer after make install fails with the error 'Fatal error: Missing XCHammerAssets: file Sources/XCHammer/Generator.swift' #182
Comments
I'm seeing the same error. |
I've tried last year 0.2 release and it did work... |
@rahul-malik your feedback would be very much appreciated :) PD: Also, did you manage to publish the part 2 of https://medium.com/pinterest-engineering/developing-fast-reliable-ios-builds-at-pinterest-part-one-cb1810407b92? I would like to know more about how you are using Bazel in Pinterest ;) |
@yuriy-yarosh - XCHammer is currently used by all developers at Pinterest. The docs should be updated ideally to how we've set it up internally. We also use HEAD so feel free to track upstream closely @acecilia - Can you try the bazel instructions in https://github.com/pinterest/xchammer/blob/master/Docs/XCHammerFAQ.md ? |
@acecilia @yuriy-yarosh - I just tagged a new release for you to try. Please let me know if this works for you https://github.com/pinterest/xchammer/releases/tag/0.3 |
@rahul-malik thanks for your answer :) I had a look at the FAQ, but I can not make it work (I do not see any installation or setup instructions in the FAQ). I run the script I attacked in the first comment of the issue, and I am still getting the same error:
I can not find information about how to install |
@rahul-malik thanks. |
So I figured out the issue and a work around. Workaround is |
@mpalczew Yayyy that made it, thanks for the trick! Finally the following script works:
|
I don't have permission to push a new branch, otherwise I would have a PR.
|
Need a wrapper script because of bazel-xcode/xchammer#182
As for #267 the problem is still there when generation is done with |
Hello:
Using xchammer from
/usr/local/bin
aftermake install
does not work. It fails with the following error:I am running macOS Mojave 10.14.6 (18G103), and I have tried this with Xcode 10.3 and 11. I have tried commit
f5fe4657eb751ababfa4ad5986afaa691910080f
from xchammer (last one at master at the time of writing).You can reproduce the issue by running the following script:
If this is not working, how are you usually using
xchammer
in Pinterest?Thanks!
The text was updated successfully, but these errors were encountered: