`exp build` may fail silently when an invalid png file is provided during asset bundling
See original GitHub issueEnvironment
Expo SDK 26.0.0
Steps to Reproduce
I try to build ios standalone app but when i saw the build logs, I look that all gulp-tasks are failing in the compilation moment. No output and no info from logs to solve.
Please, help me
- Running exp build:ios
- logs return ios-shell-app issues with gulp tasks
Expected Behavior
Build ios ipa correctly
Actual Behavior
https://expo.io/builds/c1e3c202-fb6a-465c-9613-dabff9b05c99
expo builder console
app.json file
{
"expo": {
"name": "LQN Sales",
"description": "Compra la casa de tus sueños con credito y posibilidad de descuento",
"sdkVersion": "26.0.0",
"version": "4.7.1",
"slug": "lqns",
"orientation": "portrait",
"scheme": "lqns",
"primaryColor": "#252E5F",
"notification": {
"icon": "./src/assets/images/icon.png",
"color": "#000000"
},
"ios": {
"bundleIdentifier": "com.lqnsales.app",
"buildNumber": "4.7.1",
"supportsTablet": true,
"config": {
"googleSignIn": {
"reservedClientId": "com.googleusercontent.apps.xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxx"
}
}
},
"splash": {
"image": "./src/assets/images/splash.png",
"backgroundColor": "#2B305E"
},
"icon": "./src/assets/images/icon.png",
"facebookScheme": "fbxxxxxxxxxxxxxxxxxxx",
"facebookAppId": "xxxxxxxxxxxxxxxxxxx",
"facebookDisplayName": "lqn sales",
"android": {
"icon": "./src/assets/images/icon-android.png",
"versionCode": 10,
"package": "com.xxxxxxxxxxxxxxxxxxx.app",
"config": {
"googleMaps": {
"apiKey": "xxxxxxxxxxxxxxxxxxx"
},
"googleSignIn" : {
"apiKey": "xxxxxxxxxxxxxxxxxxx-xxxxxxxxxxxxxxxxxxx.apps.googleusercontent.com",
"certificateHash": "xxxxxxxxxxxxxxxxxxx"
}
},
"googleServicesFile": "./google-services.json"
},
"hooks": {
"postPublish": [
{
"file": "sentry-expo/upload-sourcemaps",
"config": {
"organization": "huhuhu",
"project": "lqn-huhuhuhu",
"authToken": "xxxxxxxxxxxxxxxxxxx"
}
}
]
},
"assetBundlePatterns": [ "**/*" ]
}
}
Output cli
21:58:37 [exp] Unable to find an existing exp instance for this directory, starting a new one...
21:59:01 [exp] Building iOS bundle
21:59:35 [exp] Finished building JavaScript bundle in 34063ms.
21:59:35 [exp] Building Android bundle
22:00:05 [exp] Analyzing assets
Building JavaScript bundle [==============================================] 10022:00:05 [exp] Finished building JavaScript bundle in 29347ms.
22:00:05 [exp] Finished building JavaScript bundle in 92ms.
22:00:05 [exp] Finished building JavaScript bundle in 72ms.
22:00:05 [exp] Uploading assets
22:00:06 [exp] No assets changed, skipped.
22:00:06 [exp] Building sourcemaps
22:00:37 [exp] Finished building JavaScript bundle in 30362ms.
22:01:08 [exp] Finished building JavaScript bundle in 30690ms.
22:01:08 [exp] Uploading JavaScript bundles
Using manifest: {"android":{"icon":"./src/assets/images/icon-android.png","iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/16298be2bad2050c537fd13463754536","package":"com.lqnsales.app","versionCode":10},"bundledAssets":["asset_744ce60078c17d86006dd0edabcd59a7.ttf","asset_5221f35630f5b71e53c3196d3ff681a1.ttf","asset_517bb9a13989451be6623299153f503f.ttf","asset_b06871f281fee6b241d60582ae9369b9.ttf","asset_e20945d7c929279ef7a6f1db184a4470.ttf","asset_74c652671225d6ded874a648502e5f0a.ttf","asset_1eccbc4c41d49fd81840aef3eaabe862.ttf","asset_a37b0c01c0baf1888ca812cc0508f6e2.ttf","asset_9e9dbe78c20054a6d71d9c10c939ba68.ttf","asset_d2285965fe34b05465047401b8595dd0.ttf","asset_5cdf883b18a5651a29a4d1ef276d2457.ttf","asset_286c41f9eb4069465cc92fbe36000764.png","asset_8828f0675c7c99378725384aa7355fc3.png","asset_4dafbb7ec26957b4e6d0220c9e963fd9.png","asset_3eee61405320c98800a491b442654012.png","asset_8ada8e63c7db95a513ab9025b211c5c3.png","asset_7f1bcf90cda747568035aca334e75b01.png","asset_ded927b4f41122a1d5aa935037b93ca3.png","asset_ffce34507935aa1e850e452ff8211967.png","asset_d471c2089e2df1ee28d121f5fee40c10.png","asset_9d65f705e08a48fe6c9563c964d1740c.png","asset_0a85eb573853602b4eed3b80d628f87f.png","asset_32646b35066371e8efb9200846f53cc7.png","asset_5594e45f10ea67ffc5152deab1418a13.png","asset_46f82d8452243ab329109f6b839ba661.png","asset_e272bef901a99a806c807457ed26c19e.png","asset_1573e405a31f0e644ebddbe26e4897df.png","asset_c5885b0407fdf074581b3440f9e348c9.png","asset_da4d8deee1616b60a5d55d1cfee600ff.png","asset_eff18184075258423d98842cc8503401.png","asset_910cb6d1887ddcfa4f4c15bd5d556b11.png","asset_aedb8af8c9e1dbadcc8b19ca1d74b9df.jpg","asset_79973d79c57f385e8bb1e2f5108afcc9.png","asset_f127e368d62ad92dacab340de5af50e8.png","asset_60e8a8323a1f5c9dc59c6783d5974123.png","asset_40bc3ae5444eae0b9228d83bfd865158.png","asset_a8b98e516b7e5a7770f0bfec609f2d8e.png","asset_3fc49f4d75a5a92eea5f3b1f9a8b12e4.png","asset_cddcddd3adff7d42405aa365e7971b08.png","asset_df8a5cc36547b59180c296f2a497b542.png","asset_7ac4d92b64e65a38813354201fdcf871.png","asset_bafacd1f11b161cdbeb111311ec787c9.png","asset_63c47f56a641421aad6f492b0982f83c.png","asset_477ab08a0a1e297885e499f159f2c9ac.png","asset_16f9001e1d95630c065b4ab980f679d2.png","asset_eb69da2bf37859bc2b74a226cebac9cd.png","asset_c1a2d84bd113dae70e9bb9f88aaa7c6e.png","asset_94337c624928817dbb59e4575412cbcc.png","asset_3c35b25fda3935a042fd40b75a6129e1.png","asset_d5aef4579bf5c8f1b44cbe75a84f4203.png","asset_ff6533a9e9b5aedb53d38d429a2210f0.png","asset_9ab34413d662324735066497ba23265f.png","asset_d83f91cec7bd97300695cf37aeea09ca.png","asset_91deac785747961d896ce2246d053c37.png","asset_85e2d8bbf0e731787df920f7ce437115.png","asset_10c084ff97655855ae5c1b5dd1aba0d3.png","asset_12cc11d53e929eda83cc00b0800c4ad7.png","asset_4807fc36b6eebf620b00fb32c76700e1.png","asset_b64b1f4649f854225211b6e4361fa058.png","asset_81737489b05eeee2c11e83989edc9fec.png","asset_ee359e70d192c62b4ce44bcd96f21dde.jpg","asset_d5099970a5d4da9cbfd06e0a895caf93.jpg","asset_a41cd0333ed58a04a630e1039212618b.png","asset_27d3bf28cfa8b36d1ad615d53c8bf9ae.png","asset_3f87438a38d08c638e7c5c8f51691c2a.png","asset_9e1e5157363e01e33232086e4e9d33be.png","asset_c6e13bb99119358a55506299c86a55bc.png","asset_954c74dc2e56dabfaca56d7afdb3199f.ttf","asset_5995c725ca5a13be62d3dc75c2fc59fc.ttf","asset_f87b9b4f34bdbf75b5c0cf3a5a137508.ttf","asset_580d0778ad254335be45bf58bb449f43.ttf","asset_9f30b69accb0994c24f1eddc98705f91.ttf","asset_65bb0a158ee1967292ee4d11079d45ae.ttf","asset_54a91b0619ccf9373d525109268219dc.ttf","asset_99fc0816a09395454061301fefa42bf1.ttf","asset_778ffc9fe8773a878e9c30a6304784de.png","asset_376d6a4c7f622917c39feb23671ef71d.png","asset_c79c3606a1cf168006ad3979763c7e0c.png","asset_02bc1fa7c0313217bde2d65ccbff40c9.png","asset_35ba0eaec5a4f5ed12ca16fabeae451d.png","asset_b6f15283351698ee72f7a49024daf26f.png","asset_5012d6715ff41a99c9d7ce8c00443383.png","asset_572b3d533ad3769f79d8c768e89ea4ec.png","asset_afd306e6e32d268be777311ae0e93c36.png","asset_05f853df218ba52f7473ddd0e1f599c7.png","asset_09b8877a1869f20b30274c6ba567d5cb.png","asset_0d729b9cd27ec1135d42e7971f7cd887.png","asset_43b8c7986a269052c8e85faec9347abc.png"],"description":"Compra la casa de tus sueños con credito y posibilidad de descuento","extra":{"NATIVE_ANDROID_GOOGLE":"129008823743-2spm5hubi4trlotrihbr3rfnmbmj60jo.apps.googleusercontent.com","NATIVE_ENDPOINT":"https://lqn.fun/graphql","NATIVE_FACEBOOK_APP_ID":"822021801323951","NATIVE_FILE_ENDPOINT":"https://lqn.fun/uploads","NATIVE_GA":"UA-76761019-1","NATIVE_GMAPS":"AIzaSyCUCwTeDfvoGbn28wtk67UsvU2yxQbXPY0","NATIVE_GMAPS_KEY":"AIzaSyCqdC5PvNBkaMfuMr0xTYMSmMgAKeAB2zQ","NATIVE_GSIGN_OAUTH_ID":"268207696135-7kfg6o61kqqiq6s1ajs5f8ss2m8tmoas.apps.googleusercontent.com","NATIVE_IOS_EXPO_GOOGLE":"623512232104-k2dml38ufvjt959gfl7lbsb4b542h72t.apps.googleusercontent.com","NATIVE_IOS_GOOGLE":"com.googleusercontent.apps.268207696135-jput3s2fdmalvudrmencgha4tfu9boon","NATIVE_LEGACY_URL":"https://app.lqn.com.co/","NATIVE_SEGMENT_ANDROID":"oudy3wKG2BYOzVH9IvQDxoYhl0UUcTfJ","NATIVE_SEGMENT_IOS":"tMIrcdqmhDzoeGCruxz3gWXVewM6nJGc","NATIVE_STATIC_MAP":"AIzaSyBVpwyAarI_JyQKdOiXYWlCxRPAl0Ssu1Y","NATIVE_SUBSCRIPTIONS_ENDPOINT":"wss://lqn.fun/ws","NATIVE_TOKEN_SLOT":"lqnAccess","NATIVE_USER_SLOT":"userData"},"facebookAppId":"822021801323951","facebookDisplayName":"lqn sales","facebookScheme":"fb822021801323951","icon":"./src/assets/images/icon.png","iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/4fbd699c43112513393fd03ba4668c6f","ios":{"buildNumber":"4.7.1","bundleIdentifier":"com.lqnsales.app","supportsTablet":true},"locales":{},"name":"LQN Sales","notification":{"color":"#000000","icon":"./src/assets/images/icon.png","iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/4fbd699c43112513393fd03ba4668c6f"},"orientation":"portrait","primaryColor":"#252E5F","scheme":"lqns","sdkVersion":"26.0.0","slug":"lqns","splash":{"backgroundColor":"#2B305E","image":"./src/assets/images/splash.png","imageUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/660e960bd0dff13df92ab0cd05ef4859"},"version":"4.7.1","id":"@danjavia/lqns","revisionId":"4.7.1-r.z1JwMBJ6wq","publishedTime":"2018-05-10T03:04:18.957Z","bundleUrl":"https://d1wp6m56sqw74a.cloudfront.net/%40danjavia%2Flqns%2F4.7.1%2Fed20e763a505a015afc9a1c391c0617c-26.0.0-android.js","releaseChannel":"default","hostUri":"exp.host/@danjavia/lqns"},"icon":"./src/assets/images/icon-android.png","iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/16298be2bad2050c537fd13463754536","package":"com.lqnsales.app","versionCode":10},"bundledAssets":["asset_744ce60078c17d86006dd0edabcd59a7.ttf","asset_5221f35630f5b71e53c3196d3ff681a1.ttf","asset_517bb9a13989451be6623299153f503f.ttf","asset_b06871f281fee6b241d60582ae9369b9.ttf","asset_e20945d7c929279ef7a6f1db184a4470.ttf","asset_74c652671225d6ded874a648502e5f0a.ttf","asset_1eccbc4c41d49fd81840aef3eaabe862.ttf","asset_a37b0c01c0baf1888ca812cc0508f6e2.ttf","asset_9e9dbe78c20054a6d71d9c10c939ba68.ttf","asset_d2285965fe34b05465047401b8595dd0.ttf","asset_5cdf883b18a5651a29a4d1ef276d2457.ttf","asset_286c41f9eb4069465cc92fbe36000764.png","asset_8828f0675c7c99378725384aa7355fc3.png","asset_4dafbb7ec26957b4e6d0220c9e963fd9.png","asset_3eee61405320c98800a491b442654012.png","asset_8ada8e63c7db95a513ab9025b211c5c3.png","asset_7f1bcf90cda747568035aca334e75b01.png","asset_ded927b4f41122a1d5aa935037b93ca3.png","asset_ffce34507935aa1e850e452ff8211967.png","asset_d471c2089e2df1ee28d121f5fee40c10.png","asset_9d65f705e08a48fe6c9563c964d1740c.png","asset_0a85eb573853602b4eed3b80d628f87f.png","asset_32646b35066371e8efb9200846f53cc7.png","asset_5594e45f10ea67ffc5152deab1418a13.png","asset_46f82d8452243ab329109f6b839ba661.png","asset_e272bef901a99a806c807457ed26c19e.png","asset_1573e405a31f0e644ebddbe26e4897df.png","asset_c5885b0407fdf074581b3440f9e348c9.png","asset_da4d8deee1616b60a5d55d1cfee600ff.png","asset_eff18184075258423d98842cc8503401.png","asset_910cb6d1887ddcfa4f4c15bd5d556b11.png","asset_aedb8af8c9e1dbadcc8b19ca1d74b9df.jpg","asset_79973d79c57f385e8bb1e2f5108afcc9.png","asset_f127e368d62ad92dacab340de5af50e8.png","asset_60e8a8323a1f5c9dc59c6783d5974123.png","asset_40bc3ae5444eae0b9228d83bfd865158.png","asset_a8b98e516b7e5a7770f0bfec609f2d8e.png","asset_3fc49f4d75a5a92eea5f3b1f9a8b12e4.png","asset_cddcddd3adff7d42405aa365e7971b08.png","asset_df8a5cc36547b59180c296f2a497b542.png","asset_7ac4d92b64e65a38813354201fdcf871.png","asset_bafacd1f11b161cdbeb111311ec787c9.png","asset_63c47f56a641421aad6f492b0982f83c.png","asset_477ab08a0a1e297885e499f159f2c9ac.png","asset_16f9001e1d95630c065b4ab980f679d2.png","asset_eb69da2bf37859bc2b74a226cebac9cd.png","asset_c1a2d84bd113dae70e9bb9f88aaa7c6e.png","asset_94337c624928817dbb59e4575412cbcc.png","asset_3c35b25fda3935a042fd40b75a6129e1.png","asset_d5aef4579bf5c8f1b44cbe75a84f4203.png","asset_ff6533a9e9b5aedb53d38d429a2210f0.png","asset_9ab34413d662324735066497ba23265f.png","asset_d83f91cec7bd97300695cf37aeea09ca.png","asset_91deac785747961d896ce2246d053c37.png","asset_85e2d8bbf0e731787df920f7ce437115.png","asset_10c084ff97655855ae5c1b5dd1aba0d3.png","asset_12cc11d53e929eda83cc00b0800c4ad7.png","asset_4807fc36b6eebf620b00fb32c76700e1.png","asset_b64b1f4649f854225211b6e4361fa058.png","asset_81737489b05eeee2c11e83989edc9fec.png","asset_ee359e70d192c62b4ce44bcd96f21dde.jpg","asset_d5099970a5d4da9cbfd06e0a895caf93.jpg","asset_a41cd0333ed58a04a630e1039212618b.png","asset_27d3bf28cfa8b36d1ad615d53c8bf9ae.png","asset_3f87438a38d08c638e7c5c8f51691c2a.png","asset_9e1e5157363e01e33232086e4e9d33be.png","asset_c6e13bb99119358a55506299c86a55bc.png","asset_954c74dc2e56dabfaca56d7afdb3199f.ttf","asset_5995c725ca5a13be62d3dc75c2fc59fc.ttf","asset_f87b9b4f34bdbf75b5c0cf3a5a137508.ttf","asset_580d0778ad254335be45bf58bb449f43.ttf","asset_9f30b69accb0994c24f1eddc98705f91.ttf","asset_65bb0a158ee1967292ee4d11079d45ae.ttf","asset_54a91b0619ccf9373d525109268219dc.ttf","asset_99fc0816a09395454061301fefa42bf1.ttf","asset_778ffc9fe8773a878e9c30a6304784de.png","asset_376d6a4c7f622917c39feb23671ef71d.png","asset_c79c3606a1cf168006ad3979763c7e0c.png","asset_02bc1fa7c0313217bde2d65ccbff40c9.png","asset_35ba0eaec5a4f5ed12ca16fabeae451d.png","asset_b6f15283351698ee72f7a49024daf26f.png","asset_5012d6715ff41a99c9d7ce8c00443383.png","asset_572b3d533ad3769f79d8c768e89ea4ec.png","asset_afd306e6e32d268be777311ae0e93c36.png","asset_05f853df218ba52f7473ddd0e1f599c7.png","asset_09b8877a1869f20b30274c6ba567d5cb.png","asset_0d729b9cd27ec1135d42e7971f7cd887.png","asset_43b8c7986a269052c8e85faec9347abc.png"],"description":"Compra la casa de tus sueños con credito y posibilidad de descuento","extra":{"NATIVE_ANDROID_GOOGLE":"129008823743-2spm5hubi4trlotrihbr3rfnmbmj60jo.apps.googleusercontent.com","NATIVE_ENDPOINT":"https://lqn.fun/graphql","NATIVE_FACEBOOK_APP_ID":"822021801323951","NATIVE_FILE_ENDPOINT":"https://lqn.fun/uploads","NATIVE_GA":"UA-76761019-1","NATIVE_GMAPS":"AIzaSyCUCwTeDfvoGbn28wtk67UsvU2yxQbXPY0","NATIVE_GMAPS_KEY":"AIzaSyCqdC5PvNBkaMfuMr0xTYMSmMgAKeAB2zQ","NATIVE_GSIGN_OAUTH_ID":"268207696135-7kfg6o61kqqiq6s1ajs5f8ss2m8tmoas.apps.googleusercontent.com","NATIVE_IOS_EXPO_GOOGLE":"623512232104-k2dml38ufvjt959gfl7lbsb4b542h72t.apps.googleusercontent.com","NATIVE_IOS_GOOGLE":"com.googleusercontent.apps.268207696135-jput3s2fdmalvudrmencgha4tfu9boon","NATIVE_LEGACY_URL":"https://app.lqn.com.co/","NATIVE_SEGMENT_ANDROID":"oudy3wKG2BYOzVH9IvQDxoYhl0UUcTfJ","NATIVE_SEGMENT_IOS":"tMIrcdqmhDzoeGCruxz3gWXVewM6nJGc","NATIVE_STATIC_MAP":"AIzaSyBVpwyAarI_JyQKdOiXYWlCxRPAl0Ssu1Y","NATIVE_SUBSCRIPTIONS_ENDPOINT":"wss://lqn.fun/ws","NATIVE_TOKEN_SLOT":"lqnAccess","NATIVE_USER_SLOT":"userData"},"facebookAppId":"822021801323951","facebookDisplayName":"lqn sales","facebookScheme":"fb822021801323951","icon":"./src/assets/images/icon.png","iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/4fbd699c43112513393fd03ba4668c6f","ios":{"buildNumber":"4.7.1","bundleIdentifier":"com.lqnsales.app","supportsTablet":true},"locales":{},"name":"LQN Sales","notification":{"color":"#000000","icon":"./src/assets/images/icon.png","iconUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/4fbd699c43112513393fd03ba4668c6f"},"orientation":"portrait","primaryColor":"#252E5F","scheme":"lqns","sdkVersion":"26.0.0","slug":"lqns","splash":{"backgroundColor":"#2B305E","image":"./src/assets/images/splash.png","imageUrl":"https://d1wp6m56sqw74a.cloudfront.net/~assets/660e960bd0dff13df92ab0cd05ef4859"},"version":"4.7.1","id":"@danjavia/lqns","revisionId":"4.7.1-r.z1JwMBJ6wq","publishedTime":"2018-05-10T03:04:18.957Z","bundleUrl":"https://d1wp6m56sqw74a.cloudfront.net/%40danjavia%2Flqns%2F4.7.1%2F56a05102288bec2ae102cf14367c4d25-26.0.0-ios.js","releaseChannel":"default","hostUri":"exp.host/@danjavia/lqns"}
22:04:19 [exp] Running postPublish hook: sentry-expo/upload-sourcemaps
22:04:20 [exp] Created release 4.7.1-r.z1JwMBJ6wq.
22:17:23 [exp] > Analyzing 4 sources
> Rewriting sources
> Adding source map references
> Uploading source maps for release 4.7.1-r.z1JwMBJ6wq
Source Map Upload Report
Minified Scripts
~/main.android.bundle (sourcemap at main.android.map)
~/main.ios.bundle (sourcemap at main.ios.map)
Source Maps
~/main.android.map
~/main.ios.map
22:17:23 [exp] Published
22:17:23 [exp] Your URL is
https://exp.host/@danjavia/lqns
22:17:23 [exp] Building...
22:17:24 [exp] Build started, it may take a few minutes to complete.
22:17:24 [exp] You can monitor the build at
https://expo.io/builds/a6787986-85f8-459b-a9db-9604a23033b3
|22:17:24 [exp] Waiting for build to complete. You can press Ctrl+C to exit.
\22:18:25 [exp] Standalone build failed!
More info
I revoke all distribution certificates, push certs, and others in apple developer console. but the issue persist.
Issue Analytics
- State:
- Created 5 years ago
- Comments:12 (4 by maintainers)
Top Results From Across the Web
Invalid path in TextDataProvider while using AssetBundle ...
It's really a wild guess because there a quite a few ways addressables may fail to build silently because for some reason it...
Read more >Cannot place this file. Invalid PNG file - InDesign UserVoice
In 15.1, particular .png files were missing. I tried to place the missing images as usual but got the error - Cannot place...
Read more ><Error>: ImageIO: PNG invalid PNG file: extra chunks between ...
This issue is completely random and happened to me too with a few images. Probably another Xcode bug. My image is called "back2@2x.png" ......
Read more >Fix list for IBM WebSphere Application Server Liberty
This is a complete listing of all the fixes for Liberty with the latest fixes at the top. New fix pack numbering is...
Read more >11 Optimize Your Builds and Audit Your Code Using Grunt
Visual Builder provides a number of NPM packages that you can use to audit, optimize, build, and deploy the web and mobile apps...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Finally, I can to solve Many thanks @anp
Thank you @anp I will to do it right now