簡體   English   中英

React Native expo 上傳:ios 問題

[英]React Native expo upload:ios issue

我在運行時遇到未知問題

須藤 expo 上傳:ios

這是首先出現在 iOS 和 Android 上的錯誤:

大家好,我成功地為 Android 和 iOs 創建了第一個版本,但后來我無法更新它們。 這是我得到的錯誤:

**iOS**

Error: xcrun exited with non-zero code: 1
at ChildProcess.completionListener (/usr/local/turtle-js/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
at Object.onceWrapper (events.js:317:30)
at emitTwo (events.js:126:13)
at ChildProcess.emit (events.js:214:7)
at maybeClose (internal/child_process.js:915:16)
at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
…
at spawnAsync (/usr/local/turtle-js/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
at spawnAsyncThrowError (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/ExponentTools.js:233:45)
at Object.buildAssetArchiveAsync (/usr/local/turtle-js/node_modules/@expo/xdl/build/detach/IosAssetArchive.js:82:51)
at
at process._tickDomainCallback (internal/process/next_tick.js:229:7)



**Android**

[stderr]

  /app/turtle/workingdir/android/sdk34/android-shell-app/app/src/main/res/mipmap-mdpi/ic_launcher.png: error: failed to read PNG signature: file does not start with PNG signature.
[stderr]

* Try:
[stderr]

Run with --stacktrace
[stderr]

 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 1m 32s
832 actionable tasks: 832 executed
Error: ./gradlew exited with non-zero code: 1
    at ChildProcess.completionListener (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:52:23)
    at Object.onceWrapper (events.js:317:30)
    at emitTwo (events.js:126:13)
    at ChildProcess.emit (events.js:214:7)
    at maybeClose (internal/child_process.js:915:16)
    at Process.ChildProcess._handle.onexit (internal/child_process.js:209:5)
    ...
    at spawnAsync (/app/turtle/node_modules/@expo/xdl/node_modules/@expo/spawn-async/build/spawnAsync.js:17:21)
    at spawnAsyncThrowError (/app/turtle/node_modules/@expo/xdl/build/detach/ExponentTools.js:233:45)
    at buildShellAppAsync (/app/turtle/node_modules/@expo/xdl/build/detach/AndroidShellApp.js:812:11)
    at <anonymous>

有人可以幫忙嗎?

驗證您的資產:iOS 例如上傳一個 54x60 的圖標,但它必須是 60x60 或任何其他有效尺寸。

暫無
暫無

聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.

 
粵ICP備18138465號  © 2020-2024 STACKOOM.COM