Compiling ShiftIt

110 views
Skip to first unread message

ericindc

unread,
Jul 21, 2011, 10:05:14 PM7/21/11
to ShiftIt.app
I am trying to compile the app per the github README instructions but
I get the following error on a new Macbook Air running Lion:

"The scheme 'ShiftIt' contains no buildables that can be built for the
SDKs supported by the run destination My Mac 64-bit. Make sure your
targets all specify SDKs that are supported by this version of Xcode."

What do I need to do to correct this and compile the app?

Also, how do I uninstall it? When I previously used this app, I had
a .app file in Applications but there is nothing current there. The
ShiftIt keyboard shortcuts are working so I think it's running.

Chris

unread,
Jul 21, 2011, 10:06:55 PM7/21/11
to shift...@googlegroups.com
Are you pulling the code from the google group? If so, that code is very old.

The project has been taken over by Filip and the newer codebase is available on his github page:

-Chris

ericindc

unread,
Jul 21, 2011, 10:08:43 PM7/21/11
to ShiftIt.app
I mistakenly installed the code from the google group (v1.2) before
seeing the stuff on github. The code I am trying to compile is from
github.

ericindc

unread,
Jul 21, 2011, 10:12:28 PM7/21/11
to ShiftIt.app
And I'm trying to compile using the latest version of XCode.

Chris

unread,
Jul 21, 2011, 10:12:33 PM7/21/11
to shift...@googlegroups.com
There was an older version of ShiftIt which made it impossible to call up the preferences panel without some modifications to a plist file somewhere. You'll have to dig through the old issues on github to see if you can find the fix, I don't have time to look right now.

Once you do that, kill the process in Activity Monitor and relaunch ShiftIt (if it still exists on your computer). If it doesn't exist then restarting your computer should kill the process and it won't have any place to restart from since you deleted it.

As for compiling-- check your project settings and ensure that you've got all of the needed SDKs and you're compiling for the right architecture. Other than that, I don't really have time to help further troubleshoot right now. Perhaps someone will chime in.

-Chris

ericindc

unread,
Jul 21, 2011, 10:31:05 PM7/21/11
to ShiftIt.app
Thanks for the input, Chris.

Unfortunately, I've not been able to track down the thread on the
Google group to remove the old 1.2 via editing the plist file. If
anyone else has any input, please let me know.

I managed to toy around with the settings for building and get the
code running. I selected Run initially, but then found the option to
"Build for Running." The odd part is that Spotlight finds both
versions of the app (1.5 and 1.2) in /Applications, but I see neither
there via Finder or Terminal. I would like to hide the status bar
icon but am not sure how I'd open up preferences again without first
launching things in XCode.

Thoughts?

Chris

unread,
Jul 21, 2011, 10:33:09 PM7/21/11
to shift...@googlegroups.com
I was referring to find that info in the Issues being tracked on Github. As far as I'm concerned, the Google Group is much too out of date and somewhat useless at this point.

As for opening the preferences-- once you get a newer version from Github (e.g., 1.5) you can launch open the pref pane when the icon is hidden by simply launching ShiftIt for a second time when it is already running.

-Chris

ericindc

unread,
Jul 21, 2011, 10:40:06 PM7/21/11
to ShiftIt.app
Apologies...I meant I wasn't able to find it in the github issues. I
looked through each of them by title, open and closed.

Right, I understand that is how it's suppose to work. But I don't see
the ShiftIt.app file in /Applications. It's obviously running from
somewhere, just not sure where. Spotlight says /Applications, but
it's definitely not there.

Chris

unread,
Jul 21, 2011, 10:43:42 PM7/21/11
to shift...@googlegroups.com
If you started the program and then deleted it, if Finder didn't stop you for the file being in use (somehow) then it might just be running straight from memory.

Have you tried restarting your computer?

-Chris

ericindc

unread,
Jul 21, 2011, 10:48:20 PM7/21/11
to ShiftIt.app
I just restarted. I looked under my Login Items and was able to see
where it was running from -- deep under the source files folder. I
found the ShiftIt.app file and have moved it to /Applications. I am
good to go. Thanks for the help, Chris.

Chris

unread,
Jul 21, 2011, 10:49:24 PM7/21/11
to shift...@googlegroups.com
No problem, glad you got it figured out.

-Chris

Reply all
Reply to author
Forward
0 new messages