qgL7c.png https://i.stack.imgur.com/eQFtK.jpg
After updating latest FCM SDK I am getting my app crash. trace = Performance.startTrace(name: url.absoluteString)
error log Crash assertion failure in -[firtrace inittracewithname:], firtrace.m:86. NSInternalInconsistencyException', reason: 'Name cannot be nil FCMSDK update
Be careful if the string passed to
Performance.startTrace(name:)
is longer than 100 characters. Internally they are performing some sanitization with the string in a static method calledNSString *FPRReservableName(NSString *name)
which is not an honest API as you can see:Of course this is totally unnacceptable because it leads to unexpected crashes at runtime.