Xcode 报错 Cannot assign value of type InterfaceController to type HKWorkoutSessinDelegate

Xcode报错: Cannot assign value of type ‘InterfaceController’ to type ‘HKWorkoutSessinDelegate’
如果你遇到类似错误,并找到这篇文章的话,请自己抽自己一个大嘴巴子😂,这是因为你没有遵循相应的协议.同样对于”value of type ‘InerfaceController’ does not conform to ‘HKWorkoutSessionDelegate’ in assignment” 错误也是因为没有遵循协议.


文章目录