# Error generating platform resources

**URL:** <https://forum.ionicframework.com/t/error-generating-platform-resources/136480>\
**Category:** ionic-v3\
**Created:** [July 27, 2018, 1:47pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480 "2018-07-27T13:47:22Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![mustafabekec](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mustafabekec/32/136121_2.png) [@mustafabekec](https://forum.ionicframework.com/u/mustafabekec)\
**Post date:** [July 27, 2018, 1:47pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/1 "2018-07-27T13:47:22Z")

</div>

I am trying generate resources in macbook. But i am getting an error for two days. How can i solve this problem?

```auto
**ionic --v**

CLI PRO 4.0.1

```

```auto
**ionic info**

Ionic:

   ionic (Ionic CLI) : 4.0.1
   Ionic Framework : ionic-angular 3.5.3
   @ionic/app-scripts : 3.1.11

Cordova:

   cordova (Cordova CLI) : 8.0.0
   Cordova Platforms : ios 4.5.5

System:

   ios-deploy : 1.9.2
   NodeJS : v8.9.3 (/usr/local/bin/node)
   npm : 6.2.0
   OS : macOS High Sierra
   Xcode : Xcode 9.4.1 Build version 9F2000

Environment:

   ANDROID_HOME : not set

```

```auto
**ionic cordova resources**

✔ Collecting resource configuration and source images - done!
✔ Filtering out image resources that do not need regeneration - done!
✔ Uploading source images to prepare for transformations: 2 / 2 complete - done!
✖ Generating platform resources: 1 / 32 complete - failed!
[ERROR] Resource server responded with an error.
        
        This could mean the server is experiencing difficulties right now--please try again later.
        
        Request: POST https://res.ionic.io/api/v1/transform
        Response: 400

```

---

<div class="post-metadata">

**Author:** ![mustafabekec](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mustafabekec/32/136121_2.png) [@mustafabekec](https://forum.ionicframework.com/u/mustafabekec)\
**Post date:** [July 27, 2018, 2:44pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/2 "2018-07-27T14:44:54Z")

</div>

I solved this problem.

Documentation: [ionic cordova resources](https://beta.ionicframework.com/docs/cli/cordova-resources)

The problem is the size of the splash screen.

> The source image for splash screens should ideally be at least 2732×2732px and located at resources/splash.png.

Thanks for documentation! 🕶

---

<div class="post-metadata">

**Author:** ![stenioanibal](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/stenioanibal/32/118691_2.png) [@stenioanibal](https://forum.ionicframework.com/u/stenioanibal)\
**Post date:** [July 27, 2018, 8:03pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/3 "2018-07-27T20:03:47Z")

</div>

I have this error but, sizes of icon and splash is correct.

---

<div class="post-metadata">

**Author:** ![stenioanibal](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/stenioanibal/32/118691_2.png) [@stenioanibal](https://forum.ionicframework.com/u/stenioanibal)\
**Post date:** [July 27, 2018, 8:13pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/4 "2018-07-27T20:13:03Z")

</div>

See this [Topic on github](https://github.com/ionic-team/ionic-cli/issues/3385)

---

<div class="post-metadata">

**Author:** ![mustafabekec](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mustafabekec/32/136121_2.png) [@mustafabekec](https://forum.ionicframework.com/u/mustafabekec)\
**Post date:** [July 27, 2018, 9:54pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/5 "2018-07-27T21:54:19Z")

</div>

Are there transparent places for your icon and splash?  
Make sure there are no transparent places in your pictures.

---

<div class="post-metadata">

**Author:** ![stenioanibal](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/stenioanibal/32/118691_2.png) [@stenioanibal](https://forum.ionicframework.com/u/stenioanibal)\
**Post date:** [July 28, 2018, 1:05pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/6 "2018-07-28T13:05:47Z")

</div>

Solution here: [https://github.com/ionic-team/ionic-cli/issues/3385#issuecomment-408508772](https://github.com/ionic-team/ionic-cli/issues/3385#issuecomment-408508772)

---

<div class="post-metadata">

**Author:** ![hamidparchami](https://avatars.discourse-cdn.com/v4/letter/h/e79b87/32.png) [@hamidparchami](https://forum.ionicframework.com/u/hamidparchami)\
**Post date:** [July 30, 2018, 4:48pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/7 "2018-07-30T16:48:14Z")

</div>

That’s right. the size was the reason and what a shame that ionic doesn’t show proper error!

---

<div class="post-metadata">

**Author:** ![mhartington](https://sea1.discourse-cdn.com/ionicframework/user_avatar/forum.ionicframework.com/mhartington/32/137757_2.png) [@mhartington](https://forum.ionicframework.com/u/mhartington)\
**Post date:** [July 19, 2021, 9:28pm UTC](https://forum.ionicframework.com/t/error-generating-platform-resources/136480/8 "2021-07-19T21:28:43Z")

</div>

Closed on July 19, 2021, 9:28pm UTC


