Paste the code as text and format it as a code block. Text in a code block is easier to read than a screenshot. Plus, people can copy and paste the code when it is in a code block.
The code block button is the 4th button from the left in the list of buttons below the text editor on the forum. You can also add three backticks on the line above and below the code.
https://www.markdownguide.org/extended-syntax/#fenced-code-blocks
I am going to put, my code, as I say, in the breakpoints everything works fine, it does not show any errors, it simply does not load the file, nor does its name appear, when I pass it to testfligh and install it
Please clarify one thing. When you run the project from Xcode on your iPad, are you able to open the file? Does the problem occur only when you install your app from TestFlight and run it on the iPad?
My guess is the reason the file does not load and does not show any errors is the condition in the guard statement is false. Here is the code.
guard let archivoURL1 = try result.get() as? URL else {
return
}
If the call to result.get fails, you return before you get to any code that prints error messages. That is why no errors appear in Xcode's console.