Post

Replies

Boosts

Views

Created

Xcode Archive failed in NFS Storage
I am trying to archive xcode build in network drive(file share). But we unable to archive xcode build. Note: Same xcode build works fine in mac disk instead of network drive. I am very curious about why we facing issue if we use network drive Xcode version: V13.2 Can someone tell me It is possible to archive xcode build in network drive instead of Mac disk?
2
0
1.3k
Aug ’22
Xcode Archive issue in NFS (Network Drive)
Hi All, Greeting of the day! We are facing frequent disk space issue in Mac mini. So we have mounted netapp file share in Mac mini for build the xcode. Now I am trying to archive xcode build in network drive(file share). But we unable to archive xcode build. Note: Same xcode build works fine in mac disk instead of network drive. I am very curious about why we facing issue if we use network drive I am getting multiple strange issues Please find the detailed information below Xcode version: V13.2 #1 - I have used below command for archive xcode build xcodebuild clean archive -workspace -scheme ${scheme} -configuration Release -archivePath -verbose -destination 'generic/platform=iOS' CODE_SIGN_STYLE=Manual PROVISIONING_PROFILE_SPECIFIER='XXXXXX' CODE_SIGN_IDENTITY='iPhone Distribution'" Error: error: /Applications/mnt/nfs/MyProject/assets/fonts/WhitneyBook.ttf: No such file or directory (in target 'Mydemo-dev' from project 'Mydemo') Above error seems like file (WhitneyBook.ttf) not found in /Applications/mnt/nfs/MyProject/assets/fonts directory. I have manually logged in and checked the path. Actual Path : /Applications/mnt/nfs/MyProject/assets/Fonts/WhitneyBook.ttf Build expecting path : /Applications/mnt/nfs/MyProject/assets/fonts/WhitneyBook.ttf These error only throws when we use network drive. same source code works fine in mac disk. I guess mac disk is not case sensitive. So It is successfully found the file in directory. But file share is case sensitive, we need to provide correct path. #2 - After fixed above issue, again i am tried archive command. In console output, It shows Archive is Succeed. But no files has been generated in archive path. Can someone please help me on this? I would appreciate if you share the steps to archive and export xcode build in file share (network drive) Thanks Mahi
1
0
1.2k
Aug ’22