rollbar / rollbar-ios

Objective-C library for crash reporting and logging with Rollbar.

Home Page:https://docs.rollbar.com/docs/ios

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Error if archiving Mac OS app (Xcode 12.2, Mac OS Big Sur)

ulian-onua opened this issue · comments

I get an error if trying to archive Mac OS app with Rollbar v. 1.12.11 (seems to be the latest one) that installed through CocoaPods. I think it might be related to new Silicon CPUs.

Here is the screenshot with error:

image

The error is: Use of undeclared identifier 'kCFCoreFoundationVersionNumber_iOS_8_x_Max in ...Pods/Rollbar/KSCrash/Source/KSCrash/Recording/Tools/KSObjC.c:198:54:

@akornich any ideas how to fix it?
Thanks.

@akornich I've just tried pod 'Rollbar', '1.12.14' and can report that the error isn't fixed.

@ulian-onua, thanks a lot for giving it a try! I gave up trying to fix it on our side by manipulating our build settings to work around this problem. The actual fix needs to be happening within the KSCrash codebase. Let's wait for that.
Meantime, you may want to try our new SDK rollbar-apple that makes third party crash reporting components optional (at build-time and at run-time) and currently provides integrations with optional KSCrash and PLCrashReporter (as another optional alternative to KSCrash). Officially it is in Alpha state now and we are getting ready to promote it to Beta anytime soon, but I personally consider it already be as a stable Beta (if not even general release) by now. We really just missing the updated public detailed documentation for the SDK to be fully released. However, the basic usage instructions are already publicly available. Including a working demo usage app that is part of the SDK workspace.
The transition from rollbar-ios to rollbar-apple does require some code changes on your part. However, if your rollbar-ios integration surface is localized enough it should be a very small effort.
I would be more than happy to assist you if you do decide to give it a try. Also, in this case, I would highly recommend you integrating the rollbar-apple SDK via Swift Package Manager. Integrations via Cocoapods and Carthage are also available, except that the SDK Cocoapod for PLCrashReporter option is not available at the moment.
And we are looking for users' feedback/suggestions on the current state of the rollbar-apple SDK API...