nonth / react-native-face-detection

react-native face detection using Google ML Kit
MIT License
45 stars 22 forks source link

Error iOS Upload failed in TestFlight #4

Open rajkapoordev opened 2 years ago

rajkapoordev commented 2 years ago

Hello @nonth, I am started using this package few days ago. It works perfectly fine in debug and release mode. But while uploading build in testflight apple reject the build with following error.

While processing your iOS app, errors occurred in the app thinning process, and your app couldn’t be thinned. If your app contains bitcode, bitcode processing may have failed. Because of these errors, this build of your app will not be able to be submitted for review or placed on the App Store. For information that may help resolve this issue, see Tech Note 2432.

ericktpires commented 2 years ago

Hello,

I've found your issue while trying to understand a problem my team was having trying to send our build to TestFlight. Our app also uses the 'GoogleMLKit/FaceDetection' library.

The problem seems to be related to the bitcode compilation executed by the App Store during the App Thining process. As a workaround, we able to successfully upload the app to TestFlight after setting "Enable Bitcode" to "NO" on the app target.