Re: Quicktime Movie View error
Re: Quicktime Movie View error
- Subject: Re: Quicktime Movie View error
- From: Joey Hagedorn <email@hidden>
- Date: Fri, 6 Feb 2009 00:00:29 -0800
On Feb 5, 2009, at 10:05 PM, elliott cable wrote:
On Tue Nov 11 05:09:44 2008, Joey Hagedorn wrote:
On Nov 10, 2008, at 3:01 PM, Christopher Kempke wrote:
I'm trying to create a very, very simple QuickTime viewer in Cocoa.
I create a new Application, add QTKit and Quicktime frameworks, and
drag a QuickTime Movie View into the main window. All is well if
I run now (although the movie view is blank).
Going back into Interface Builder, I select the Movie View and in
the Inspector Attributes, I set the "Movie" field to point to a
movie file: "file:///Sample/sample.mov". All is well in
Interface Builder (the movie shows and plays), but as soon as I save
and try to run in XCode, I get this message:
/* com.apple.ibtool.errors */
Internal Error:
Description: The document "MainMenu.xib" could not be opened.
Operation could not be completed. (com.apple.InterfaceBuilder error
-1.)
Recovery Suggestion: Check the console log for additional
information.
The console log adds:
11/10/08 2:58:49 PM ibtool[1554] Exception raised while decoding
document objects - CGSDisableUpdate returned error 1002d
Christopher,
You might be able to work around this specific problem by using nib
files instead of xib files, so that ibtool doesn't need to compile
them when you build your project with xcode.
-Joey
Sorry to resurrect an old thread (I had to copy-paste from
cocoabuilder.com to quote it, I don't have it in my inbox) - but I
just started the QuickTime Kit Programming Guide sample instructions
<http://developer.apple.com/documentation/QuickTime/Conceptual/QTKitProgrammingGuide/Chapter03/chapter_3_section_1.html
>
today, and I'm running into the same problem. Does anybody know how I
can fix it *without* switching away from XIBs? (I'm versioning my
stuff in git, I have to use XIBs to get merging functionality).
--
~ elliottcable
Elliot,
Another way to work around this issue is to leave the movie blank in
Interface Builder. You can set the movie for the movie view in code,
for example, in your awakeFromNib method.
-Joey
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden