Giter Club home page Giter Club logo

ofxcodemenu's Introduction

OFXcodeMenu

NOT COMPATIBLE WITH XCODE 8+

OpenFrameworks plugin for Xcode that adds addons to your project. Compatible with Xcode 5 - 7 on OS X 10.8+. HEAD of this repo is typically paired with the latest Xcode. For older Xcode releases, see the git tags or just checkout OFXcodeMenu at the relevant point in time.

screenshot

Installing

Building the included Xcode project will install the plugin

To control installation manually, add/remove OFXcodeMenu.xcplugin in:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OFXcodeMenu.xcplugin

You may need to create a few of the directories on the way, as they don't all exist by default.

The plugin can also be installed via the Alcatraz Xcode package manager.

Known Issues

When addons contain static libs, they will be added with absolute paths. This is due to a quirk in the Xcode API being used by OFXcodeMenu. If you intend to share a project with other people, it is recommended that you re-add static libs yourself (by right-clicking in the project navigator and selecting "Add Files To (project name)...", for example). You can also edit the project's .pbxproj file yourself if you're feeling brave.

Troubleshooting

"I updated Xcode and now the plugin doesn't show up"

Xcode works on a UUID whitelist system, meaning each new version of Xcode needs to have its UUID added to OFXcodeMenu's Info.plist file. If OFXcodeMenu isn't updated in time, you can do this update yourself (and by all means send a pull request afterwards!).

Get the UUID by running the following in the terminal:

defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID

Then, open the OFXcodeMenu project and edit the Supporting Files > OFXcodeMenu-Info.plist file. You'll need to add the UUID you just copied to the DVTPlugInCompatibilityUUIDs section.

Rebuild the plugin, restart Xcode and you should see the OF menu reappear.

"I want to use this plugin with non-latest Xcode"

OFXcodeMenu has been kept in sync with Xcode starting from Xcode 5, though only the latest Xcode is supported by github HEAD. To use with an older Xcode, you will have to checkout to an older OFXcodeMenu commit and rebuild.

"The plugin isn't adding my addon correctly"

The plugin parses addons_config.mk and will use it to tell which system frameworks to add, which folders to ignore, extra includes to add, etc. Example folders are always ignored by default. It will also use some of the metadata, such as the dependency list and addon url. If your addon doesn't work with OFXcodeMenu properly out-of-the-box, you should add an addon_config.mk. See ofxKinect and ofxMidi for examples.

If OFXcodeMenu doesn't seem to be parsing your addon_config.mk properly, please open an issue.

ofxcodemenu's People

Contributors

admsyn avatar armadillu avatar capnslipp avatar j3ffgray avatar sleepygarden avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

ofxcodemenu's Issues

LLVM compilation issue, building .xcodeproject directly

Hi there.

Trying to get this plugin installed [git clone'd, trying to build the .xcodeproject file] on OS X 10.9.2 and xcode 6:
error: -fobjc-arc is not supported with fragile abi
Command /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang failed with exit code 1

RIP

I think about this plugin almost every day. It was very good to me. Miss u.

trying to compile in xcode 4.63/10.7.5

tried turning off ARC and enabling garbage collection (I think) to avoid compile error.
now just get 12 errors like this which stop the build.:
/Users/ian/Desktop/OFPlugin-master/OFPlugin/OFAddon.m:30:9: Use of undeclared identifier '_config'

Library search path or LDFLAGS

As far as i see there is no way to set a library search path or LDFLAG, is that correct? The addon_config.mk file hints you can use ADDON_LDFLAGS, but it doesn't seem to be included anywhere in the code

readme update for installation via Alcatraz

Not really an issue but just a mild suggestion. (and btw, thanks for making + sharing this tool!)

I've been using Alcatraz for managing Xcode Plugin for a while, and loving it so far. And just realized that I can install OFPlugin directly from it too. So I think maybe adding a gentle update to readme.md that mention simple installation choice via Alcatraz might make this a little easier for beginners.

Xcode 8

Any plans to update for Xcode 8? I'm on v8.2.1 and building the project doesn't seem to install the menu option.

OF menu gone on recent XCode update

Hey, I'm not sure if this is actually an issue, but the OF menu is now gone for me. I did just update to the latest XCode (5.1) and had to put the plugin back in the right folder, but still no menu option for me.

Am I doing something wrong?

Thanks

absolute paths for .a files

it looks like OFPlugin adds absolute paths to the linker search paths? i just noticed this upon sending some project files back and forth between me and golan. noticed it specifically with the ofxLibdc and ofxLeapMotion addons.

Doesn't work on Xcode 6.3

Error:

-[IDEWorkspace wrappedXcode3Project]: unrecognized selector sent to instance 0x7fb3010c9340

Looks like a bit of the plugin will have to be reworked not to use the Xcode3Project stuff.

The problem section

Doesn't show up in XCode 5.1 under OSX 10.9.2

XCode 5.1 is installed in the Applications directory. XCode 3.2.6 is installed in ~/Developer/Applications/ not sure if that's causing a conflict.

I also maintain several versions of oF for various projects that I've been working on. Not sure if this causes conflicts either. The plugin was working fine several weeks ago. Probably before 10.9.2 was released.

e.g.,

/of/0062/
/of/0070/
/of/0071/
/of/0072/
/of/0080/
/of/0081/

ofxOsc libs/oscpack/src/ip/posix files and header path missing

When adding ofxOsc, we need to ensure that libs/oscpack/src/ip/posix is added both as a group and as a header search path. The second is handled, if (OFAddon.m) extraHeaderSearchPaths would return

return @[@"../../../addons/ofxOsc/libs/oscpack/src/\r../../../addons/ofxOsc/libs/oscpack/ip/posix/"

I am checking the first, will issue a PR if I can figure out.

ofxOsc (and similarly structured addons -- no include dir) fail to compile w/o adding src to header search paths.

Hey there ... maybe I'm doing it wrong, but for whatever reason when I add ofxOsc via OFPlugin, compilation fails because the oscpack headers (which, unfortunately are in its src folder) are not in the header search paths. I'm not sure what the solution is (other than conditionally add the src folder if no 3rd party include folder is found). Anyway, again, maybe I'm using it wrong, but if not, I wanted to note that here. Thanks for all of your work on this supertool @admsyn.

that path doesn't lead to the developer area

and the developer area outside the application folder doesn't have Xcode (but I have Xcode on my computer)
I tried placing it in the contents of the app but it's also not reading there either - tried the plugin first then the folder you provided.. ..... nada

support of XCode 8+

Hello

Thanks for your hard work - I can see no new version support the new XCode. I sadly have a new machine and I'm stuck with the latest XCode and UUID hack proposed does not add a menu item.

Is there an update on the way?

thanks

OF plugin not working

Hey Adam,
hope you're doing well.
I had to reinstall my system and now the OF plugin doesn't work (Once you've began using it you can't go back :) .
The menu shows, it displays all the addon, I can get select the addons folder path.
But when I try to add an addon I get this (from the console):

OFPlugin problem! (please report the issue at https://github.com/admsyn/OFPlugin) : [<IDEWorkspace 0x7fe7bf8881e0> valueForUndefinedKey:]: this class is not key value coding-compliant for the key _wrappedContainer.
I'm going through the OFPlugin code to see what might be causing this. In the meanwhile if you know the fix just let me know!
All the best!
PD: Many thanks for this awesome plugin!

Windows binaries included in Link Binary build phase on Mac OS X

I added the ofxTimeline addon to a project and the win_cb binaries was included in Link Binary build phase on Mac OS 10.9.2

'libs/win_cb/EFX-Util_MT/EFX-Util.lib' was included 4 times
'libs/win_cb/OpenAL32.lib' was included once

The appropriate OpenAL.framework was not included.

This resulted in duplicate symbol linker errors.

cannot compile xcodeProject

after update to Xcode 7.0, OF menu disappear as I expect.
so I re-download xodeproject file from this github page.

but I CANNOT build it. instead
"
error : Unable to create directory / Users/{myUserName}/Library/Application Support/Developer/Shared/Xocde/Plugins/OFXcodeMenu.xcplugin/Contents (Permission denied)
"

so I tried with Alcatraz Xcode package manager. but that's not work neither.
press the 'install button', change to 'installing' and graph is growing, but soon back to 'install'

Windows binaries included in Link Binary build phase on Mac OS X

I added the ofxTimeline addon to a project and the win_cb binaries was included in Link Binary build phase on Mac OS 10.9.2

'libs/win_cb/EFX-Util_MT/EFX-Util.lib' was included 4 times
'libs/win_cb/OpenAL32.lib' was included once

The appropriate OpenAL.framework was not included.
ofxXmlSettings was added twice to compile sources causing duplicate symbol linker errors.
I had ofxXmlSettings in the project already as it was a dependencency to another addon I added earlier.

This is perhaps two separate issues.

ofxOpenCV not working

Hi! Great plugin!
I have an issue with opencv, I get this error:

'opencv2/core/core_c.h' file not found

I'm on Xcode 5.0.2
thanks!

Crashing XCode 5.1

This is a very useful plugin, but crashes the very latest XCode - Version 5.1 (5B130a)
Only by uninstalling the plugin will XCode start. Same issue with the precompiled version. Worked fine with the previous version of XCode..

can't see OF menu with Xcode Version 8.2.1 (8C1002)

Hello!

I love and have been using this addon for years now :)

I am having trouble getting it to work with Xcode 8.2.1. I followed the troubleshooting instructions and added the DVTPlugInCompatibilityUUIDs for my xcode version and rebuilt the plugin.

I have verified that the plugin is in fact here:

~/Library/Application Support/Developer/Shared/Xcode/Plug-ins/OFXcodeMenu.xcplugin

What else can I check?

installing via Alcatraz fails

It failed when installing via alcatraz on:
OSX: 10.10.5
XCode: 6.4
XCode: 7.0

It seems to start downloading, but fails after a short while.

ofxKinect doesn't work

just tried and got "libfreenect.h not found"

generated a project with the pg and it worked.

i think the difference is in that pg added header search paths but OFPlugin didn't?

OF menu not visible after install

Hey,

I just installed OFPlugin for the first time (manually via opening the example in the git repo once after cloning it, but also: Alcatraz shows it as installed) and restarted XCode. The OF menu is nowhere to be found. Not in the main bar, nor in any of the other menu dropdowns (I saw there was a recent PR to move it #25).

Running XCode Version 6.3.2 (6D2105) on Mac 10.10.3 (14D136).

Did I miss something obvious or can anybody reproduce this?

Should be smarter about which top-level folders to add

At the moment, one reason ofxEdsdk doesn't work is that it names its library folder "lib" instead of "libs". Maybe the include logic should be changed to be "any top level folders that don't start with 'example' " instead of "add 'src' and libs' ".

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.