ShareShortcuts

BUG iOS 18.6.2 (22G100)

FILES CREATED BY SHORTCUTS DISAPPEAR SPONTANEOUSLY!

weplaydr
Fork “BUG iOS 18.6.2 (22G100)”

Har du bygget noget nyt oven på denne genvej? Del den som en fork: den bliver din egen genvej, som du styrer, og begge sider linker til hinanden, så weplaydr får kredit.

  1. 1Hent genvejen og ret den i Genveje-appen. Giv den sit eget navn.
  2. 2Del den fra Genveje-appen og kopiér iCloud-linket.
  3. 3Kom tilbage hertil, indsæt linket og beskriv, hvad der er anderledes, fx “Tilføjet et trin, der bruger Apple Intelligence til at gøre teksten mere personlig.”
Downloads
12K
Gemt
1
Handlinger
23
Kategori
API
Version
2.0
Sprog
EN

Forhåndsvisning

FILES CREATED BY SHORTCUTS DISAPPEAR SPONTANEOUSLY! I am informing this community of a serious bug in iOS 18.6.2, which I reported to Apple; it was repaired in the interim then is back! READ COMMENTS

August 30, 2025 NOTE: There is a bug in iOS 18.6.2 that existed May 9, 2025, was subsequently repaired by Apple and has appeared again.

To anyone developing Shortcuts that Save Append or Prepend Text Files SUCH TEXT FILES SPONTANEOUSLY DISAPPEAR, are deleted by the iOS arbitrarily.

If you notice a text file you created via Shortcuts is suddenly no longer there, it’s iOS 18.6.1 onward to blame, not your misstep.

I reported this bug as follows:

May 9, 2025 at 7:11 PM - FB17561877

Title: BUG IN IOS AND OR SHORTCUTS

I will update or delete this Comment when iOS bug is resolved (again).

Send me a comment if you want instructions about how to reproduce this bug for demostrative purposes.

game@telus.net

Nyheder

Version 2.0

I added code to test for the iOS Bug. Simply run Shortcut daily.

Versionshistorik
2.0 10. sep. 2025

I added code to test for the iOS Bug. Simply run Shortcut daily.

1.1 31. aug. 2025

I updated the embedded comment

1.0 31. aug. 2025

First release

Hvad den gør

23 handlinger
  1. Comment
    September 10, 2025 I added code to reproduxe the iOS Bug August 30, 2025 NOTE: There is a bug in iOS 18.6.2 that existed May 9, 2025, was subsequently repaired by Apple and has appeared again. To anyone developing Shortcuts that Save Append or Prepe…
  2. Get File
  3. Get Details of Files
  4. If
  5. Show Alert
    Create Test Folder
  6. Create Folder
  7. Text
  8. Save File
  9. Stop and Output
  10. Get Dates from Input
  11. Set Variable
    FoundDatesAsVariable
  12. Show Alert
  13. Get Contents of Folder
  14. Filter Files
  15. If
  16. Comment
    Expected Log file is missing!
  17. Show Notification
    … ModDateLog.txt file spontaneously deleted on date shown.
  18. Show Alert
  19. Comment
    Expected Log file exists. Write to it to potentially precipitate iOS Bug
  20. Comment
    Write old modification date to file as activity upon the log file and its enclosong folder
  21. Append to Text File
  22. Save File
  23. Show Alert

Vis som kode
Beta

Alle genvejens handlinger skrevet ud i Cherri, et programmeringssprog til genveje. Perfekt til at lære, hvordan den virker.

#include 'actions/documents'
#define color yellow
#define glyph alertTriangle

/*
September 10, 2025  I added code to reproduxe the iOS Bug

August 30, 2025  NOTE: There is a bug in iOS 18.6.2 that existed May 9, 2025, was subsequently repaired by Apple and has appeared again. 

To anyone developing Shortcuts that Save Append or Prepend Text Files SUCH TEXT FILES SPONTANEOUSLY DISAPPEAR, are deleted by the iOS arbitrarily. 

If you notice a text file you created via Shortcuts is suddenly no longer there, it’s iOS 18.6.1 onward to blame, not your misstep. 

I reported this bug as follows:

May 9, 2025 at 7:11 PM - FB17561877
Title: BUG IN IOS AND OR SHORTCUTS

I will update or delete this Comment when iOS bug is resolved (again).


Send me a comment if you want instructions about how to reproduce this bug for demostrative purposes. 

[email protected]
*/
const TestFolderByHandle = getFileFromFolder(, "TestFolder", false)
const LastModDateOfFolder = getFileDetail(nil, "Last Modified Date")

if !LastModDateOfFolder {
	alert("Confirm.  Do you want create the TestFolder and sample file?", "Create Test Folder")
	const CreatedFolder = createFolder("TestFolder")
	const Text = "Plain text."
	saveFile("./ModDateLog.txt", Text, true)
	mustOutput("TestFolder and ModDateLog.txt file created. \nRun this Shortcut daily to detect iOS Bug, spontaneous file deletion.", "TestFolder and ModDateLog.txt file created. \nRun this Shortcut daily to detect iOS Bug, spontaneous file deletion.")
}
getDates(LastModDateOfFolder)
@FoundDatesAsVariable
confirm("TestFolder last modified as show here.\n\nFolder: {LastModDateOfFolder}\n\nDo you want to touch the log file? ")
const GetContentsOfFolder = getFolderContents(TestFolderByHandle)
const Files = filterFiles(GetContentsOfFolder)

if !Files {
	// Expected Log file is missing!

	showNotification("{@FoundDatesAsVariable} ModDateLog.txt file spontaneously deleted on date shown.", "iOS Bug Detected")
	alert("{@FoundDatesAsVariable} ModDateLog.txt file spontaneously deleted on date shown.\n\n? Recreate Test File ?", "")
}
/*
Expected Log file exists.
Write to it to potentially precipitate iOS Bug
*/
// Write old modification date to file as activity upon the log file and its enclosong folder

const AppendedFile = appendToFile("ModDateLog.txt", "{@FoundDatesAsVariable} previous ModDate")
saveFile("ModDateLog.txt", AppendedFile, true)
confirm("OK.  ModDateLog.txt file exists.")
Åbn i Cherri Playground Dekompileret med cherri 2.3.0 (GPL-2.0). Kan kræve små rettelser, før den kan kompileres.

Bedømmelser og anmeldelser

Skriv en anmeldelse
–
ud af 5
★★★★★
★★★★
★★★
★★
★
0 ratings

Ingen anmeldelser endnu. Vær den første!

Annonce

Mere fra weplaydr

Se alle

Du vil måske også kunne lide

Se alle
Annonce