tadija / AELog

Simple, lightweight and flexible debug logging framework written in Swift

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

crash when use Xcode13.3

Dast1Woop opened this issue · comments

commented

Hi, when use Xcode13.3, it crash at:
let array = items.first.unsafelyUnwrapped as! [Any]
the message is:
Could not cast value of type 'Swift.String' (0x12f6398d8) to 'Swift.Array' (0x12f66fe88).

Help please,Thanks.

commented

the code excute is: aelog("3")

I'm seeing the same issue.

Could not cast value of type 'Swift.String' (0x7fff8a86ca48) to 'Swift.Array' (0x7fff8a872e28).

commented

unsafelyUnwrapped

it seems that return type of 'unsafelyUnwrapped' method changed:
eg:
elog("3")
xcode13.3 ,unsafelyUnwrapped, return String;
while xcode13.1, unsafelyUnwrapped, return [Any]

Hi @Dast1Woop and @paulgee31, thanks for reporting, this is now fixed in the latest release (0.6.3).

commented

Hi @Dast1Woop and @paulgee31, thanks for reporting, this is now fixed in the latest release (0.6.3).

Got it.Thanks!