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.
- Go to
/Users/JohnAppleseed/Library/Developer/Xcode/DerivedData/
- Moved all the files to Trash, empty the trash
- 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
Switching a @State Property to a @Binding Property Interferes with Animation
How to Set Priority on Constraints in Swift
How to Set the iOS13 Uisegmentedcontrol Backgroundcolor to White
Swift - Associated Types in Protocol with Where Clause
Swift Repl: How to Save/Load the Repl State? (A.K.A. Suspend/Resume, Snapshot, Clone)
Change the Font of a Datepicker
Add a Xib File to a Swift Package
Corebluetooth on MAC Command Line Application
Use of Nspathcontrol to Represent Virtual Path
Color Keying Video with Gpuimage on a Scnplane in Arkit
Swift Build' on Terminal Throw 'Error: Root Manifest Not Found'
Troubles Using Cgpathcontainspoint Swift
Toolbar Is Deleting My Back Button in the Navigationview
Swift 4.1 Deinitialize and Deallocate(Capacity:) Deprecated
Swift Ui: Center Text into Circle
Xcode - Build Setting "Excluded_Source_File_Names" Not Working