标签: eas

EAS 构建 iOS 失败:Apple Developer Portal 身份验证失败

我正在使用 EAS 构建我的 Expo 应用程序,今天在尝试在本地或 EAS 服务器上运行 iOS 构建时开始收到此错误。我认为这是苹果服务器的问题,所以我希望它能尽快得到解决。

\n

构建命令的输出:

\n
\xe2\x9c\x94 Select platform \xe2\x80\xba iOS\n\xe2\x9c\x94 Using remote iOS credentials (Expo server)\n\nIf you provide your Apple account credentials we will be able to generate all necessary build credentials and fully validate them.\nThis is optional, but without Apple account access you will need to provide all the missing values manually and we can only run minimal validation on them.\n\xe2\x9c\x94 Do you want to log in to your Apple account? \xe2\x80\xa6 …
Run Code Online (Sandbox Code Playgroud)

ios react-native expo eas

42
推荐指数
3
解决办法
2万
查看次数

EAS 构建给出:无效的“RNGestureHandler.podspec”文件:未定义的方法“存在?”

最近,当yarn eas build我的世博项目开始失败时

[INSTALL_PODS] Using Expo modules
[INSTALL_PODS] [Expo] Enabling modular headers for pod ExpoModulesCore
...
[INSTALL_PODS] [!] Invalid `Podfile` file: 
[INSTALL_PODS] [!] Invalid `RNGestureHandler.podspec` file: undefined method `exists?' for File:Class.
...
[INSTALL_PODS]  #  -------------------------------------------
[INSTALL_PODS]  #  
[INSTALL_PODS]  >  isUserApp = File.exists?(File.join(__dir__, "..", "..", "node_modules", "react-native", "package.json"))
[INSTALL_PODS]  #  if isUserApp
[INSTALL_PODS]  #  -------------------------------------------

Run Code Online (Sandbox Code Playgroud)

我不经常在本地进行构建(在 Expo 服务器上进行远程构建效果很好),因此过去几周内可能有很多事情触发了此问题,包括从 Intel MBP 迁移到 M2 MBA,但我想知道是否有一个有人有经验的明显原因。该错误表明 podfile 使用未定义的方法存在问题。但我在网上找到的解决这个问题的建议涉及各种调整,远远超出了我所熟悉的范围。我对 Expo/EAS 的经验是一定要

brew install cocoapods fastlane
Run Code Online (Sandbox Code Playgroud)

并且不要涉及更多。理想情况下,我希望避免弄乱建议作为快速修复的特殊宝石安装。

所以问题是:这确实只是 podfile 中的一个错误(使用已弃用的方法),最终会得到修复吗?


更新:总的来说,答案似乎是“是”:这确实在受影响的软件包的更高版本中得到修复,但 …

ruby cocoapods react-native-gesture-handler eas

24
推荐指数
4
解决办法
2万
查看次数

我正在尝试安装 eas cli 并收到错误:zsh:找不到命令:eas

我在根文件夹中并输入:

yarn global add eas-cli
Run Code Online (Sandbox Code Playgroud)

然后我得到:

yarn global v1.22.19
warning ../../package.json: No license field
[1/4]   Resolving packages...
[2/4]   Fetching packages...
[3/4]   Linking dependencies...
[4/4]   Building fresh packages...
success Installed "eas-cli@0.54.1" with binaries:
Run Code Online (Sandbox Code Playgroud)

然后我通过输入 eas login 来使用 eas,我得到:

zsh: command not found: eas
Run Code Online (Sandbox Code Playgroud)

sdk react-native expo eas

9
推荐指数
2
解决办法
3万
查看次数

EAS 本地构建不适用于 Xcode 14

我相信这就是正在发生的事情:

\n

我的 MacOS 系统更新了,随后 Xcode 更新到了版本 14。从那时起,我的 eas 本地构建就不再成功完成。将构建提交到 eas 构建系统仍然有效,但队列可能需要很长时间,因此当我需要构建 .ipa 以安装在真实设备上时,它会删除任何类型的快速反馈。

\n

这是我收到的错误消息。

\n
[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you can provide.\n[RUN_FASTLANE] 2022-09-15 23:36:18.227 xcodebuild[29486:925103]  DVTAssertions: Warning in /System/Volumes/Data/SWE/Apps/DT/BuildRoots/BuildRoot2/ActiveBuildRoot/Library/Caches/com.apple.xbs/Sources/DVTiOSFrameworks/DVTiOSFrameworks-21157/DTDeviceKitBase/DTDKRemoteDeviceData.m:382\n[RUN_FASTLANE] Details:  (null) deviceType from 00008006-000924391E47002E was NULL when -platform called.\n[RUN_FASTLANE] Object:   <DTDKMobileDeviceToken: 0x11640b0d0>\n[RUN_FASTLANE] Method:   -platform\n[RUN_FASTLANE] Thread:   <NSThread: 0x600000aa0980>{number = 2, name = (null)}\n[RUN_FASTLANE] Please file a bug at https://feedbackassistant.apple.com with this warning message and any useful information you …
Run Code Online (Sandbox Code Playgroud)

cocoapods react-native expo xcode14 eas

8
推荐指数
1
解决办法
5460
查看次数

使用 eas 构建/托管工作流程将 gradle 存储库添加到 expo 应用程序构建中

我有以下...

情况:

我有一个在世博平台上构建的反应本机应用程序(我们称之为“MyApp”)。我用来eas build构建项目。

最近,我分叉了 expo-camera 软件包来更新 iOS 部分,以便能够使用超广角相机。现在我保持 Android 部分不变。我将我的 fork 上传到 npm-registry asmyApp-expo-camera并将 MyApp 中的依赖项从 更新expo-cameramyApp-expo-camera

错误:

现在,当我构建 iOS 时,一切都按预期工作,但是当我构建 Android 时,它告诉我,它缺少软件包cameraview

FAILURE: Build failed with an exception.
* What went wrong:
Could not determine the dependencies of task ':app:lintVitalRelease'.
> Could not resolve all artifacts for configuration ':app:debugCompileClasspath'.
> Could not find com.google.android:cameraview:1.0.0.
     Required by:
         project :app > project :expo > project :expo-camera
Run Code Online (Sandbox Code Playgroud)

问题:

该软件包以 .aar 存档形式cameraview …

android gradle expo eas

6
推荐指数
1
解决办法
2635
查看次数

EXPO [Android] [EAS] 构建在启动时崩溃

我最近从 SDK 43 迁移到 Expo SDK 45,还从经典版本升级到 EAS CLI,并且我拥有托管工作流程。

当我使用命令创建 android 版本时eas build --profile preview --platform android。它成功创建了构建,但在启动屏幕上崩溃,没有任何堆栈跟踪。

当我使用开发客户端或 Expo GO 测试构建时,没有任何错误或警告。

在这里我分享我的 package.json

{
  "name": "native",
  "version": "1.0.0",
  "private": "true",
  "main": "./index.js",
  "scripts": {
    "postinstall": "patch-package; cp -f patches/manual/createKeyboardAwareNavigator.js ./node_modules/@react-navigation/native/src",
    "start": "expo start --dev-client",
    "android": "expo run:android",
    "ios": "expo run:ios",
    "eject": "expo eject",
    "test": "node ./node_modules/jest/bin/jest.js --watchAll",
    "prettier": "prettier --write 'src/**/*{.js,.jsx}'",
    "lint": "eslint -c ../../.eslintrc 'src' --ext '.js,.jsx'",
    "lint-fix": "eslint -c ../../.eslintrc 'src' --ext '.js,.jsx' --fix",
    "fix-nav": "cp …
Run Code Online (Sandbox Code Playgroud)

android react-native expo eas

6
推荐指数
2
解决办法
3710
查看次数

Expo SDK 46 iOS 构建在 Pod 安装步骤中失败

我正在尝试从 expo 托管项目构建 iOS 应用程序。构建在 Pod 安装步骤失败。

在 Expo SDK 44、45 中一切正常。但是当我升级到 SDK 46 时,我遇到了这个问题。

这是我的 package.json

{
  "name": "App1234",
  "version": "1.0.0",
  "main": "node_modules/expo/AppEntry.js",
  "scripts": {
    "start": "expo start",
    "android": "expo start --android",
    "ios": "expo start --ios",
    "web": "expo start --web"
  },
  "dependencies": {
    "@expo/vector-icons": "^13.0.0",
    "@openspacelabs/react-native-zoomable-view": "^2.0.4",
    "@react-native-community/datetimepicker": "6.2.0",
    "@react-native-community/netinfo": "9.3.0",
    "@react-native-community/slider": "4.2.3",
    "@react-native-google-signin/google-signin": "^8.1.0",
    "@react-navigation/bottom-tabs": "^6.4.0",
    "@react-navigation/drawer": "^6.5.0",
    "@react-navigation/native": "^6.0.13",
    "@react-navigation/native-stack": "^6.9.0",
    "@react-navigation/stack": "^6.3.2",
    "@stripe/stripe-react-native": "0.13.1",
    "@types/react-native": "~0.69.1",
    "apisauce": "^2.1.6",
    "expo": "~46.0.13",
    "expo-apple-authentication": "^4.3.0",
    "expo-constants": "^13.2.4",
    "expo-document-picker": "^10.3.0", …
Run Code Online (Sandbox Code Playgroud)

ios cocoapods react-native expo eas

5
推荐指数
2
解决办法
8023
查看次数

EXPO 错误:Fastlane 构建因未知错误而失败

我正在尝试编译我的expo开发(不是expo go)应用程序,它在测试中适用于IOS和Android,但是当我尝试将其编译用于生产时,只有Android编译成功,IOS构建在“Run Fastlane”处失败。

我已经搜索并尝试了不同的在线建议,但似乎没有任何效果,还有其他人遇到过这个问题吗?我已经被困了好几天了

我的错误

Build failed: Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
Run Code Online (Sandbox Code Playgroud)

这是我的 app.json

{
  "expo": {
    "name": "myapp",
    "scheme": "myapp",
    "version": "2.0.0",
    "orientation": "portrait",
    "icon": "iconIOS.png",
    "updates": {
      "fallbackToCacheTimeout": 0
    }, …
Run Code Online (Sandbox Code Playgroud)

fastlane expo eas

5
推荐指数
0
解决办法
763
查看次数

如何在eas-build --local中查看xcode日志

我的构建可以在 EAS 上运行,但在本地失败。命令:

eas build --platform ios --local --profile development
Run Code Online (Sandbox Code Playgroud)

归档步骤失败:

Build failed
Fastlane build failed with unknown error. See logs for the "Run fastlane" and "Xcode Logs" phases for more information.
Fastlane errors in most cases are not printed at the end of the output, so you may not find any useful information in the last lines of output when looking for an error message.
Run Code Online (Sandbox Code Playgroud)

如何查看 Xcode 日志?这些可供 EAS 托管版本下载。

expo eas

5
推荐指数
1
解决办法
968
查看次数

Expo - 如何在 Google Play 中运行 eas Submit 进行内部测试

我使用 expo 来eas build发布eas submitAndroid 应用程序,当我eas submit这样做时,它会自动上传构建并发布到商店。

是否可以eas submit在google play console中运行上传到内部测试轨道?

我的目标是自动化这个过程,我只上传内部测试的版本,一旦测试通过推广内部版本就发布到商店。

react-native expo eas

4
推荐指数
1
解决办法
2266
查看次数