Swift Stdlib Tool Error

Swift stdlib tool Error

The non-deterministic nature of the symptoms makes me think it's a problem with stale data in Xcode's DerivedData folder.

Trash the contents of /Users/..../Library/Developer/Xcode/DerivedData/, this should solve your issue.

Deleting the content of this folder is not problematic because Xcode will recreate what it needs if it's missing.

Swift stdlib tool error when building to iPhone X - Xcode 9.1

I had the same issue. For some reason, recreation development certificate and provision profile from the scratch resolved the issue. Thanks.

Swift stdlib tool error - the specified item could not be found in keychain

Okay, the only solution that helped is the one described in this thread: https://forums.developer.apple.com/message/325197#325197

And the problem was that I have an active USB token inserted in the USB port as I need a VPN connection to be active on my machine. If i remove it, codesigning works correctly. The link above gives a workaround if u can't remove the USB token or a smart card token.

Hope that helps someone!

Swift Sdtlib tool error: Task failed with exit code 1

I use macOS High Sierra, Xcode 9.3:
This worked for me.

  1. Go to /Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/
  2. Moved all the files to Trash, empty the trash
  3. Opened Xcode, Clean and Build.

Restarting xcode or macbook, dragging and dropping certificate in the keychain did not work for me.

Swift stdlib tool Error: Expected a single Swift ABI version in

This is a carthage issue. It's being discussed here: issue #2062

The workaround I use is to open: ~/Library/Caches/org.carthage.CarthageKit/ and delete everything before doing another carthage update



Related Topics



Leave a reply



Submit