# Error when generating screensaver on macOS Sequoia

**URL:** <https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759>\
**Category:** macOS\
**Created:** [September 25, 2024, 7:05pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759 "2024-09-25T19:05:59Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![gpalau](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/gpalau/32/52_2.png) [@gpalau](https://forum.iscreensaver.com/u/gpalau)\
**Post date:** [September 25, 2024, 7:05pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/1 "2024-09-25T19:05:59Z")

</div>

Built a screensaver, got this error:

```auto
Error saving Icon file. Err=104 IOException
Elapsed time = 2.4 seconds
Some warnings were encountered during the build. 

Error: Error saving Icon file. Err=104 IOException

The build failed due to an error

```

Please advise!

---

<div class="post-metadata">

**Author:** ![gpalau](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/gpalau/32/52_2.png) [@gpalau](https://forum.iscreensaver.com/u/gpalau)\
**Post date:** [September 25, 2024, 7:12pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/2 "2024-09-25T19:12:03Z")

</div>

I changed the permissions to the path: `/Users/Shared/iScreensavers/Projects/Installers/Mac/` to 777 and it still doesn’t work.

I also tried with 775 and same issue.

---

<div class="post-metadata">

**Author:** ![iScreensaver](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/iscreensaver/32/24_2.png) [@iScreensaver](https://forum.iscreensaver.com/u/iScreensaver)\
**Post date:** [September 25, 2024, 9:16pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/3 "2024-09-25T21:16:57Z")

</div>

Sorry you are having issues. This error usually means something is blocking the file writing operation, and can come down to a few common problems:

- Permissions
- File Synchronization tools
- Antivirus

As a test, can you try building to the default location (which would be ~/Documents/iScreensaver projects)? I have a feeling that trying to build to another user’s folder (or to the Shared users folder) may be trouble.

If you can’t build inside your own user’s folder, then it’s probably antivirus.

---

<div class="post-metadata">

**Author:** ![gpalau](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/gpalau/32/52_2.png) [@gpalau](https://forum.iscreensaver.com/u/gpalau)\
**Post date:** [September 25, 2024, 10:18pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/4 "2024-09-25T22:18:16Z")

</div>

Hi, I appreciate you trying to help! =)

I have done extensive testing, on this matter. I can reproduce this error as far back as Ventura.

- Permissions - I tried setting my path to 777 and 775, neither works.

- File Synchronization tools - I have tested this path on both /Users/Shared and /opt/folder/iscreensaver and we get the same error.

- Antivirus - I checked with our security team and we don’t monitor those paths above. I also asked if they could exclude iScreensaver and they are already excluding it.

Reading online, I saw that a lot of screensaver applications have been having problems with macOS Sonoma and macOS Sequoia, and most are picking their files from `/Users/Shared`

Is there a way I can tell iScreensaver to load save to a different path? or do I have to move the whole project out of the way?

---

<div class="post-metadata">

**Author:** ![iScreensaver](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/iscreensaver/32/24_2.png) [@iScreensaver](https://forum.iscreensaver.com/u/iScreensaver)\
**Post date:** [September 26, 2024, 3:24am UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/5 "2024-09-26T03:24:42Z")

</div>

Please try this:

- from the File menu, choose “Download Sample Project”. This will load a project into the default location `~/Documents/iScreensaver Projects`
- once the project opens, try to build it. This will build in the default location: `~/Documents/iScreensaver Projects/SpaceDemo/Installers/Mac`

If that doesn’t work then something is quite unusual about your OS configuration.

---

<div class="post-metadata">

**Author:** ![gpalau](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/gpalau/32/52_2.png) [@gpalau](https://forum.iscreensaver.com/u/gpalau)\
**Post date:** [September 26, 2024, 11:14pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/6 "2024-09-26T23:14:11Z")

</div>

Got the same error as above.

```auto
Error saving Icon file. Err=104 IOException
Elapsed time = 8.6 seconds
Some warnings were encountered during the build. 

Error: Error saving Icon file. Err=104 IOException

The build failed due to an error0

```

I tried this on a brand new system out of the box, Macbook Pro with 14.6.1 and got the same error. I replicated on systems as far as Big Sur. On a system with Catalina it worked. I feel there is something on your end because those are the results I have on my end.

---

<div class="post-metadata">

**Author:** ![iScreensaver](https://forum.iscreensaver.com/user_avatar/forum.iscreensaver.com/iscreensaver/32/24_2.png) [@iScreensaver](https://forum.iscreensaver.com/u/iScreensaver)\
**Post date:** [September 26, 2024, 11:40pm UTC](https://forum.iscreensaver.com/t/error-when-generating-screensaver-on-macos-sequoia/759/7 "2024-09-26T23:40:19Z")

</div>

First, we notice that you posted a very similar thread earlier back in February: [When generating screen saver, getting error Error saving Icon file. Err=104 IOException](https://forum.iscreensaver.com/t/when-generating-screen-saver-getting-error-error-saving-icon-file-err-104-ioexception/745)

Did you ever solve that issue? You mention using CrowdStrike in that thread, and in this thread you say

> [@gpalau](#):
>
> Antivirus - I checked with our security team and we don’t monitor those paths above.

This is most likely the problem still.

Please note: **iScreensaver always builds to a temporary folder,** and it sounds like your security team is blocking that build location.

For the solution, see here:

> [@IO Exception Error when building Mac Screensaver](https://forum.iscreensaver.com/t/io-exception-error-when-building-mac-screensaver/677/4):
>
> If you are adding specific exceptions for iScreensaver Designer.app to your antivirus software, please take note: During build, iScreensaver builds to a temporary folder, and then copies the built installer app to the destination folder (the /Installers/mac or /Installer/win folders which are located next to the ISC project file. On macOS the temp folder has a long random name. If you look at the build details, you will see the folder listed toward the end. It will look like this: ----------…
