- Managed workflow
- eas-cli version: “version”: “>= 0.47.0”
- expo version: “^44.0.0”
Currently I tried to build with “eas build” then select build to “All” platform but both of iOS and Android occured error on Run Fastlane and Run gradlew.
I tried build with classic build “expo build:android” and it is successfully, but “expo build:ios” still got error.
To troubleshoot the problem, I tried to new a empty project with expo init and build agian, everything works fine. So I believe that is my project problem, maybe node_modules…but I’m not sure where is the problem.
The error as below:
For iOS build Fastlane,
Copying PolyUWellFit.swiftmodule/arm64-apple-ios.swiftdoc ➜ PolyUWellFit.build/Objects-normal/arm64/PolyUWellFit.swiftdoc
› Copying PolyUWellFit.build/DerivedSources/PolyUWellFit-Swift.h ➜ PolyUWellFit.build/Objects-normal/arm64/PolyUWellFit-Swift.h
› Compiling PolyUWellFit » main.m
› Compiling PolyUWellFit » PolyUWellFit_vers.c
› Compiling PolyUWellFit » AppDelegate.m
⚠️ (../../../../React/RCTNativeAnimatedNodesManager.h:19:41)
surfacePresenter:(id<RCTSurfacePresenterStub>)surfacePresenter;
^ pointer is missing a nullability type specifier [-Wnullability-completeness]
› Linking PolyUWellFit » PolyUWellFit
❌ duplicate symbol '_OBJC_CLASS_$_EXReactNativeUserNotificationCenterProxy' in
┌─ libEXPermissions.a(EXReactNativeUserNotificationCenterProxy.o)
└─ libExpoModulesCore.a(EXReactNativeUserNotificationCenterProxy.o)
❌ duplicate symbol '_OBJC_METACLASS_$_EXReactNativeUserNotificationCenterProxy' in
┌─ libEXPermissions.a(EXReactNativeUserNotificationCenterProxy.o)
└─ libExpoModulesCore.a(EXReactNativeUserNotificationCenterProxy.o)
❌ ld: 7 duplicate symbols for architecture arm64
❌ clang: error: linker command failed with exit code 1 (use -v to see invocation)
▸ ** ARCHIVE FAILED **
▸ The following build commands failed:
▸ Ld /Users/expo/Library/Developer/Xcode/DerivedData/PolyUWellFit-bmueebpslxhfhwfkuabalutdkqkz/Build/Intermediates.noindex/ArchiveIntermediates/PolyUWellFit/InstallationBuildProductsLocation/Applications/PolyUWellFit.app/PolyUWellFit normal (in target 'PolyUWellFit' from project 'PolyUWellFit')
▸ (1 failure)
** ARCHIVE FAILED **
The following build commands failed:
Ld /Users/expo/Library/Developer/Xcode/DerivedData/PolyUWellFit-bmueebpslxhfhwfkuabalutdkqkz/Build/Intermediates.noindex/ArchiveIntermediates/PolyUWellFit/InstallationBuildProductsLocation/Applications/PolyUWellFit.app/PolyUWellFit normal (in target 'PolyUWellFit' from project 'PolyUWellFit')
(1 failure)
Exit status: 65
For Andriod build gradlew,
> Task :unimodules-task-manager-interface:extractDeepLinksRelease
> Task :unimodules-task-manager-interface:processReleaseManifest
> Task :app:processReleaseMainManifest FAILED
[:react-native-reanimated] /home/expo/workingdir/build/node_modules/react-native-reanimated/android/build/intermediates/library_manifest/release/AndroidManifest.xml Warning:
Package name 'com.swmansion.reanimated' used in: :react-native-reanimated, react-native-reanimated-64-jsc.aar.
See http://g.co/androidstudio/manifest-merger for more information about the manifest merger.
[stderr] /home/expo/workingdir/build/android/app/src/main/AndroidManifest.xml Error:
[stderr] Attribute data@scheme at AndroidManifest.xml requires a placeholder substitution but no value for <appAuthRedirectScheme> is provided.
[stderr] FAILURE: Build failed with an exception.
[stderr] * What went wrong:
[stderr] Execution failed for task ':app:processReleaseMainManifest'.
[stderr] > Manifest merger failed with multiple errors, see logs
[stderr] * Try:
[stderr] Run with --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 4m 34s
Deprecated Gradle features were used in this build, making it incompatible with Gradle 7.0.
Use '--warning-mode all' to show the individual deprecation warnings.
See https://docs.gradle.org/6.9/userguide/command_line_interface.html#sec:command_line_warnings
283 actionable tasks: 283 executed
Error: Gradle build failed with unknown error. Please see logs for the "Run gradlew" phase.