Pré-visualização
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.
Novidades
I added code to test for the iOS Bug. Simply run Shortcut daily.
O que ele faz
23 ações-
CommentSeptember 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…
-
Get File
-
Get Details of Files
-
If
-
Show AlertCreate Test Folder
-
Create Folder
-
Text
-
Save File
-
Stop and Output
-
Get Dates from Input
-
Set VariableFoundDatesAsVariable
-
Show Alert
-
Get Contents of Folder
-
Filter Files
-
If
-
CommentExpected Log file is missing!
-
Show Notification… ModDateLog.txt file spontaneously deleted on date shown.
-
Show Alert
-
CommentExpected Log file exists. Write to it to potentially precipitate iOS Bug
-
CommentWrite old modification date to file as activity upon the log file and its enclosong folder
-
Append to Text File
-
Save File
-
Show Alert
Ver como código
Todas as ações deste atalho escritas em Cherri, uma linguagem de programação para o app Atalhos. Ótimo para aprender como ele funciona.
#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.")
Avaliações e comentários
Escrever uma avaliaçãoAinda não há avaliações. Seja o primeiro a compartilhar o que você pensa!