Error: build ios app


#1

I read the article “Building Standalone Apps” and build standalone app according to the article.
https://docs.expo.io/versions/latest/guides/building-standalone-apps.html

$ exp build:ios
[exp] Making sure project is set up correctly...
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
[exp] Your project looks good!
[exp] Checking if current build exists...
[exp] No currently active or previous builds for this project.
[exp] Checking for existing Apple credentials...
[exp] Validating Apple credentials...
[exp] Credentials valid.
[exp] Validating distribution certificate...
[exp] Validating app id...
[exp] Validating push certificate...
[exp] Starting build process...
[exp] Unable to find an existing exp instance for this directory, starting a new one...
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
[exp] Starting React Native packager...
[exp] Scanning 780 folders for symlinks in /<APP DIRECTORY>/node_modules (7ms)
[exp] Loading dependency graph.
[exp] Running packager on port 19001.
[exp] Dependency graph loaded.
[exp] Publishing...
[exp] Building iOS bundle
[exp] Finished building JavaScript bundle in 19435ms.
[exp] Building Android bundle
[exp] Finished building JavaScript bundle in 17321ms.
[exp] Analyzing assets
[exp] Finished building JavaScript bundle in 11339ms.
[exp] Finished building JavaScript bundle in 12162ms.
[exp] Uploading assets
[exp] No assets changed, skipped.
[exp] Uploading JavaScript bundles
[exp] Published
[exp] Your URL is

https://exp.host/@XXXXX/YYYY

[exp] Building...
[exp] Build started, it may take a few minutes to complete.
[exp] Build ID: f84cee29-546d-43d8-8bba-065c6b9eb7c7
[exp] Run `exp build:status` to monitor it.

And I checked the status and got the following error.

$ exp build:status
[exp] Making sure project is set up correctly...
[exp] Warning: Not using the Expo fork of react-native. See https://docs.expo.io/.
[exp] Your project looks good!
[exp] Checking if current build exists...

[exp] ============
[exp] Build Status
[exp] ============

[exp] iOS: There was an error with this build.

The build ID is f84cee29-546d-43d8-8bba-065c6b9eb7c7.
Can you search for the cause of error?


#2

Sorry about this issue. Looking through the iOS build logs, I see:

Error: Unable to render destination image
<CGColor 0x7ff2b1506d70> [<CGColorSpace 0x7ff2b1507e80> (kCGColorSpaceDeviceRGB)] ( 0 0 0 1 )

I am not sure what exactly could be causing this, but it looks like there is an issue with one or more of the images you are using in your app icon or loading screen. I recommend making sure they are the correct file extension (e.g. save PNG files as .png) and you may want to try re-encoding these files with a popular image encoder like ImageMagick or optipng.


iOS build There was an error with this build
#3

Thank you for giving the logs.
I could build ios successfully according to the article. This error is caused by the image files.


#4

Hi ide, can you talk me how to you “Looking through the iOS build logs, I see:” i need found the logs for know what is the problem