Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: embedding the DisclosableView framework



Nevermind, it just started to work all of a sudden. I didn't do anything different, I swear.

Michael
On 4-Jun-04, at 2:09 PM, Michael Hanna wrote:

hi I'm trying to embed the framework

http://www.snoize.com/Code/DisclosableView.tar.gz

in an app with Xcode but I seem to be having trouble.

I saw here

http://home.xnet.com/~rentzsch/embeddingFrameworks.mov

how to do this. When I try to do this from the source from within Xcode
I run into some problems.

First of all, when I Edit the Active Target, I get a different build
settings dialog than the tutorial. With the project there is an
Installation Location rather than a Installation Path. So this tipped
me off that there was something different with the project.

After hunting for a while, I realized that it might be better to just
create a new Cocoa Framework and copy the files over. I did this with
reasonable success, I changed the Installation Path to
"@executable_path" and added the linker option "-seg1addr 0xb0000000"

though once I tried building it, I got this error:

DisclosableView:0: pbxcp: error: open():
/build/tao/DisclosableView.framework/Versions/A/Resources/Info.plist:
No such file or directory

(/build/tao is my build folder) looking in the original project, I
noticed that there isn't an Info.plist with the project, but the one
Xcode made does. I'm not sure what to do at this point.

I know that 10.3 has disclosure triangles now, but would prefer to use
this for compatibility with 10.2.

any help would be appreciated,
Michael
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


References: 
 >Re: Feeding NSUnarchiver bad data can cause crash (From: "Douglas A. Welton" <email@hidden>)
 >embedding the DisclosableView framework (From: Michael Hanna <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.