lacasanova / shortcutrecorder

Automatically exported from code.google.com/p/shortcutrecorder
0 stars 0 forks source link

ShortcutRecorder.ibplugin could not be opened #33

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Download revision 36 via svn
2. Open in Xcode, switch project base SDK to 10.5
3. Compile all
4. Doubleclick ShortcutRecorder.ibplugin

What is the expected output? 
I assume it should add the palette to IB

What do you see instead?
A dialog:
The document “ShortcutRecorder.ibplugin” could not be opened. The bundle is 
damaged or 
missing necessary resources. Try reinstalling the bundle.

Please use labels and text to provide additional information.
I'm on a 17" MBP, Xcode and Interface Builder 3.1.2

Original issue reported on code.google.com by flexga...@gmail.com on 29 Apr 2009 at 7:47

GoogleCodeExporter commented 8 years ago
Partially answering my own question here. The steps to make it work are, 
download the stable release at 
wafflesoftware, build all, take the .framework file and move to your project's 
folder. Then do an "add existing 
framework" and add the ShortcutRecorder.framework folder to your project.

Once you have done this, you should be able to open your .nib file with the 
SRRecorder plugin active (ie, you 
do NOT have to doubleclick the .ibplugin file as I was trying to do above).

I believe you should also add it to your Copy Files phase of your target but 
not 100% sure on this. If you have 
questions on what I wrote, email me and I'll do my best to help you.

Original comment by flexga...@gmail.com on 18 Jun 2009 at 7:39

GoogleCodeExporter commented 8 years ago
By the way my email is my alias (above) @ gmail

Original comment by flexga...@gmail.com on 18 Jun 2009 at 7:41

GoogleCodeExporter commented 8 years ago
I am having this issue and can not get it added to IB.
I have tried opening a project which has the framework already added like 
mentioned
above but then I just get an error saying that IB doesn't have the required 
plugin

Original comment by kdbdal...@gmail.com on 19 Jun 2009 at 4:41

GoogleCodeExporter commented 8 years ago
based on what's in svn you actually want to build the ShortcutRecorderFramework 
aggregate target, which builds the framework and the plugin and places the 
plugin into 
the framework.  the reason it fails to load is because the plugin is linking to 
and 
expecting the framework to be in a particular location relative to its location.

if you look at apple's own frameworks, they are setup this way as well.

Original comment by rarich...@gmail.com on 30 Jun 2009 at 3:21

GoogleCodeExporter commented 8 years ago

Original comment by rarich...@gmail.com on 30 Jun 2009 at 6:22

GoogleCodeExporter commented 8 years ago
This was answered on the SRRecorder mailing list and it ended up working for me:

Josh,

I had this problem also, what you need to do is instead of building the 
framework and plugin separately you 
need to build the other target called 'ShortcutRecorderFramework' not (dot) 
framework. 
Here is a picture - http://snapplr.com/s4yx
Once this has built go to the Release (or Debug) folder on your desktop, open 
the folder where you will find 
the Framework Folder and the IB Plugin but this IB Plugin will not work.
So open up the ShortcutRecorder.framework folder and open the resources folder 
and in there you will find 
the working IB Plugin.
Here are some pics of that final part.
Release Folder - http://snapplr.com/ng6t
Shortcut Recorder Frameworks Folder - http://snapplr.com/gawg
The Resources Folder - http://snapplr.com/4236

I hope this solves your problem as it worked for me.

Thanks,
Josh.

Original comment by flexga...@gmail.com on 16 Aug 2009 at 8:14