[英]UISwipeGestureRecognizer extra argument 'target' in call for Archive project but not for Build project
If I Archive my project I receive Extra argument in 'target' in call
but I do not receive this error if I Build the project. 如果我存档我的项目,我会Extra argument in 'target' in call
收到Extra argument in 'target' in call
但如果我构建项目,则不会收到此错误。 If I remove the target
parameter name then I receive an error if I build. 如果我删除target
参数名称,那么如果我构建我会收到错误。
let rightSwipeGestureRecognizer: UISwipeGestureRecognizer = UISwipeGestureRecognizer(target: self, action: "respondToSwipeGesture:")
I faced the same issue today where I couldn't archive even though I did not change any of the files in days. 我今天遇到了同样的问题,即使我没有在几天内更改任何文件,我也无法存档。
I restarted xcode, tried to archive again and it worked. 我重新启动了xcode,尝试再次存档并且它有效。 This is an xcode bug. 这是一个xcode错误。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.