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

error in iOS #28

Closed
valinaga opened this issue Dec 27, 2017 · 7 comments
Closed

error in iOS #28

valinaga opened this issue Dec 27, 2017 · 7 comments

Comments

@valinaga
Copy link

valinaga commented Dec 27, 2017

I follow the instructions as per the install documentation but I got an errror:

ld: framework not found openalpr
clang: error: linker command failed with exit code 1 (use -v to see invocation)

It looks like after adding the frameworks to the project there were no updates on framework search path. But if I try to manually add the path

$(PROJECT_DIR)/../node_modules/react-native-openalpr/ios/Frameworks

I got the error:

Undefined symbols for architecture x86_64:
  "_OBJC_CLASS_$_ALAssetsLibrary", referenced from:
      objc-class-ref in opencv2(cap_ios_video_camera.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

Any idea? I'm on XCode 9.2

@RobertSasak
Copy link
Owner

Your post feel familiar, but I cannot recall details. I made few notes that I hope will help you.

  1. Note
    Ensure that "This should cause the project to add a framework search path to the project's build settings (e.g. $(PROJECT_DIR)/../node_modules/react-native-openalpr/ios/Frameworks)."

  2. Note
    Problem with: objc-class-ref in opencv2(cap_ios_video_camera.o)
    Follow instructions from undefined symbols ALAssetsLibrary after update to Xcode8.3 from 8.2.1 #7 and add Assets library

@jqn
Copy link

jqn commented Jan 26, 2018

Take a look at this issue it might be what you are running into #13

@esbasti
Copy link

esbasti commented Jul 15, 2018

I fixed the error by adding 3 more libraries to the project, including AssesLibrary.framework

https://stackoverflow.com/questions/23634940/opencv2-framework-not-compile-with-linker-flag-objc

@jsastriques
Copy link

ld: framework not found openalpr
clang: error: linker command failed with exit code 1 (use -v to see invocation)

i get this error, please some help

@franck-nadeau
Copy link
Contributor

openalpr is outside your project directory, so you need to add the following:

$(PROJECT_DIR)/../node_modules/react-native-openalpr/ios/Frameworks/

To your project's Framework Search Path

@RobertSasak
Copy link
Owner

As this is an old issue I am closing it now. Feel free to open new one.

@arthur5005
Copy link

I fixed the error by adding 3 more libraries to the project, including AssesLibrary.framework

https://stackoverflow.com/questions/23634940/opencv2-framework-not-compile-with-linker-flag-objc

That fixed it for me!

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

7 participants