CodySchrank / gSwitch

macOS menu bar app that allows control over the gpu on dual gpu macbooks
MIT License
887 stars 46 forks source link

Getting an error while installing #17

Closed avi20072008 closed 6 years ago

avi20072008 commented 6 years ago

I see below error when I run "carthage bootstrap"

Failed to read file or folder at /Users/avinashp/Cartfile: Error Domain=NSCocoaErrorDomain Code=260 "The file “Cartfile” couldn’t be opened because there is no such file." UserInfo={NSFilePath=/Users/pranavm/Cartfile, NSUnderlyingError=0x7ff08cf55220 {Error Domain=NSPOSIXErrorDomain Code=2 "No such file or directory"}}

CodySchrank commented 6 years ago

Do you have carthage? Also are you running that command in the project dir?

avi20072008 commented 6 years ago

I am able to run the command now "carthage bootstrap" but I dont know how to build it with Xcode. I never used it before. I just want to use integrated graphics card instead of discrete graphics card for my 2011 MBP gpu problem.

avi20072008 commented 6 years ago

Thanks for your help.

CodySchrank commented 6 years ago

@avi20072008 If you just want to use the program you don't need to build with xcode, just download from here: https://codyschrank.github.io/gSwitch/

However there have been some problems with older macbook pro's but I am currently fixing that.

avi20072008 commented 6 years ago

Thank you Cody. I already downloaded gSwitch but when I run the program it says

"gSwitch” is damaged and can’t be opened. You should move it to the Trash."

CodySchrank commented 6 years ago

Hmm. Please delete anything you have related to gSwitch, then download from this url https://github.com/CodySchrank/gSwitch/releases/download/1.7.8/gSwitch.zip open the zip and move the gSwitch.app to your applications folder. Open the app and it should ask "this is downloaded from the internet do you want to open?" and click open.

CodySchrank commented 6 years ago

I just downloaded from that url and it was fine for me.

avi20072008 commented 6 years ago

I dont know what am I doing wrong. I downloaded a file from your given location. Moved /MacOS/gSwitch to the Applications folder and still the same here. Here is the screenshot - error

CodySchrank commented 6 years ago

No worries. What you're downloading is an application container, commonly referred to as a .app

When you download and extract the zip you should get this: https://puu.sh/AzFWZ/1540467490.png Move that to your applications folder, there is no need to go into the gSwitch.app and take anything out.