ER: Targets should have build settings setup to use @rpath out of the box
Originator: | ddribin | ||
Number: | rdar://7396127 | Date Originated: | 15-Nov-2009 08:21 PM |
Status: | Open | Resolved: | |
Product: | Developer Tools | Product Version: | Xcode 3.2.1 |
Classification: | Enhancement | Reproducible: | N/A |
15-Nov-2009 08:21 PM Dave Dribin: Targets should have build settings setup to use @rpath out of the box. @rpath is a much more flexible way to use the dynamic linker on 10.5 and later. Frameworks and dynamic libraries should have the Installation Directory (INSTALL_PATH) set to "@rpath". It is currently set to "$(HOME)/Library/Frameworks". Bundle targets (apps, frameworks, plugins, etc.) should have the Runtime Search Paths (LD_RUNPATH_SEARCH_PATHS) set to "@loader_path/../Frameworks". Currently, it is empty. To be compatible with the way it's currently setup, it could be set to "$(HOME)/Library/Frameworks", but in almost every case, frameworks are embedded into another bundle and not used from ~/Library/Frameworks.
Comments
Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!