Bad path on absolute Framework path set

Originator:jeanpaul.henri
Number:rdar://10310426 Date Originated:19-Oct-2011
Status:Open Resolved:
Product:Xcode Product Version:4.2 build 4C199
Classification: Reproducible:yes
 
Steps to Reproduce:

Add a framework to a iPhone project. set path type to "relative to group" at first. Now set "absolute" 

Expected Results:

/* GHUnitIOS.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GHUnitIOS.framework; path = /Library/Frameworks/GHUnitIOS.framework; sourceTree = "<absolute>"; };

Actual Results:

/* GHUnitIOS.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = GHUnitIOS.framework; path = "/Users/xxx/yyyy/repoGit/ProjectFoler/Project/../../../../../../Library/Frameworks/GHUnitIOS.framework"; sourceTree = "<absolute>"; };


Regression:

Work fine with Xcode 3.2.5.

Notes:


If another user get your project from git, for example in another folder tree, the project don't build; he don't find the GHUnitIOS framework and these header files.

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!