Sliders-SwiftUI
Sliders-SwiftUI copied to clipboard
This fails to build with a Generic iOS Device, use of undeclared type 'VectorArithmetic'
Both when included in my own project, and with the example project attached. Will compile and run with the simulator, or real devices. Will not build by itself though
I recently had the same issue. The fix I found is to copy and paste the library onto your app rather than use it as a package. I have filed a report, and am awaiting a better fix.
I will keep this issue open until a better solution is obtained.
That workaround worked for me, thank you!
@kieranb662 @lucasteng123 Do you have more details about the workaround? Nothing seems to help here.
I have the same VectorArithmetic
error and removing the library from Swift Packages and adding it via drag and drop with all required libraries doesn't work (same error)
Any ideas what I'm doing wrong (at least for the workaround)?
Thanks!
This worked for me. I downloaded the repo as a zip file from GitHub and dragged the whole thing into the Frameworks folder of my Xcode project. I then added the library to Targets>{app name}>Build Phases>Link Binary with Libraries.
Thanks @literalpie! I will give it a try another time!
I'm only having this issue while profiling. Build&Run works with no problems at all. I tried adding the solution in the comments but no luck.