Type 'NSAttributedStringKey' (aka 'NSString') has no member 'font'

前端 未结 7 2075
别跟我提以往
别跟我提以往 2020-12-10 00:39

Just updated pods for xcode 9 and I\'m getting the error below for Cosmos.

Type \'NSAttributedStringKey\' (aka \'NSString\') has no member \'

7条回答
  •  星月不相逢
    2020-12-10 01:23

    Your pod might have a wrong swift version, not the project settings.

    To change the pod swift setting, go in the file navigator (left of the screen) to Pods (blue icon) and select the pod you're having problems with. Then go to build settings and go to Swift Language version. Select Swift 4.

提交回复
热议问题