Skip to content
This repository was archived by the owner on Apr 4, 2023. It is now read-only.

Commit d15ed93

Browse files
#710 If ML Kit Face detection is selected, but not Text detection, then the iOS build will fail
1 parent 02cb7d3 commit d15ed93

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/entitlements-after-prepare.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = function (logger, platformsData, projectData, hookArgs) {
4646
path.join(mobileVisionPod, "TextDetector", "Resources", "GoogleMVTextDetectorResources.bundle")
4747
);
4848
}
49-
if (fs.existsSync(path.join(mobileVisionPod, "TextDetector", "Resources", "GoogleMVTextDetectorResources"))) {
49+
if (fs.existsSync(path.join(mobileVisionPod, "FaceDetector", "Resources", "GoogleMVFaceDetectorResources"))) {
5050
fsextra.copy(
5151
path.join(mobileVisionPod, "FaceDetector", "Resources", "GoogleMVFaceDetectorResources"),
5252
path.join(mobileVisionPod, "FaceDetector", "Resources", "GoogleMVFaceDetectorResources.bundle")

0 commit comments

Comments
 (0)