Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mac :xcode build failed: File name too long #84

Open
nicholaslin opened this issue Sep 27, 2019 · 5 comments
Open

Mac :xcode build failed: File name too long #84

nicholaslin opened this issue Sep 27, 2019 · 5 comments

Comments

@nicholaslin
Copy link

屏幕快照 2019-09-26 23 19 00
hi, buddy
as you can see above picture , when I build xcode project on the mounted fs, the file name is append its path cause file name too long ,please tell me how to solve it if you know

@netheril96
Copy link
Owner

Sorry, I don't know how Xcode produces that long a filename, and it is fundamentally impossible to support such long filenames in format 4. You may create a format 2 securefs filesystem, or try to figure out why Xcode results in such long names.

@nicholaslin
Copy link
Author

I’m think that not just xcode file but all file that has long name directory has same problem. Because the file name has changed in securefs that had append it’s complete file path, and xcode building will generate long name directory so the phenomenon occurs

@netheril96
Copy link
Owner

netheril96 commented Oct 1, 2019 via email

@nicholaslin
Copy link
Author

As you can see at my first pic , when Xcode building and save file in mounted directory, the file name will change (append Users_computername......_xcodebuild.lock ,the prefix is it’s complete path),but when Xcode save to the directory that no mount it’s file name just is “xcodebuild.lock”,and then I try to mkdir a long name dir name in finder ,and then drop any file in it and drag the dir to the mounted fs,the same issue occurred,so I guess that

@netheril96
Copy link
Owner

OK, I got it. It is very weird. I need time to investigate.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants