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

Fixes issues on generating a .swiftinterface for EmbraceConfiguration #97

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions Project.swift
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ let project = Project(
destinations: .iOS,
product: .framework,
bundleId: "com.embraceio.EmbraceConfiguration",
deploymentTargets: .iOS("13.0"),
sources: ["Sources/EmbraceConfiguration/**"],
dependencies: [],
settings: .settings(base: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
import Foundation

@objc
public final class NetworkPayloadCaptureRule: NSObject {
public final class NetworkPayloadCaptureRule: NSObject, Decodable {
public let id: String
public let urlRegex: String
public let statusCodes: [Int]?
Expand Down Expand Up @@ -34,7 +34,7 @@ public final class NetworkPayloadCaptureRule: NSObject {
}
}

extension NetworkPayloadCaptureRule: Decodable {
extension NetworkPayloadCaptureRule {
enum CodingKeys: String, CodingKey {
case id
case urlRegex = "url"
Expand Down
Loading