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

Don't automatically install fbsimctl #47

Closed
DanielZlotin opened this issue Nov 30, 2016 · 9 comments
Closed

Don't automatically install fbsimctl #47

DanielZlotin opened this issue Nov 30, 2016 · 9 comments

Comments

@DanielZlotin
Copy link
Contributor

This seems intrusive to do that as a postinstall step, better ask that in the installation instructions, and throw exceptions on the postinstall step.

@DanielZlotin
Copy link
Contributor Author

Also, recommend to use fbsimctl as an optional dependency, and fallback on regular ios simulator CLI

@LeoNatan
Copy link
Contributor

Regular iOS simulator CLI is not good to say the least. After investigating, I think we should keep the fbsimctl dependency. We may remove it from installing automatically, and require the users to install it themselves.

@talkol
Copy link

talkol commented Jan 12, 2017

I think we should stop installing it automatically.. the installation isn't always working automatically due to brew flakiness.. you sometimes need to brew uninstall fbsimctl

let's add it to the readme and have people install manually and deal with the flakiness themselves

@talkol
Copy link

talkol commented Jan 12, 2017

look at the strange errors it's giving me on post install:

Linking /usr/local/Cellar/fbsimctl/0.2.0... 
Error: Could not symlink Frameworks/XCTestBootstrap.framework/Modules
Target /usr/local/Frameworks/XCTestBootstrap.framework/Modules
already exists. You may want to remove it:
  rm '/usr/local/Frameworks/XCTestBootstrap.framework/Modules'

To force the link and overwrite all conflicting files:
  brew link --overwrite fbsimctl

To list all files that would be deleted:
  brew link --overwrite --dry-run fbsimctl

I prefer people google this stuff and handle it manually if it happens

@talkol talkol self-assigned this Jan 12, 2017
@LeoNatan
Copy link
Contributor

Why didn't the script figure out fbsimctl is already installed? We have checks for that.

@LeoNatan
Copy link
Contributor

Also 0.2.0 is old. There is 0.2.2 out already

@talkol
Copy link

talkol commented Jan 12, 2017

I had to brew update and fix several brew issues since the Sierra upgrade was pretty rough on brew

I installed 0.2.2 now.. but still.. you need to fiddle with brew
I prefer users will do it on their own so they can google issues there and not open issues for postinstall problems

@LeoNatan
Copy link
Contributor

Yes, if you didn't maintain your brew installation, it causes issues. I agree about not installing fbsimctl, however in postinstall we must verify that fbsimctl is not installed and at the very least issue a colorful warning to let the user know.

@rotemmiz
Copy link
Member

done in v5. updated docs.

@wix wix locked and limited conversation to collaborators Jul 23, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants