expo / eas-cli

Fastest way to build, submit, and update iOS and Android apps
https://docs.expo.dev/eas/
MIT License
840 stars 85 forks source link

Warning Run expo doctor,,,,Error: Run fastlane. #2716

Open Jessie3 opened 8 hours ago

Jessie3 commented 8 hours ago

Build/Submit details page URL

Running "expo doctor" Running 14 checks on your project... ✔ Check package.json for common issues ✔ Check Expo config for common issues ✔ Check native tooling versions ✔ Check for issues with Metro config ✖ Check if the project meets version requirements for submission to app stores ✔ Check for common project setup issues ✔ Check dependencies for packages that should not be installed directly ✔ Check for app config fields that may not be synced in a non-CNG project ✔ Check Expo config (app.json/ app.config.js) schema ✔ Check npm/ yarn versions ✔ Check that packages match versions required by installed Expo SDK ✔ Check for legacy global CLI installed locally ✔ Check that native modules do not use incompatible support packages ✖ Check that native modules use compatible support package versions for installed Expo SDK Detailed check results: Expected package @expo/config-plugins@^5.0.0 Found invalid: @expo/config-plugins@9.0.10 @expo/config-plugins@9.0.10 @expo/config-plugins@9.0.10 (for more info, run: npm why @expo/config-plugins) Expected package @expo/prebuild-config@^5.0.1 Found invalid: @expo/prebuild-config@8.0.19 (for more info, run: npm why @expo/prebuild-config) This project is using an SDK version that by default targets Android API level 33 or lower. To submit your app to the Google Play Store after August 31 2024, you must target Android API level 34 or higher. One or more checks failed, indicating possible issues with the project. Advice: Upgrade dependencies that are using the invalid package versions. Advice: Upgrade to Expo SDK 50 or later, which by default supports Android API level 34 Learn more: https://support.google.com/googleplay/android-developer/answer/11926878?hl=en Command "expo doctor" failed.

Summary

Command "expo doctor" failed. npx -y expo-doctor exited with non-zero code: 1

Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

Build failed: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

Managed or bare?

bare

Environment

Creating new worker instance M1, 2 cores, 8 GB RAM Using VM template "macos-sonoma-14.5-xcode-15.4" running macOS Sonoma 14.5 Installed software:

Error output

› Compiling react-native Pods/RCT-Folly » json.cpp

❌ (ios/Pods/boost/boost/container_hash/hash.hpp:131:33)

129 | #else 130 | template

131 | struct hash_base : std::unary_function<T, std::size_t> {}; | ^ no template named 'unary_function' in namespace 'std'; did you mean '__unary_function'? 132 | #endif 133 | 134 | struct enable_hash_value { typedef std::size_t type; }; › Compiling react-native Pods/RCT-Folly » dynamic.cpp › Compiling react-native Pods/RCT-Folly » UniqueInstance.cpp › Compiling react-native Pods/RCT-Folly » Unicode.cpp › Compiling react-native Pods/RCT-Folly » ToAscii.cpp ⚠️ Script has ambiguous dependencies causing it to run on every build. To fix, go to: Xcode » AI/AI » Build Phases » 'Start Packager' Either: Uncheck "Based on dependency analysis", or select output files to trigger the script ⚠️ Script has ambiguous dependencies causing it to run on every build. To fix, go to: Xcode » AI/AI » Build Phases » 'Bundle React Native code and images' Either: Uncheck "Based on dependency analysis", or select output files to trigger the script ▸ ARCHIVE FAILED ▸ The following build commands failed: ▸ CompileC /Users/expo/Library/Developer/Xcode/DerivedData/AI-caiksyfaljzfhubpanygbloyjmbh/Build/Intermediates.noindex/ArchiveIntermediates/AI/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/RCT-Folly.build/Objects-normal/arm64/json.o /Users/expo/workingdir/build/ios/Pods/RCT-Folly/folly/json.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods') ▸ (1 failure) ARCHIVE FAILED The following build commands failed: CompileC /Users/expo/Library/Developer/Xcode/DerivedData/AI-caiksyfaljzfhubpanygbloyjmbh/Build/Intermediates.noindex/ArchiveIntermediates/AI/IntermediateBuildFilesPath/Pods.build/Release-iphoneos/RCT-Folly.build/Objects-normal/arm64/json.o /Users/expo/workingdir/build/ios/Pods/RCT-Folly/folly/json.cpp normal arm64 c++ com.apple.compilers.llvm.clang.1_0.compiler (in target 'RCT-Folly' from project 'Pods') (1 failure) Exit status: 65 +---------------------------------------+ | Build environment | +-------------+-------------------------+ | xcode_path | /Applications/Xcode.app | | gym_version | 2.220.0 | | sdk | iPhoneOS17.5.sdk | +-------------+-------------------------+ Looks like fastlane ran into a build/archive error with your project It's hard to tell what's causing the error, so we wrote some guides on how to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/ Before submitting an issue on GitHub, please follow the guide above and make sure your project is set up correctly. fastlane uses xcodebuild commands to generate your binary, you can see the the full commands printed out in yellow in the above log. Make sure to inspect the output above, as usually you'll find more error information there [!] Error building the application - see the log above Error: The "Run fastlane" step failed with an unknown error. Refer to "Xcode Logs" below for additional, more detailed logs.

Reproducible demo or steps to reproduce from a blank project

This project is using an SDK version that by default targets Android API level 33 or lower. To submit your app to the Google Play Store after August 31 2024, you must target Android API level 34 or higher. One or more checks failed, indicating possible issues with the project. Advice: Upgrade dependencies that are using the invalid package versions. Advice: Upgrade to Expo SDK 50 or later, which by default supports Android API level 34 Learn more: https://support.google.com/googleplay/android-developer/answer/11926878?hl=en Command "expo doctor" failed. npx -y expo-doctor exited with non-zero code: 1