-change is intended to be used to change the path of a dependent library in an other binary.
install_name_tool -id @executable_path../../Frameworks/Foo.framework/ Versions/A/Foo Foo.framework/Foo
But as I said, it's easier to change that in your Xcode build settings instead.
Le 20 juin 08 à 09:12, Martin a écrit :
Thanks for your answers but it's still not working here. Plus I don't really see why I should use "-id" option since what I really want to do is *change* one of the paths.Back to my Foo framework: $ otool -L Foo.framework/Foo/Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo (compatibility version 1.0.0, current version 1.0.0)...$ install_name_tool -change /Users/martin/Library/Frameworks/ Foo.framework/Versions/A/Foo @executable_path../../Frameworks/ Foo.framework/Versions/A/Foo Foo.framework/Foo$ otool -L Foo.framework/Foo/Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo (compatibility version 1.0.0, current version 1.0.0)... Am I typing something wrong? Does it work on your computer?There are no error messages given by install_name_tool, it just silently does nothing...Martin. On Jun 19, 2008, at 11:56 PM, Laurent Cerveau wrote:On Jun 19, 2008, at 11:02 PM, Kyle Sluder wrote:On Thu, Jun 19, 2008 at 4:40 PM, Martin <[EMAIL PROTECTED]> wrote:And as you can see, nothing has changed and the first line has certainly notbeen replaced by "bla". What am I doing wrong?Shouldn't you be using the -id flag, not -change?I usually do both of them (for framework embedding). E.g to make a framework embeddableinstall_name_tool -change /Library/Frameworks/$EXECUTABLE_PATH @executable_path/../Frameworks/$EXECUTABLE_PATH $EXECUTABLE_NAME install_name_tool -id @executable_path/../Frameworks/ $EXECUTABLE_PATH $EXECUTABLE_NAMEI think one option is about install path while the other is about identificationlaurent_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/devlists%40shadowlab.org This email sent to [EMAIL PROTECTED]
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to [EMAIL PROTECTED]