Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

This fails to build with a Generic iOS Device, use of undeclared type 'VectorArithmetic' #2

Open
lucasteng123 opened this issue Apr 23, 2020 · 7 comments

Comments

@lucasteng123
Copy link

lucasteng123 commented Apr 23, 2020

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

@kieranb662
Copy link
Owner

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.

@kieranb662
Copy link
Owner

I will keep this issue open until a better solution is obtained.

@lucasteng123
Copy link
Author

That workaround worked for me, thank you!

@vshvedov
Copy link

vshvedov commented Jun 10, 2020

@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!

@literalpie
Copy link

Screen Shot 2020-06-13 at 4 15 29 PM

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.

@vshvedov
Copy link

Thanks @literalpie! I will give it a try another time!

@kocered-tech
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants