更新时间:2023-02-16 20:43:25
您的问题是[NSURL URLWithString:destinationPath]那。你需要像在解决方案中一样使用[NSURL fileURLWithPath:xxx]。发布这个只是为了澄清这是唯一的问题。
Your issue is [NSURL URLWithString:destinationPath] and only that. You need to use [NSURL fileURLWithPath:xxx] like you did in your solution. Posting this just to clarify that that is the only problem.