Frameworks/libswiftos.dylib.cstemp: No such file or directory (os error 2)
Environment
macOS Ventura (beta) Xcode 14.0 and 14.0.1 sentry-cli 2.5.2 and 2.6.0
Steps to Reproduce
- Product
- Archive
- NOT PROFIT!!
Expected Result
Well, I expected it to work, but after upgrading to Xcode 14.0 the automatic debug symbols sending broke down.
Actual Result
DEBUG 2022-09-26 17:30:34.227911 +02:00 < Strict-Transport-Security: max-age=31536000; includeSubDomains; preload
DEBUG 2022-09-26 17:30:34.228019 +02:00 response status: 200
DEBUG 2022-09-26 17:30:34.228103 +02:00 body: {"url":"https://sentry.io/api/0/organizations/xxx/chunk-upload/","chunkSize":8388608,"chunksPerRequest":64,"maxFileSize":2147483648,"maxRequestSize":33554432,"concurrency":8,"hashAlgorithm":"sha1","compression":["gzip"],"accept":["debug_files","release_files","pdbs","sources","bcsymbolmaps","il2cpp"]}
error: IO error for operation on /Users/admin/Library/Developer/Xcode/DerivedData/xxx-dhskadogyfqtadeyktjbrloflnrc/Build/Intermediates.noindex/ArchiveIntermediates/xxx/BuildProductsPath/Release-iphoneos/xxx/Frameworks/libswiftos.dylib.cstemp: No such file or directory (os error 2)
caused by: No such file or directory (os error 2)
It looks like some caches were preserved prior to upgrade, and its just getting confused.
Can you try to clean the build directory and retry?
Its either via regular menu or Command + Shift + Option + K
@kamilogorek, yeah, that's the first thing I tried and nothing changed...
There's still in your project holding reference onto this file. There's not much I can do here tbh.
This issue has gone three weeks without activity. In another week, I will close it.
But! If you comment or otherwise update it, I will reset the clock, and if you label it Status: Backlog or Status: In Progress, I will leave it alone ... forever!
"A weed is but an unloved flower." ― Ella Wheeler Wilcox 🥀
Wouldn't it be better to add a flag to ignore a missing file?