SecTaskLoadEntitlements有什么问题失败错误

时间:2019-03-22 10:15:27

标签: macos vapor

let param = uploadObject
do {
    return try req.make(Client.self)
        .post("https://up-z2.quiniup.com", 
            headers: HTTPHeaders([("ContentType","multipart/form-data")]),
            beforeSend: { (post) in
                try post.content.encode(param)
        })
} catch {
    throw Abort(.internServerError, reason: "Unable to upload file to quiniu.com.
        Underlying error \(error)")
}

我想通过第三方API上传文件。在出现错误的请求中调用它:

  

SecTaskLoadEntitlements失败error = 22 cs_flags = 20,pid = 12915

有人可以帮助我吗?

0 个答案:

没有答案