Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
ulian-onua opened this issue Nov 16, 2020 · 2 comments · Fixed by #336 or #337
Closed

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

ulian-onua opened this issue Nov 16, 2020 · 2 comments · Fixed by #336 or #337
Assignees

Comments

@ulian-onua
Copy link

ulian-onua commented Nov 16, 2020

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 akornich self-assigned this Nov 16, 2020
@akornich akornich added the build label Nov 16, 2020
akornich added a commit to WideSpectrumComputing/rollbar-ios that referenced this issue Nov 18, 2020
- fix: resolve rollbar#334: Error if archiving Mac OS app (Xcode 12.2, Mac OS Big Sur)
akornich added a commit that referenced this issue Nov 18, 2020
Release candidate v1.12.12 - fix: resolve #334
akornich added a commit to WideSpectrumComputing/rollbar-ios that referenced this issue Nov 19, 2020
…, Mac OS Big Sur)

- fix: resolve rollbar#334: Error if archiving Mac OS app (Xcode 12.2, Mac OS Big Sur)
akornich added a commit that referenced this issue Nov 20, 2020
- fix: resolve #334: Error if archiving Mac OS app (Xcode 12.2, Mac OS Big Sur)
@ulian-onua
Copy link
Author

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

@akornich
Copy link
Contributor

akornich commented Jan 8, 2021

@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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants