FROM : Martin
DATE : Thu Jun 19 22:40:28 2008
Hi,
I can't figure out how install_name_tool works.
I've tried it with the simplest project ever:
1. I've created a blank "Foo" framework in Xcode
2. I've built it with the "-headerpad_max_install_names" linker flag
(as man install_name_tool says)
3. I do this in the terminal :
$ otool -L 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" "bla" Foo
$ otool -L Foo
/Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo
(compatibility version 1.0.0, current version 1.0.0)
...
And as you can see, nothing has changed and the first line has
certainly not been replaced by "bla". What am I doing wrong?
Thanks,
Martin.
DATE : Thu Jun 19 22:40:28 2008
Hi,
I can't figure out how install_name_tool works.
I've tried it with the simplest project ever:
1. I've created a blank "Foo" framework in Xcode
2. I've built it with the "-headerpad_max_install_names" linker flag
(as man install_name_tool says)
3. I do this in the terminal :
$ otool -L 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" "bla" Foo
$ otool -L Foo
/Users/martin/Library/Frameworks/Foo.framework/Versions/A/Foo
(compatibility version 1.0.0, current version 1.0.0)
...
And as you can see, nothing has changed and the first line has
certainly not been replaced by "bla". What am I doing wrong?
Thanks,
Martin.
| Related mails | Author | Date |
|---|---|---|
| Martin | Jun 19, 22:40 | |
| Kyle Sluder | Jun 19, 23:02 | |
| Jean-Daniel Dupas | Jun 19, 23:23 | |
| Laurent Cerveau | Jun 19, 23:56 | |
| Martin | Jun 20, 09:12 | |
| Jean-Daniel Dupas | Jun 20, 09:54 | |
| Sherm Pendley | Jun 20, 11:55 | |
| Sherm Pendley | Jun 20, 12:25 | |
| Martin | Jun 21, 00:16 |






Cocoa mail archive

