HI All,
I’ve got a managed app, which I’ve previously not had any issues with, even building and submitting. I recent upgraded to SDK 44, and now the build fails for both IOS and Android. I’m getting this error for ios:
[!] The following Swift pods cannot yet be integrated as static libraries:
The Swift pod `ExpoAdapterBranch` depends upon `react-native-branch`, which does not define modules. To opt into those targets generating module maps (which is necessary to import them from Swift when building as static libraries), you may set `use_modular_headers!` globally in your Podfile, or specify `:modular_headers => true` for particular dependencies.
[stderr] [!] `<PBXResourcesBuildPhase UUID=`13B07F8E1A680F5B00A75B9A`>` attempted to initialize an object with an unknown UUID. `57AF3556EB6D47FFA9F80AB6` for attribute: `files`. This can be the result of a merge and the unknown UUID is being discarded.
pod exited with non-zero code: 1
And for Android this is the error:
[stderr] Note: Some input files use unchecked or unsafe operations.
[stderr] Note: Recompile with -Xlint:unchecked for details.
> Task :react-native-branch:compileReleaseJavaWithJavac
> Task :react-native-branch:bundleLibCompileToJarRelease
[stderr] Note: /home/expo/workingdir/build/node_modules/react-native-branch/android/src/main/java/io/branch/rnbranch/RNBranchModule.java uses or overrides a deprecated API.
[stderr] Note: Recompile with -Xlint:deprecation for details.
[stderr] Note: /home/expo/workingdir/build/node_modules/react-native-branch/android/src/main/java/io/branch/rnbranch/AgingHash.java uses unchecked or unsafe operations.
[stderr] Note: Recompile with -Xlint:unchecked for details.
> Task :config-plugins-react-native-branch:compileReleaseKotlin FAILED
[stderr] e: /home/expo/workingdir/build/node_modules/@config-plugins/react-native-branch/android/src/main/java/expo/modules/adapters/branch/BranchReactActivityLifecycleListener.kt: (16, 5): 'onNewIntent' overrides nothing
[stderr] e: /home/expo/workingdir/build/node_modules/@config-plugins/react-native-branch/android/src/main/java/expo/modules/adapters/branch/BranchReactActivityLifecycleListener.kt: (20, 22): Unresolved reference: onNewIntent
w: Detected multiple Kotlin daemon sessions at build/kotlin/sessions
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':config-plugins-react-native-branch:compileReleaseKotlin'.
[stderr] > Compilation error. See log for more details
[stderr] * Try:
[stderr] Run with
[stderr] --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.
[stderr] * Get more help at https://help.gradle.org
[stderr] BUILD FAILED in 7m 13s
I have tried deleting my node modules and removing any lock files, and reinstalling everything again - but it seems that nothing works. Am I missing something with EAS and the SDK44 upgrade?