Shortcuts "Set Wallpaper" Action throws com.apple.extensionKit.errorDomain error 2

The "Set Wallpaper" action consistently throws an error on alternate runs on iOS 18.0 on an iPhone 12 Pro Max. The error seen is: "com.apple.extensionKit.errorDomain error 2"


Oddly, the error happens every other run of the shortcut. It can be tested with this example shortcut: https://www.icloud.com/shortcuts/509c725af4794b4e974994bae9b11a7c


To reproduce:


1. Install Shortcut

2. Open shortcut

3. Ensure a valid destination focus has been set for the wallpaper

4. Run shortcut

5. Choose any image to use as a wallpaper

6. Allow the shortcut to complete


Expected result:


Wallpaper is set to home screen, no error is seen, shortcut completes


Actual result:


Error “com.apple.extensionKit.errorDomain error 2” shows on alternate runs (I.e. 50% of the time). Wallpaper is not set, shortcut fails with above error.



I've raised feedback item FB15159428 for this already. A similar issue had been reported by another user in the past: Shortcuts keep’s erroring and unable to f… - Apple Community


I'm hoping if others can confirm this is a general issue under iOS 18, or suggest some workarounds should they exist.


Thanks!

iPhone 12 Pro Max, iOS 18

Posted on Sep 17, 2024 5:40 PM

Reply
25 replies

Nov 21, 2024 10:01 AM in response to SlWe

So last 3 days been testing this issue on other devices


Note that all these devices mentioned were all running the shortcut & automation with no issues on iOS 17.7


Every device was cleanly installed with iOS 18.1


And results I am seeing is telling me this bug is very model specific !!



So on a iPhone 15 Pro with iOS 18.1 installed - working with NO issues - and then upgraded to iOS 18.1.1 - Shortcut still working with NO issues.


On a iPhone 12 Pro - iOS 18.1 installed and same error with shortcut- and later upgraded to iOS 18.1.1- shortcut issue is still present (com.apple.extensionKit.errorDomain error 2)


Clean installed version that will be released in Dec on iPhone 12 Pro and STILL the same error 2 !!


Ipad M1 - Bug still present on iPad OS 18.1 and 18.1.1


Looking like this Bug wont be fixed this year for the Ipad and 12 Pro and probably other iphone models !!


Have to say - Why is it working on the 15 Pro with IOS 18.1.1 and not other iPhones on iOS 18.1.1 ?? !!

Nov 15, 2024 3:17 AM in response to SlWe

So good news and bad news........


Good news is - the issue in question is now running on my device for last 2 and half days and not yet seen the error once (com.apple.extensionKit.errorDomain error 2)


Shortcut has probably completed succesfully well over 35+ times by now i think


And device is currently running latest public bulid of iOS 18.1 !!


But here is the bad news........


Had to totally wipe the device and rebuild from scratch.I didnt just reset the device and erase all content and settings


I reinstalled iOS completely via a PC


And then manually reconfigured all settings etc etc


If this current situation changes - ill post on here


Done exactly same on Ipad as above - but issue still remains on iPad OS 18.1

Dec 7, 2024 3:30 AM in response to Heliomass

I recently updated my iPad Pro 3rd generation to iPadOS 18.1.1 and after that this issue hit me too. I use this shortcut command Set wallpaper for showing snooker points tens of times per day so this is very annoying indeed.


I sent Product Feedback some minutes ago but I supposed this is not a new issue.


As a workaround I have to an extra time Set wallpaper after setting points. It would be nice to have On Error handling available for shortcuts to automate this workaround but Apple doesn’t have that basic feature available.


Please keep on shooting so that the priority for solving this issue gets higher.

Dec 14, 2024 6:01 AM in response to SlWe

So concerning the same iPhone 12 pro mentioned above


It is very obvious that iOS 18 has totally destroyed the running of this shortcut and the automation side of it also.

As reported before - this shortcut ran flawlessly on iOS 17.0 - iOS 17.7 - No issues whatsoever.


It is also very obvious that Apple cannot fix this bug for this device !!

This bug has now appeared in every public iOS 18 update that has been released so far on this device.



Device is now on iOS 18.2 Public build and STILL SAME ERROR.


I have now totally given up on the automation as it has been totally destroyed by iOS 18 and have deleted the automation from device.


The automation was setup to trigger the shortcut when certain apps were closed


Again - this automation - totally working 100% fine on above device with iOS 17 installed


WHY is this shortcut and automation running perfectly (No Errors) on a iPhone 15 Pro that has also been upgraded to iOS 18.2 !!

Bet it also works fine on the iPhone 16 models etc etc - See where I am going with this !!


I will send feedback to Apple that yet again they have NOT fixed this bug in iOS 18.2 on a 12 Pro

Have absolutely no confidence that yet more feedback from me will get them to fix this bug.


Will again test this shortcut and automation with iOS 18.3

But not holding my breath for positive results !!




[Edited by Moderator]

Nov 18, 2024 7:10 PM in response to Heliomass

Hi everyone, this is not a fix but makes it usable. Go to screen time. Activate it. Go to see all app & website activity. Then scroll down to notifications and you should NOT see shortcuts. Go back up and toggle repeatedly between day and week about 10 times. This will activate shortcuts as an option below in notifications and you will be able to turn off notifications. The shortcut will continue not working every time, but at least it won’t be annoying. I saw it somewhere else but not here so just sharing. 

Jan 15, 2025 10:20 AM in response to Fpostigo

This is the best substitution for a solution I've found. Weird they make it so hard to turn off shortcut notifications, and you can glitch your way to it.

If you have something setting your wallpaper with automation, you can just double the number of automation instances with a 1 minute delay, and now your automation will run and not notify you of the alternating failures.

Oct 13, 2024 4:08 AM in response to Heliomass

I am too suffering from this issue.

Can tell you this bug has been present on my device since IOS 18.0 Beta 3 i think

Ipad IOS 18.0.1 also suffering with this bug.

Have sent Apple a bug report about it - But no reply from them yet

But great that they have replied to you and saying that a potential fix has been identified !!


[Edited by Moderator]

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Shortcuts "Set Wallpaper" Action throws com.apple.extensionKit.errorDomain error 2

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.