-
Notifications
You must be signed in to change notification settings - Fork 19
Description
Describe the bug
After resolving the issue with Rollbar-Apple SDK, we are now encountering a similar problem with another part of the library called RollbarReport
. When trying to compile the framework with RollbarReport
as a dependency, the .swiftinterface
file is broken, leading to a compile-time error. The issue appears to be related to the RollbarCrash
module, which contains files with the same name, specifically RollbarCrash.h
and RollbarCrash.m
. This naming conflict might be the reason why RollbarReport
is failing to be compiled with a framework target.
To Reproduce
Steps to reproduce the behavior:
- Add
RollbarNotifier
as a dependency to a Swift framework project. - Attempt to archive the framework using
xcodebuild
with the flagBUILD_LIBRARY_FOR_DISTRIBUTION = YES
. - Observe the compiler error.
Expected behavior
We expected the framework to compile successfully without errors, even when including RollbarReport
as a dependency.
Rollbar-Apple SDK version: 3.1.0
Calling the SDK from (x-mark all suitable):
[] Objective-C
[X] Swift
[] Other:
Runtime environment (please complete the following information as applicable):
Xcode Versions Used: 14.3.1
Swift Version Used: 5.8
Additional context
This issue arose after resolving a similar problem with Rollbar-Apple SDK. We suspect that the naming conflict in the RollbarCrash
module might be causing the issue with RollbarReport
. Any insights or solutions to address this problem would be greatly appreciated.