-
Notifications
You must be signed in to change notification settings - Fork 19
Closed
Labels
bugSomething isn't workingSomething isn't workingswiftpmSwift Package Manager related issuesSwift Package Manager related issues
Description
Describe the bug
The RollbarCommon
package tests fail to build for iOS
.
This is due to two issues:
- The use of
self.className
inNSDictionaryRollbarTests.swift
which is only available on macOS - The use of the
.sortedKeys
options inJSONSerialization
inNSJSONSerializationRollbarTests#testNSJSONSerializationRollbar_safeDataFromJSONObject
which is only available on macOs and iOS 11+
To Reproduce
Steps to reproduce the behavior:
- Open the project
- Select the
RollbarCommon
scheme and select an iOS simulator as the target - Try to run the tests
- Tests will not build with errors point at the above description
Expected behavior
The test build and run
Rollbar-Apple SDK version: v...
Calling the SDK from (x-mark all suitable):
[x] Objective-C
[x] Swift
[] Other:
Runtime environment (please complete the following information as applicable):
- OS: [iOS, macOS]
- OS version: Big Sur 11.3
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingswiftpmSwift Package Manager related issuesSwift Package Manager related issues