I'm trying to archive a project to be able to download it on my iPhone, although I get the following error:
"swift stdlib tool Error. Task failed with exit 1 signal 0"
Users/[myusername]/Library/Developer/Xcode/DerivedData/InstaPetrol-ecrfzlyxswrpqhdhhkbpqgbbkwlv/Build/Intermediates.noindex/ArchiveIntermediates/InstaPetrol/InstallationBuildProductsLocation/Applications/InstaPetrol.app/Frameworks/libswiftCore.dylib: replacing existing signature /Users/[myusername]/Library/Developer/Xcode/DerivedData/InstaPetrol-ecrfzlyxswrpqhdhhkbpqgbbkwlv/Build/Intermediates.noindex/ArchiveIntermediates/InstaPetrol/InstallationBuildProductsLocation/Applications/InstaPetrol.app/Frameworks/libswiftCore.dylib: unknown error -1=ffffffffffffffff error: Task failed with exit 1 signal 0 { /usr/bin/codesign '--force' '--sign' '06EEC2F5E4124B35FA197B18BAEE0F92088C76C7' '--verbose' '/Users/[myusername]/Library/Developer/Xcode/DerivedData/InstaPetrol-ecrfzlyxswrpqhdhhkbpqgbbkwlv/Build/Intermediates.noindex/ArchiveIntermediates/InstaPetrol/InstallationBuildProductsLocation/Applications/InstaPetrol.app/Frameworks/libswiftCore.dylib' }
I tried doing everything from checking and signing certificates to deleting the deriveddata folder.