apple / swift-numerics

Advanced mathematical types and functions for Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error in Swift Playgrounds

J0N1X opened this issue · comments

Swift Playgrounds

When package is added to a Swift Playgrounds „app“ it automatically sends an error: „clangTarget is not supported“.

Can it be fixed? I‘m a newbie to swift so I don’t know.

You get this error because Swift Playgrounds does not support C targets - and Numerics depends on a C target.

The comments in this thread still hold true:
https://forums.swift.org/t/would-it-be-possible-to-remove-clang-dependencies-from-swift-numerics/67366