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

Getting error when trying to install FixCode via Fastlane #8

Closed
JagCesar opened this issue Jan 5, 2016 · 7 comments
Closed

Getting error when trying to install FixCode via Fastlane #8

JagCesar opened this issue Jan 5, 2016 · 7 comments

Comments

@JagCesar
Copy link

JagCesar commented Jan 5, 2016

This is the error I receive:

[10:44:20]: -------------------------------------------------
[10:44:20]: --- Step: Verifying required fastlane version ---
[10:44:20]: -------------------------------------------------
[10:44:20]: fastlane version valid
[10:44:20]: ------------------------------
[10:44:20]: --- Step: default_platform ---
[10:44:20]: ------------------------------
[10:44:20]: Driving the lane 'ios xcode' 🚀
[10:44:20]: ----------------------------------
[10:44:20]: --- Step: install_xcode_plugin ---
[10:44:20]: ----------------------------------
[10:44:20]: [SHELL COMMAND]: curl -Lso /var/folders/t9/h68fjww93lx4flz80wrtn6b00000gn/T/plugin.zip https://github.com/fastlane/FixCode/releases/download/0.2.0/FixCode.xcplugin.zip
[10:44:23]: [SHELL COMMAND]: unzip -qo '/var/folders/t9/h68fjww93lx4flz80wrtn6b00000gn/T/plugin.zip' -d '/Users/jagcesar/Library/Application Support/Developer/Shared/Xcode/Plug-ins'
[10:44:23]: [SHELL]: checkdir:  cannot create extraction directory: /Users/jagcesar/Library/Application Support/Developer/Shared/Xcode/Plug-ins

Anyone else having this issue?

@neonichu
Copy link
Member

neonichu commented Jan 5, 2016

What happens if you manually mkdir -p /Users/jagcesar/Library/Application Support/Developer/Shared/Xcode/Plug-ins?

@JagCesar
Copy link
Author

JagCesar commented Jan 5, 2016

Hey @neonichu, thnx for a quick response! ❤️

Yeah, once they're created it works. maybe unzip -d doesn't create the folders recursively like mkdir -p does?

@neonichu
Copy link
Member

neonichu commented Jan 5, 2016

That's weird the install_xcode_plugin action should do the same thing: https://github.com/fastlane/fastlane/blob/master/lib/fastlane/actions/install_xcode_plugin.rb#L10

@JagCesar
Copy link
Author

JagCesar commented Jan 5, 2016

You're correct, those folders should be created automagically. Weird.

I'm closing this issue for now, will re-open if I can find out why I get this error on my machine.

@JagCesar JagCesar closed this as completed Jan 5, 2016
@JagCesar
Copy link
Author

JagCesar commented Jan 5, 2016

@neonichu This bug was fixed 4 hours ago, fastlane/fastlane#1048. So the code you referenced isn't in production yet. That's why it wasn't working over here :P

@neonichu
Copy link
Member

neonichu commented Jan 5, 2016

Ah, I see — thanks for checking :)

@KrauseFx
Copy link
Member

KrauseFx commented Jan 7, 2016

Thanks everyone 👍

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