Cloud Stack Ninja

Yes, I have the file included in the bundle for the target.

But this line

let path = Bundle.main.path(forResource: fileName, ofType: "wav")

will always be nil if fileName has accented chars in the file name, like


Is there a way to solve that?

Can you confirm that as a bug?

Read more here:

Content Attribution

This content was originally published by Duck at Recent Questions - Stack Overflow, and is syndicated here via their RSS feed. You can read the original post over there.

%d bloggers like this: