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

symbol(s) not found for architecture arm64 #7

Open
pawin opened this issue Dec 23, 2024 · 0 comments
Open

symbol(s) not found for architecture arm64 #7

pawin opened this issue Dec 23, 2024 · 0 comments

Comments

@pawin
Copy link

pawin commented Dec 23, 2024

I got this error after adding OpenCV to my project.

clang: error: linker command failed with exit code 1 (use -v to see invocation)

My code

    @State var image = UIImage(named: "2021")!
    
    var body: some View {
        VStack {
            Image(uiImage: image)
                .scaledToFill()
                .onTapGesture {
                    let x = OpenCV.Mat(uiImage: image)
                    print("tapped!")
                }
        }
        .padding()
    }
}

I also tried let x = Mat(uiImage: image) getting the same error.

Xcode 16.2
iPhone 16 Pro (iOS 18.2)

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

1 participant