opened
jakecronin
username_0
Thank you for building this mlkit bridge. I am having difficulty using this package with RNCamera.

I have RNFirebase and RNCamera both functioning correctly on my app, but when I link react-native-firebase-mlkit and install the necessary pods, I get the following build error (iOS): 

`Undefined symbols for architecture arm64:
  "_OBJC_CLASS_$_BarcodeDetectorManagerMlkit", referenced from:
      objc-class-ref in libRNCamera.a(RNCameraManager.o)`

Has anyone else encountered difficulty using this library with RNCamera?

Xcode version: 10.2

From package.json:

```
"dependencies": {
    "@okgrow/react-native-copilot": "^2.4.1",
    "@react-native-firebase/mlkit": "^0.0.4",
    "eslint-config-rallycoding": "^3.2.0",
    "lodash": "^4.17.11",
    "moment": "^2.24.0",
    "react": "16.8.3",
    "react-native": "0.59.5",
    "react-native-appsee": "^2.6.1",
    "react-native-calendar-events": "^1.7.1",
    "react-native-calendars": "^1.32.0",
    "react-native-camera": "^2.6.0",
    "react-native-communications": "^2.2.1",
    "react-native-contacts": "^4.0.0",
    "react-native-datepicker": "^1.7.2",
    "react-native-elements": "^1.1.0",
    "react-native-firebase": "^5.3.1",
    "react-native-firebase-mlkit": "^0.6.2",
    "react-native-google-places-autocomplete": "^1.3.9",
    "react-native-immediate-phone-call": "^1.0.0",
    "react-native-keyboard-aware-scroll-view": "^0.8.0",
    "react-native-maps": "^0.24.2",
    "react-native-navigation-directions": "^1.0.3",
    "react-native-permissions": "^1.1.1",
    "react-native-router-flux": "^4.0.6",
    "react-native-sliding-panes": "^1.0.3",
    "react-native-snap-carousel": "^3.7.5",
    "react-native-svg": "^9.4.0",
    "react-native-swipeout": "^2.3.6",
    "react-native-unified-contacts": "^1.6.2",
    "react-native-vector-icons": "^6.4.2",
    "react-redux": "^7.0.2",
    "redux": "^4.0.1",
    "redux-thunk": "^2.3.0",
    "s": "^0.1.1",
    "victory-native": "^32.0.2"
```

Build-Phases tab of Main project target
<img width="697" alt="Screenshot 2019-05-18 13 46 31" src="https://user-images.githubusercontent.com/18358803/57973216-6be6d280-7973-11e9-892f-1b8b3d13e784.png">
Colliding with RNCamera on iOS, error: Undefined symbol: _OBJC_CLASS_$_BarcodeDetectorManagerMlkit
issue
created
GaspardC
username_1
Yes I have exactly the same error
comment
created
guidux
username_2
Today I had the same issue I noticed that BarcodeDetectorManagerMlkit.m and BarcodeDetectorManagerMlkit.h were missing after linking RNMlKit so I just drag these two files from .../node_modules/react-native-camera/ios/RN/BarcodeDetectorManagerMlkit.h. (and BarcodeDetectorManagerMlkit.m). 
![image](https://user-images.githubusercontent.com/1030759/58357393-a1def780-7e48-11e9-820c-10d1906faf20.png)
comment