Objective c with iOS 15

Hey Team, I was doing testing after updated Xcode 13. While running the application it got crashed, I saw the logs in the terminal. please refer to it below.

"Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: 'Passing argument that is not a CGColor to +[UIColor colorWithCGColor:]' terminating with uncaught exception of type NSException"

NOTE: I have not applied any code color in the code.

  • DO you use third party frameworks ? Do you see where the crash occurs ?

  • No... I am not using any third party ...

    but it was fixed by myself (It was an issue with Storyboard, I was applied color in keyPath. So as of now I just removed the keypath value.)

    Thanks, @Claude31.

Add a Comment

Replies

While running the application it got crashed, I saw the logs in the terminal.

Please post a crash report. See Posting a Crash Report for advice on how best to do that.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"