rollbar / rollbar-apple

Objective-C & Swift library for remote crash, exception, error reporting, and logging with Rollbar. It works on all Apple *OS platforms (macOS, iOS, tvOS, watchOS, etc).
https://docs.rollbar.com/docs/apple
MIT License
26 stars 16 forks source link

DataTransferObject.h file not found // Lexical or Preprocessor Issue #45

Closed martnst closed 3 years ago

martnst commented 3 years ago

Describe the bug The latest version does not build.

To Reproduce Steps to reproduce the behavior:

  1. New XCode Project iOS App with Storyboard
  2. Add with SwiftPM by URL https://github.com/rollbar/rollbar-apple.git& verision 1.12.9
  3. CMD + B to Build

Screenshots image

Rollbar-Apple SDK version: v1.12.9

Calling the SDK from (x-mark all suitable): [] Objective-C [x] Swift [] Other:

Runtime environment (please complete the following information as applicable):

akornich commented 3 years ago

@martnst , are you sure you are using Rollbar-Apple SDK? This SDK was never released as v1.12.9 and only had so far releases matching the following versioning pattern: v2.0.0-alphaNN. I assume you are integrating the SDK via SwiftPM. You can look into the following SDK demo app: https://github.com/rollbar/rollbar-apple/tree/master/Demos/macosAppSwiftSPM for details. You can register the SDK SPM package like so: Screen Shot 2021-02-19 at 23 57 07

martnst commented 3 years ago

Hi @akornich,

thanks for your fast response. Yes, I did install it via SwiftPM. I just update my post to be more clear.

I can confirm that it is now working when linking to the master branch. Version 1.12.9 was suggested to use by XCode. I simply followed the https://docs.rollbar.com/docs/apple#via-swift-package-manager guide. From there I went with the latest version XCode came up with.

Bests, Martin

akornich commented 3 years ago

@martnst, great to hear that it all worked out for you. I'll look shortly into other items that you submitted. Best regards,

akornich commented 3 years ago

looks like we can close it