FaceDetector not working in iOS standalone builds after MLKit migration

After FaceDetector started using MLKit, it stopped working in iOS standalone builds.

I think is related to Firebase not being configured correctly.

After running build:ios, generating production ipa and sending it to TestFlight this is the log when I open the screen with FaceDetector :

6.5.0 - [Firebase/Core][I-COR000003] The default Firebase app has not yet been configured. Add `[FIRApp configure];` (`FirebaseApp.configure()` in Swift) to your application initialization. Read more: https://goo.gl/ctyzm8.

Also I didn’t found anywhere I can provide my “GoogleService-Info.plist” file to configure Firebase.

I’m missing something here?

My environment:


"dependencies": {
    "axios": "^0.19.0",
    "axios-retry": "^3.1.2",
    "expo": "^34.0.3",
    "expo-barcode-scanner": "~6.0.0",
    "expo-camera": "~6.0.0",
    "expo-face-detector": "~6.0.0",
    "expo-font": "~6.0.1",
    "expo-image-manipulator": "~6.0.0",
    "expo-linear-gradient": "~6.0.0",
    "expo-permissions": "~6.0.0",
    "lodash.debounce": "^4.0.8",
    "lodash.get": "^4.4.2",
    "lodash.inrange": "^3.3.6",
    "lodash.throttle": "^4.1.1",
    "native-base": "^2.12.1",
    "prop-types": "^15.7.2",
    "react": "16.8.3",
    "react-dom": "^16.8.6",
    "react-native": "https://github.com/expo/react-native/archive/sdk-34.0.0.tar.gz",
    "react-native-confirmation-code-field": "^3.6.0",
    "react-native-gesture-handler": "~1.3.0",
    "react-native-iphone-x-helper": "^1.2.1",
    "react-native-keyboard-aware-scroll-view": "^0.9.1",
    "react-native-orientation-loading-overlay": "^0.1.6",
    "react-native-pose": "^0.9.1",
    "react-native-reanimated": "~1.1.0",
    "react-native-size-matters": "^0.2.1",
    "react-native-snap-carousel": "^3.8.0",
    "react-native-web": "^0.11.4",
    "react-navigation": "^3.11.1",
    "react-redux": "^7.0.3",
    "redux": "^4.0.1",
    "redux-persist": "^5.10.0",
    "redux-saga": "^1.0.2",
    "reduxsauce": "^1.1.0"
1 Like

I created a issue in github, if anyone wants to follow:


This topic was automatically closed 15 days after the last reply. New replies are no longer allowed.