| 493db8dc | 15-Mar-2021 |
Bartłomiej Bukowski <[email protected]> |
[iOS][face-detector] Explicitly add missing native dependecies (#12182)
It appears we need to explicitly define transitive dependencies to achieve `prebuilds` compilation without errors.
# Why
[iOS][face-detector] Explicitly add missing native dependecies (#12182)
It appears we need to explicitly define transitive dependencies to achieve `prebuilds` compilation without errors.
# Why
Even though main compilation succeeds (`Expo GO` project), when it comes down to `face-detector prebuild` compilation then compilation fails, because of missing headers/dependencies.
Resolves https://linear.app/expo/issue/E-492/investigate-fixing-prebuild-for-expo-face-detector
# How
I've learned how `prebuilds` process is performed and learned the differences between what should be included in `Xcode` project and what is missing in terms of dependencies & frameworks.
It allowed me to narrow down the problem to `xcodegen` tool and the fact that it is not including transitive dependencies in final `.pbxproj` file
It all revolves around `GoogleMLKit/FaceDetection` cocoapod that defines it's own dependencies (e.g. `MLKitFaceDetection`) and these dependencies were omitted in generated `face-detecor .pbxproj` that is a base for `prebuild` compilation.
# Test Plan
✅ `et prebuild-packages expo-face-detector` succeeds
show more ...
|