I have issue with xcode and cause issue with my team when I comments my code. when I add new swift file it always take relative path from root to file location in project not the absolute path. do any one know how to fix it?
Asked
Active
Viewed 83 times
0

HangarRash
- 7,314
- 5
- 5
- 32

NinjaDeveloper
- 1,620
- 3
- 19
- 51
-
Something odd with the way you created / added the Group (Folder)? What do you see if you select the Folder containing that file? – DonMag Mar 07 '23 at 17:44
-
I see take the relative path – NinjaDeveloper Mar 07 '23 at 18:35
-
Does it show the full path, like when you have the file selected? Here's what I see (Group/Folder selected ... File in that Group/Folder selected) in a quick test: https://i.stack.imgur.com/StTFX.png – DonMag Mar 07 '23 at 18:49
-
the full path work fine is the dropdown is the problem with /../../../../../ with relative path – NinjaDeveloper Mar 08 '23 at 19:13
-
to fixed it I have to remove the reference folder and added on folder drag and drop again :( – NinjaDeveloper Mar 08 '23 at 19:14