From eca989285f457eb37fd890e6fbfc50d975cce13f Mon Sep 17 00:00:00 2001 From: "diogo.balseiro" Date: Mon, 11 Nov 2024 15:53:25 +0000 Subject: [PATCH 1/6] Bumped Deployment version and added proper support for modern Xcodes --- .../xcschemes/NetworkMonitor-Package.xcscheme | 107 ++++++++++++++++++ FNMNetworkMonitor.podspec | 4 +- .../Classes/Profile/FNMProfile.swift | 6 +- Package.swift | 11 +- Tests/NetworkMonitorTests.swift | 2 +- 5 files changed, 118 insertions(+), 12 deletions(-) create mode 100644 .swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme new file mode 100644 index 0000000..8fd5320 --- /dev/null +++ b/.swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme @@ -0,0 +1,107 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/FNMNetworkMonitor.podspec b/FNMNetworkMonitor.podspec index e17d9c1..faa95dc 100755 --- a/FNMNetworkMonitor.podspec +++ b/FNMNetworkMonitor.podspec @@ -1,14 +1,14 @@ Pod::Spec.new do |spec| spec.name = 'FNMNetworkMonitor' spec.module_name = 'FNMNetworkMonitor' - spec.version = '11.11.1' + spec.version = '12.0.0' spec.summary = 'A network monitor' spec.homepage = 'https://github.com/Farfetch/network-monitor-ios' spec.license = 'MIT' spec.author = 'Farfetch' spec.source = { :git => 'https://github.com/Farfetch/network-monitor-ios.git', :tag => spec.version.to_s } - spec.ios.deployment_target = '10.0' + spec.ios.deployment_target = '15.0' spec.requires_arc = true spec.cocoapods_version = '>= 1.7' diff --git a/NetworkMonitor/Classes/Profile/FNMProfile.swift b/NetworkMonitor/Classes/Profile/FNMProfile.swift index 102e391..8d13a24 100644 --- a/NetworkMonitor/Classes/Profile/FNMProfile.swift +++ b/NetworkMonitor/Classes/Profile/FNMProfile.swift @@ -12,12 +12,12 @@ public typealias FNMProfileResponseAllowable = (FNMProfileResponse) -> Bool open class FNMProfile: NSObject, Codable { - let request: FNMProfileRequest - let responses: [FNMProfileResponse] + public let request: FNMProfileRequest + public let responses: [FNMProfileResponse] /// Priority is used as a tiebreaker when we have several possible profiles for the request made. /// The profile with the highest priority (Uint.min [aka 0] being the highest value and UInt.max the lowest value) will be used. - let priority: UInt + public let priority: UInt public required init(request: FNMProfileRequest, responses: [FNMProfileResponse], diff --git a/Package.swift b/Package.swift index 1f58432..baf0d23 100644 --- a/Package.swift +++ b/Package.swift @@ -1,16 +1,14 @@ -// swift-tools-version:5.0 +// swift-tools-version:5.10 import PackageDescription let package = Package( name: "NetworkMonitor", platforms: [ - .iOS(.v10), + .iOS(.v15), ], products: [ - .library( - name: "FNMNetworkMonitor", - targets: ["FNMNetworkMonitor"]), + .library(name: "FNMNetworkMonitor", targets: ["FNMNetworkMonitor"]) ], dependencies: [], targets: [ @@ -21,7 +19,8 @@ let package = Package( .testTarget( name: "NetworkMonitorTests", dependencies: ["FNMNetworkMonitor"], - path: "Tests"), + path: "Tests", + resources: [.process("Resources")]), ], swiftLanguageVersions: [.v5] ) diff --git a/Tests/NetworkMonitorTests.swift b/Tests/NetworkMonitorTests.swift index 265ebb3..8b6f6ff 100644 --- a/Tests/NetworkMonitorTests.swift +++ b/Tests/NetworkMonitorTests.swift @@ -36,7 +36,7 @@ class NetworkMonitorUnitTests: XCTestCase { static var testBundle: Bundle { - return Bundle(for: NetworkMonitorUnitTests.self as AnyClass) + .module } func reachVariousSitesConcurrently(expectation: XCTestExpectation) { From c2d9b0f6a2d472624d5e58f94dacc4014b91edd2 Mon Sep 17 00:00:00 2001 From: "diogo.balseiro" Date: Mon, 11 Nov 2024 16:08:29 +0000 Subject: [PATCH 2/6] Deleted unused xcode project and fixed Sample project --- .../xcschemes/NetworkMonitor-Package.xcscheme | 107 --- NetworkMonitor.xcodeproj/project.pbxproj | 721 ------------------ .../xcschemes/NetworkMonitor.xcscheme | 106 --- .../xcshareddata/IDEWorkspaceChecks.plist | 8 - .../packages/.umbrella/Package.swift | 9 + Sample/Podfile | 14 + Sample/Podfile.lock | 16 + Sample/Sample.xcodeproj/project.pbxproj | 89 ++- .../contents.xcworkspacedata | 4 +- 9 files changed, 108 insertions(+), 966 deletions(-) delete mode 100644 .swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme delete mode 100644 NetworkMonitor.xcodeproj/project.pbxproj delete mode 100644 NetworkMonitor.xcodeproj/xcshareddata/xcschemes/NetworkMonitor.xcscheme delete mode 100644 NetworkMonitor.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist create mode 100644 Sample/.spm.pods/packages/.umbrella/Package.swift create mode 100755 Sample/Podfile create mode 100644 Sample/Podfile.lock rename {NetworkMonitor.xcworkspace => Sample/Sample.xcworkspace}/contents.xcworkspacedata (57%) diff --git a/.swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme b/.swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme deleted file mode 100644 index 8fd5320..0000000 --- a/.swiftpm/xcode/xcshareddata/xcschemes/NetworkMonitor-Package.xcscheme +++ /dev/null @@ -1,107 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/NetworkMonitor.xcodeproj/project.pbxproj b/NetworkMonitor.xcodeproj/project.pbxproj deleted file mode 100644 index c9f7916..0000000 --- a/NetworkMonitor.xcodeproj/project.pbxproj +++ /dev/null @@ -1,721 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 4055D74F21BFBDDE0058EC1D /* FNMNetworkMonitorURLProtocol+Protocols.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4055D74E21BFBDDE0058EC1D /* FNMNetworkMonitorURLProtocol+Protocols.swift */; }; - 433A1A0A2355DA3A00CB0A8D /* HighlightReloadableProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = 433A1A092355DA3A00CB0A8D /* HighlightReloadableProtocol.swift */; }; - 433A1A0C2355DAA000CB0A8D /* DebugDetailHeadersViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 433A1A0B2355DAA000CB0A8D /* DebugDetailHeadersViewController.swift */; }; - 433A1A0E2355DAFB00CB0A8D /* DebugDetailBodyViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 433A1A0D2355DAFB00CB0A8D /* DebugDetailBodyViewController.swift */; }; - A3391C821FE27F8200BBBC18 /* FNMDebugDetailViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3391C811FE27F8200BBBC18 /* FNMDebugDetailViewController.swift */; }; - A3391C841FE2837B00BBBC18 /* FNMDebugDetailInfoTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3391C831FE2837B00BBBC18 /* FNMDebugDetailInfoTableViewCell.swift */; }; - A38AEE691FE3CEFC00778860 /* FNMRecordDetailInfo.swift in Sources */ = {isa = PBXBuildFile; fileRef = A38AEE681FE3CEFC00778860 /* FNMRecordDetailInfo.swift */; }; - A39500011FD83AB1001D6086 /* FNMRecordExporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFE91FD83AB1001D6086 /* FNMRecordExporter.swift */; }; - A39500031FD83AB1001D6086 /* FNMDebugListingViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFEC1FD83AB1001D6086 /* FNMDebugListingViewController.swift */; }; - A39500041FD83AB1001D6086 /* FNMRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFEF1FD83AB1001D6086 /* FNMRecord.swift */; }; - A39500051FD83AB1001D6086 /* FNMRequestNode.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFF01FD83AB1001D6086 /* FNMRequestNode.swift */; }; - A395000C1FD83AB1001D6086 /* FNMNetworkMonitor.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFFA1FD83AB1001D6086 /* FNMNetworkMonitor.swift */; }; - A395000D1FD83AB1001D6086 /* FNMAdditions.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFFC1FD83AB1001D6086 /* FNMAdditions.swift */; }; - A39500101FD84F96001D6086 /* FNMDebugSummaryTableViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395000F1FD84F96001D6086 /* FNMDebugSummaryTableViewCell.swift */; }; - A395FFFD1FD83AB1001D6086 /* FNMNetworkMonitorURLProtocol.swift in Sources */ = {isa = PBXBuildFile; fileRef = A395FFE31FD83AB1001D6086 /* FNMNetworkMonitorURLProtocol.swift */; }; - A3DA63EE201B3637002CB2C0 /* FNMViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3DA63ED201B3637002CB2C0 /* FNMViewController.swift */; }; - A3E27FC51FC81F9000245188 /* Request-Nodes-A.json in Resources */ = {isa = PBXBuildFile; fileRef = A3E27FC11FC81F8400245188 /* Request-Nodes-A.json */; }; - A3E27FC71FC81F9000245188 /* Request-Nodes-B.json in Resources */ = {isa = PBXBuildFile; fileRef = A3E27FC01FC81F8400245188 /* Request-Nodes-B.json */; }; - F737BF202080F97D00ECCDE3 /* FNMHTTPRequestRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = F737BF1F2080F97C00ECCDE3 /* FNMHTTPRequestRecord.swift */; }; - F737BF222080F9B700ECCDE3 /* FNMHTTPRequestRecord+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F737BF212080F9B700ECCDE3 /* FNMHTTPRequestRecord+Codable.swift */; }; - F737BF262080FC9100ECCDE3 /* FNMProfile.swift in Sources */ = {isa = PBXBuildFile; fileRef = F737BF252080FC9100ECCDE3 /* FNMProfile.swift */; }; - F76084C72409678E00451AE8 /* Image.png in Resources */ = {isa = PBXBuildFile; fileRef = F76084C62409678E00451AE8 /* Image.png */; }; - F77D3F32209A16F0008F5E56 /* Generic-Profiles-Duplicates.json in Resources */ = {isa = PBXBuildFile; fileRef = F77D3F31209A16F0008F5E56 /* Generic-Profiles-Duplicates.json */; }; - F78DB25A2089F9020064E76C /* Generic-Profiles.json in Resources */ = {isa = PBXBuildFile; fileRef = F7A9A8B72089DDB700A56003 /* Generic-Profiles.json */; }; - F792A3922099D0A500D9C894 /* Matching-Profiles-3.json in Resources */ = {isa = PBXBuildFile; fileRef = F792A3912099D0A500D9C894 /* Matching-Profiles-3.json */; }; - F793CA6B1F9E474200AA9C41 /* FNMNetworkMonitor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F793CA4D1F9E361900AA9C41 /* FNMNetworkMonitor.framework */; }; - F7995B6A1F9F9CC900CA4B2F /* NetworkMonitorUnitTests-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = F7995B691F9F9CC900CA4B2F /* NetworkMonitorUnitTests-Bridging-Header.h */; }; - F7A5E79A208E29E4008C74CE /* Matching-Profiles-1.json in Resources */ = {isa = PBXBuildFile; fileRef = F7A5E799208E29E4008C74CE /* Matching-Profiles-1.json */; }; - F7A5E79C208E2C96008C74CE /* Matching-Profiles-2.json in Resources */ = {isa = PBXBuildFile; fileRef = F7A5E79B208E2C96008C74CE /* Matching-Profiles-2.json */; }; - F7AB3DDF243E1F7A0028D43E /* NetworkMonitorTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7AB3DDE243E1F7A0028D43E /* NetworkMonitorTests.swift */; }; - F7ABADD7243C949B008E417A /* NetworkMonitorDebugUITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7ABADD2243C949B008E417A /* NetworkMonitorDebugUITests.swift */; }; - F7ABADD8243C949B008E417A /* NetworkMonitorFlowTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7ABADD3243C949B008E417A /* NetworkMonitorFlowTests.swift */; }; - F7ABADD9243C949B008E417A /* NetworkMonitorProfileTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7ABADD4243C949B008E417A /* NetworkMonitorProfileTests.swift */; }; - F7ABADDA243C949B008E417A /* NetworkMonitorAppLaunchTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7ABADD5243C949B008E417A /* NetworkMonitorAppLaunchTests.swift */; }; - F7ABADDB243C949B008E417A /* NetworkMonitorExportTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7ABADD6243C949B008E417A /* NetworkMonitorExportTests.swift */; }; - F7BD0C5B20A4A3F900B1E3EA /* FNMLogger.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7BD0C5A20A4A3F900B1E3EA /* FNMLogger.swift */; }; - F7DA8306240956280095D93F /* Generic-Profile-Response.json in Resources */ = {isa = PBXBuildFile; fileRef = F7C47A8F2406EA7100875E72 /* Generic-Profile-Response.json */; }; - F7EDC62020ADB2670027B771 /* FNMCurrentRunCodableContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7EDC61B20ADB2670027B771 /* FNMCurrentRunCodableContainer.swift */; }; - F7EDC62220ADB2670027B771 /* FNMElement.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7EDC61D20ADB2670027B771 /* FNMElement.swift */; }; - F7EDC62620ADE0C30027B771 /* FNMHTTPRequestRecordCodableContainer.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7EDC62520ADE0C30027B771 /* FNMHTTPRequestRecordCodableContainer.swift */; }; - F7FA58A82084A5E700CEFB88 /* FNMProfile+Codable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7FA58A72084A5E700CEFB88 /* FNMProfile+Codable.swift */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - F793CA6C1F9E474200AA9C41 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = F793CA441F9E361900AA9C41 /* Project object */; - proxyType = 1; - remoteGlobalIDString = F793CA4C1F9E361900AA9C41; - remoteInfo = NetworkMonitor; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 1FA99E1422F96E2000C084BF /* README.md */ = {isa = PBXFileReference; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; }; - 4055D74E21BFBDDE0058EC1D /* FNMNetworkMonitorURLProtocol+Protocols.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FNMNetworkMonitorURLProtocol+Protocols.swift"; sourceTree = ""; }; - 433A1A092355DA3A00CB0A8D /* HighlightReloadableProtocol.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = HighlightReloadableProtocol.swift; sourceTree = ""; }; - 433A1A0B2355DAA000CB0A8D /* DebugDetailHeadersViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DebugDetailHeadersViewController.swift; sourceTree = ""; }; - 433A1A0D2355DAFB00CB0A8D /* DebugDetailBodyViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DebugDetailBodyViewController.swift; sourceTree = ""; }; - A3391C811FE27F8200BBBC18 /* FNMDebugDetailViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMDebugDetailViewController.swift; sourceTree = ""; }; - A3391C831FE2837B00BBBC18 /* FNMDebugDetailInfoTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMDebugDetailInfoTableViewCell.swift; sourceTree = ""; }; - A3805A781FA374DA00DA4183 /* FNMNetworkMonitor.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = FNMNetworkMonitor.podspec; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - A38AEE681FE3CEFC00778860 /* FNMRecordDetailInfo.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMRecordDetailInfo.swift; sourceTree = ""; }; - A395000F1FD84F96001D6086 /* FNMDebugSummaryTableViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMDebugSummaryTableViewCell.swift; sourceTree = ""; }; - A395FFE31FD83AB1001D6086 /* FNMNetworkMonitorURLProtocol.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMNetworkMonitorURLProtocol.swift; sourceTree = ""; }; - A395FFE91FD83AB1001D6086 /* FNMRecordExporter.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMRecordExporter.swift; sourceTree = ""; }; - A395FFEC1FD83AB1001D6086 /* FNMDebugListingViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMDebugListingViewController.swift; sourceTree = ""; }; - A395FFEF1FD83AB1001D6086 /* FNMRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMRecord.swift; sourceTree = ""; }; - A395FFF01FD83AB1001D6086 /* FNMRequestNode.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMRequestNode.swift; sourceTree = ""; }; - A395FFFA1FD83AB1001D6086 /* FNMNetworkMonitor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMNetworkMonitor.swift; sourceTree = ""; }; - A395FFFC1FD83AB1001D6086 /* FNMAdditions.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMAdditions.swift; sourceTree = ""; }; - A3DA63ED201B3637002CB2C0 /* FNMViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMViewController.swift; sourceTree = ""; }; - A3E27FC01FC81F8400245188 /* Request-Nodes-B.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Request-Nodes-B.json"; sourceTree = ""; }; - A3E27FC11FC81F8400245188 /* Request-Nodes-A.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Request-Nodes-A.json"; sourceTree = ""; }; - F737BF1F2080F97C00ECCDE3 /* FNMHTTPRequestRecord.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMHTTPRequestRecord.swift; sourceTree = ""; }; - F737BF212080F9B700ECCDE3 /* FNMHTTPRequestRecord+Codable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FNMHTTPRequestRecord+Codable.swift"; sourceTree = ""; }; - F737BF252080FC9100ECCDE3 /* FNMProfile.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMProfile.swift; sourceTree = ""; }; - F76084C62409678E00451AE8 /* Image.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = Image.png; sourceTree = ""; }; - F77D3F31209A16F0008F5E56 /* Generic-Profiles-Duplicates.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Generic-Profiles-Duplicates.json"; sourceTree = ""; }; - F792A3912099D0A500D9C894 /* Matching-Profiles-3.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Matching-Profiles-3.json"; sourceTree = ""; }; - F793CA4D1F9E361900AA9C41 /* FNMNetworkMonitor.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FNMNetworkMonitor.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F793CA511F9E361900AA9C41 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F793CA661F9E474200AA9C41 /* FNMNetworkMonitorUnitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FNMNetworkMonitorUnitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - F793CA6A1F9E474200AA9C41 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F7995B691F9F9CC900CA4B2F /* NetworkMonitorUnitTests-Bridging-Header.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NetworkMonitorUnitTests-Bridging-Header.h"; sourceTree = ""; }; - F7A5E799208E29E4008C74CE /* Matching-Profiles-1.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Matching-Profiles-1.json"; sourceTree = ""; }; - F7A5E79B208E2C96008C74CE /* Matching-Profiles-2.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Matching-Profiles-2.json"; sourceTree = ""; }; - F7A9A8B72089DDB700A56003 /* Generic-Profiles.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Generic-Profiles.json"; sourceTree = ""; }; - F7AB3DDE243E1F7A0028D43E /* NetworkMonitorTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkMonitorTests.swift; sourceTree = ""; }; - F7ABADD2243C949B008E417A /* NetworkMonitorDebugUITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkMonitorDebugUITests.swift; sourceTree = ""; }; - F7ABADD3243C949B008E417A /* NetworkMonitorFlowTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkMonitorFlowTests.swift; sourceTree = ""; }; - F7ABADD4243C949B008E417A /* NetworkMonitorProfileTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkMonitorProfileTests.swift; sourceTree = ""; }; - F7ABADD5243C949B008E417A /* NetworkMonitorAppLaunchTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkMonitorAppLaunchTests.swift; sourceTree = ""; }; - F7ABADD6243C949B008E417A /* NetworkMonitorExportTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = NetworkMonitorExportTests.swift; sourceTree = ""; }; - F7BD0C5A20A4A3F900B1E3EA /* FNMLogger.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FNMLogger.swift; sourceTree = ""; }; - F7C47A8F2406EA7100875E72 /* Generic-Profile-Response.json */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.json; path = "Generic-Profile-Response.json"; sourceTree = ""; }; - F7EDC61B20ADB2670027B771 /* FNMCurrentRunCodableContainer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMCurrentRunCodableContainer.swift; sourceTree = ""; }; - F7EDC61D20ADB2670027B771 /* FNMElement.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMElement.swift; sourceTree = ""; }; - F7EDC62520ADE0C30027B771 /* FNMHTTPRequestRecordCodableContainer.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FNMHTTPRequestRecordCodableContainer.swift; sourceTree = ""; }; - F7FA58A72084A5E700CEFB88 /* FNMProfile+Codable.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "FNMProfile+Codable.swift"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - F793CA491F9E361900AA9C41 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F793CA631F9E474200AA9C41 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - F793CA6B1F9E474200AA9C41 /* FNMNetworkMonitor.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 1FA99E1222F96DB700C084BF /* Metadata */ = { - isa = PBXGroup; - children = ( - 1FA99E1422F96E2000C084BF /* README.md */, - ); - name = Metadata; - sourceTree = ""; - }; - A395000E1FD84F52001D6086 /* View */ = { - isa = PBXGroup; - children = ( - A395000F1FD84F96001D6086 /* FNMDebugSummaryTableViewCell.swift */, - A3391C831FE2837B00BBBC18 /* FNMDebugDetailInfoTableViewCell.swift */, - ); - path = View; - sourceTree = ""; - }; - A395FFE21FD83AB1001D6086 /* URLProtocol */ = { - isa = PBXGroup; - children = ( - A395FFE31FD83AB1001D6086 /* FNMNetworkMonitorURLProtocol.swift */, - 4055D74E21BFBDDE0058EC1D /* FNMNetworkMonitorURLProtocol+Protocols.swift */, - F737BF1F2080F97C00ECCDE3 /* FNMHTTPRequestRecord.swift */, - ); - path = URLProtocol; - sourceTree = ""; - }; - A395FFE81FD83AB1001D6086 /* Exporter */ = { - isa = PBXGroup; - children = ( - A395FFE91FD83AB1001D6086 /* FNMRecordExporter.swift */, - F7EDC62420ADD2180027B771 /* RequestRecord */, - F7EDC62320ADD2110027B771 /* Records */, - ); - path = Exporter; - sourceTree = ""; - }; - A395FFEA1FD83AB1001D6086 /* Controller */ = { - isa = PBXGroup; - children = ( - 433A1A0D2355DAFB00CB0A8D /* DebugDetailBodyViewController.swift */, - 433A1A0B2355DAA000CB0A8D /* DebugDetailHeadersViewController.swift */, - A3391C811FE27F8200BBBC18 /* FNMDebugDetailViewController.swift */, - A395FFEC1FD83AB1001D6086 /* FNMDebugListingViewController.swift */, - A3DA63ED201B3637002CB2C0 /* FNMViewController.swift */, - 433A1A092355DA3A00CB0A8D /* HighlightReloadableProtocol.swift */, - ); - path = Controller; - sourceTree = ""; - }; - A395FFFB1FD83AB1001D6086 /* Extension */ = { - isa = PBXGroup; - children = ( - A395FFFC1FD83AB1001D6086 /* FNMAdditions.swift */, - ); - path = Extension; - sourceTree = ""; - }; - A3E27FBE1FC81F6E00245188 /* Resources */ = { - isa = PBXGroup; - children = ( - F76084C62409678E00451AE8 /* Image.png */, - F7A9A8B72089DDB700A56003 /* Generic-Profiles.json */, - F77D3F31209A16F0008F5E56 /* Generic-Profiles-Duplicates.json */, - F7C47A8F2406EA7100875E72 /* Generic-Profile-Response.json */, - F7A5E799208E29E4008C74CE /* Matching-Profiles-1.json */, - F7A5E79B208E2C96008C74CE /* Matching-Profiles-2.json */, - F792A3912099D0A500D9C894 /* Matching-Profiles-3.json */, - A3E27FC11FC81F8400245188 /* Request-Nodes-A.json */, - A3E27FC01FC81F8400245188 /* Request-Nodes-B.json */, - ); - path = Resources; - sourceTree = ""; - }; - DDD462EC24DB54C600F14CD6 /* Frameworks */ = { - isa = PBXGroup; - children = ( - ); - name = Frameworks; - sourceTree = ""; - }; - F737BF1E2080F35B00ECCDE3 /* Debug */ = { - isa = PBXGroup; - children = ( - A395FFEA1FD83AB1001D6086 /* Controller */, - A395000E1FD84F52001D6086 /* View */, - F737BF232080FAFC00ECCDE3 /* Model */, - ); - path = Debug; - sourceTree = ""; - }; - F737BF232080FAFC00ECCDE3 /* Model */ = { - isa = PBXGroup; - children = ( - A38AEE681FE3CEFC00778860 /* FNMRecordDetailInfo.swift */, - ); - path = Model; - sourceTree = ""; - }; - F737BF242080FC7300ECCDE3 /* Profile */ = { - isa = PBXGroup; - children = ( - F737BF252080FC9100ECCDE3 /* FNMProfile.swift */, - F7FA58A72084A5E700CEFB88 /* FNMProfile+Codable.swift */, - ); - path = Profile; - sourceTree = ""; - }; - F793CA431F9E361900AA9C41 = { - isa = PBXGroup; - children = ( - F793CA4F1F9E361900AA9C41 /* NetworkMonitor */, - F793CA671F9E474200AA9C41 /* Tests */, - F793CA4E1F9E361900AA9C41 /* Products */, - DDD462EC24DB54C600F14CD6 /* Frameworks */, - ); - sourceTree = ""; - }; - F793CA4E1F9E361900AA9C41 /* Products */ = { - isa = PBXGroup; - children = ( - F793CA4D1F9E361900AA9C41 /* FNMNetworkMonitor.framework */, - F793CA661F9E474200AA9C41 /* FNMNetworkMonitorUnitTests.xctest */, - ); - name = Products; - sourceTree = ""; - }; - F793CA4F1F9E361900AA9C41 /* NetworkMonitor */ = { - isa = PBXGroup; - children = ( - 1FA99E1222F96DB700C084BF /* Metadata */, - F793CA5C1F9E3AB400AA9C41 /* Podspec Metadata */, - F793CA5F1F9E3C6B00AA9C41 /* Classes */, - F793CA511F9E361900AA9C41 /* Info.plist */, - ); - path = NetworkMonitor; - sourceTree = ""; - }; - F793CA5C1F9E3AB400AA9C41 /* Podspec Metadata */ = { - isa = PBXGroup; - children = ( - A3805A781FA374DA00DA4183 /* FNMNetworkMonitor.podspec */, - ); - name = "Podspec Metadata"; - sourceTree = ""; - }; - F793CA5F1F9E3C6B00AA9C41 /* Classes */ = { - isa = PBXGroup; - children = ( - A395FFFA1FD83AB1001D6086 /* FNMNetworkMonitor.swift */, - F737BF1E2080F35B00ECCDE3 /* Debug */, - A395FFE81FD83AB1001D6086 /* Exporter */, - A395FFFB1FD83AB1001D6086 /* Extension */, - F7BD0C5920A4A3E200B1E3EA /* Log */, - F737BF242080FC7300ECCDE3 /* Profile */, - A395FFE21FD83AB1001D6086 /* URLProtocol */, - ); - path = Classes; - sourceTree = ""; - }; - F793CA671F9E474200AA9C41 /* Tests */ = { - isa = PBXGroup; - children = ( - F7ABADD5243C949B008E417A /* NetworkMonitorAppLaunchTests.swift */, - F7ABADD2243C949B008E417A /* NetworkMonitorDebugUITests.swift */, - F7ABADD6243C949B008E417A /* NetworkMonitorExportTests.swift */, - F7ABADD3243C949B008E417A /* NetworkMonitorFlowTests.swift */, - F7ABADD4243C949B008E417A /* NetworkMonitorProfileTests.swift */, - F7AB3DDE243E1F7A0028D43E /* NetworkMonitorTests.swift */, - A3E27FBE1FC81F6E00245188 /* Resources */, - F793CA6A1F9E474200AA9C41 /* Info.plist */, - F7995B691F9F9CC900CA4B2F /* NetworkMonitorUnitTests-Bridging-Header.h */, - ); - path = Tests; - sourceTree = ""; - }; - F7BD0C5920A4A3E200B1E3EA /* Log */ = { - isa = PBXGroup; - children = ( - F7BD0C5A20A4A3F900B1E3EA /* FNMLogger.swift */, - ); - path = Log; - sourceTree = ""; - }; - F7EDC62320ADD2110027B771 /* Records */ = { - isa = PBXGroup; - children = ( - A395FFEF1FD83AB1001D6086 /* FNMRecord.swift */, - F7EDC61D20ADB2670027B771 /* FNMElement.swift */, - A395FFF01FD83AB1001D6086 /* FNMRequestNode.swift */, - F7EDC61B20ADB2670027B771 /* FNMCurrentRunCodableContainer.swift */, - ); - path = Records; - sourceTree = ""; - }; - F7EDC62420ADD2180027B771 /* RequestRecord */ = { - isa = PBXGroup; - children = ( - F737BF212080F9B700ECCDE3 /* FNMHTTPRequestRecord+Codable.swift */, - F7EDC62520ADE0C30027B771 /* FNMHTTPRequestRecordCodableContainer.swift */, - ); - path = RequestRecord; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - F793CA4A1F9E361900AA9C41 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - F7995B6A1F9F9CC900CA4B2F /* NetworkMonitorUnitTests-Bridging-Header.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - F793CA4C1F9E361900AA9C41 /* FNMNetworkMonitor */ = { - isa = PBXNativeTarget; - buildConfigurationList = F793CA551F9E361900AA9C41 /* Build configuration list for PBXNativeTarget "FNMNetworkMonitor" */; - buildPhases = ( - F793CA481F9E361900AA9C41 /* Sources */, - F793CA491F9E361900AA9C41 /* Frameworks */, - F793CA4A1F9E361900AA9C41 /* Headers */, - F793CA4B1F9E361900AA9C41 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = FNMNetworkMonitor; - productName = NetworkMonitor; - productReference = F793CA4D1F9E361900AA9C41 /* FNMNetworkMonitor.framework */; - productType = "com.apple.product-type.framework"; - }; - F793CA651F9E474200AA9C41 /* FNMNetworkMonitorUnitTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = F793CA701F9E474200AA9C41 /* Build configuration list for PBXNativeTarget "FNMNetworkMonitorUnitTests" */; - buildPhases = ( - F793CA621F9E474200AA9C41 /* Sources */, - F793CA631F9E474200AA9C41 /* Frameworks */, - F793CA641F9E474200AA9C41 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - F793CA6D1F9E474200AA9C41 /* PBXTargetDependency */, - ); - name = FNMNetworkMonitorUnitTests; - productName = NetworkMonitorUnitTests; - productReference = F793CA661F9E474200AA9C41 /* FNMNetworkMonitorUnitTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - F793CA441F9E361900AA9C41 /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 1130; - LastUpgradeCheck = 1250; - ORGANIZATIONNAME = Farfetch; - TargetAttributes = { - F793CA4C1F9E361900AA9C41 = { - CreatedOnToolsVersion = 8.3.3; - DevelopmentTeam = YRR3Z73Z6M; - LastSwiftMigration = 1020; - ProvisioningStyle = Automatic; - }; - F793CA651F9E474200AA9C41 = { - CreatedOnToolsVersion = 8.3.3; - DevelopmentTeam = YRR3Z73Z6M; - LastSwiftMigration = 1020; - ProvisioningStyle = Automatic; - }; - }; - }; - buildConfigurationList = F793CA471F9E361900AA9C41 /* Build configuration list for PBXProject "NetworkMonitor" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = en; - hasScannedForEncodings = 0; - knownRegions = ( - en, - Base, - ); - mainGroup = F793CA431F9E361900AA9C41; - productRefGroup = F793CA4E1F9E361900AA9C41 /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - F793CA4C1F9E361900AA9C41 /* FNMNetworkMonitor */, - F793CA651F9E474200AA9C41 /* FNMNetworkMonitorUnitTests */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXResourcesBuildPhase section */ - F793CA4B1F9E361900AA9C41 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F793CA641F9E474200AA9C41 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F76084C72409678E00451AE8 /* Image.png in Resources */, - F792A3922099D0A500D9C894 /* Matching-Profiles-3.json in Resources */, - F7DA8306240956280095D93F /* Generic-Profile-Response.json in Resources */, - A3E27FC51FC81F9000245188 /* Request-Nodes-A.json in Resources */, - A3E27FC71FC81F9000245188 /* Request-Nodes-B.json in Resources */, - F77D3F32209A16F0008F5E56 /* Generic-Profiles-Duplicates.json in Resources */, - F7A5E79C208E2C96008C74CE /* Matching-Profiles-2.json in Resources */, - F7A5E79A208E29E4008C74CE /* Matching-Profiles-1.json in Resources */, - F78DB25A2089F9020064E76C /* Generic-Profiles.json in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - F793CA481F9E361900AA9C41 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - A395000D1FD83AB1001D6086 /* FNMAdditions.swift in Sources */, - A3DA63EE201B3637002CB2C0 /* FNMViewController.swift in Sources */, - 4055D74F21BFBDDE0058EC1D /* FNMNetworkMonitorURLProtocol+Protocols.swift in Sources */, - A39500041FD83AB1001D6086 /* FNMRecord.swift in Sources */, - F737BF262080FC9100ECCDE3 /* FNMProfile.swift in Sources */, - F7FA58A82084A5E700CEFB88 /* FNMProfile+Codable.swift in Sources */, - F737BF222080F9B700ECCDE3 /* FNMHTTPRequestRecord+Codable.swift in Sources */, - F737BF202080F97D00ECCDE3 /* FNMHTTPRequestRecord.swift in Sources */, - A3391C841FE2837B00BBBC18 /* FNMDebugDetailInfoTableViewCell.swift in Sources */, - F7EDC62220ADB2670027B771 /* FNMElement.swift in Sources */, - A39500051FD83AB1001D6086 /* FNMRequestNode.swift in Sources */, - A39500011FD83AB1001D6086 /* FNMRecordExporter.swift in Sources */, - A39500101FD84F96001D6086 /* FNMDebugSummaryTableViewCell.swift in Sources */, - 433A1A0C2355DAA000CB0A8D /* DebugDetailHeadersViewController.swift in Sources */, - A395FFFD1FD83AB1001D6086 /* FNMNetworkMonitorURLProtocol.swift in Sources */, - A3391C821FE27F8200BBBC18 /* FNMDebugDetailViewController.swift in Sources */, - F7EDC62020ADB2670027B771 /* FNMCurrentRunCodableContainer.swift in Sources */, - A395000C1FD83AB1001D6086 /* FNMNetworkMonitor.swift in Sources */, - A39500031FD83AB1001D6086 /* FNMDebugListingViewController.swift in Sources */, - F7BD0C5B20A4A3F900B1E3EA /* FNMLogger.swift in Sources */, - A38AEE691FE3CEFC00778860 /* FNMRecordDetailInfo.swift in Sources */, - 433A1A0E2355DAFB00CB0A8D /* DebugDetailBodyViewController.swift in Sources */, - F7EDC62620ADE0C30027B771 /* FNMHTTPRequestRecordCodableContainer.swift in Sources */, - 433A1A0A2355DA3A00CB0A8D /* HighlightReloadableProtocol.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - F793CA621F9E474200AA9C41 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - F7ABADD7243C949B008E417A /* NetworkMonitorDebugUITests.swift in Sources */, - F7ABADD8243C949B008E417A /* NetworkMonitorFlowTests.swift in Sources */, - F7AB3DDF243E1F7A0028D43E /* NetworkMonitorTests.swift in Sources */, - F7ABADDB243C949B008E417A /* NetworkMonitorExportTests.swift in Sources */, - F7ABADDA243C949B008E417A /* NetworkMonitorAppLaunchTests.swift in Sources */, - F7ABADD9243C949B008E417A /* NetworkMonitorProfileTests.swift in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - F793CA6D1F9E474200AA9C41 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = F793CA4C1F9E361900AA9C41 /* FNMNetworkMonitor */; - targetProxy = F793CA6C1F9E474200AA9C41 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - F793CA531F9E361900AA9C41 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEBUG_INFORMATION_FORMAT = dwarf; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = YRR3Z73Z6M; - ENABLE_STRICT_OBJC_MSGSEND = YES; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_NO_COMMON_BLOCKS = YES; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - MTL_ENABLE_DEBUG_INFO = YES; - ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Debug; - }; - F793CA541F9E361900AA9C41 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_QUOTED_INCLUDE_IN_FRAMEWORK_HEADER = YES; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DEVELOPMENT_TEAM = YRR3Z73Z6M; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_NO_COMMON_BLOCKS = YES; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - MTL_ENABLE_DEBUG_INFO = NO; - SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 5.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - F793CA561F9E361900AA9C41 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = NetworkMonitor/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.farfetch.NetworkMonitor; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SUPPORTS_MACCATALYST = NO; - }; - name = Debug; - }; - F793CA571F9E361900AA9C41 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = NetworkMonitor/Info.plist; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.farfetch.NetworkMonitor; - PRODUCT_NAME = "$(TARGET_NAME)"; - SKIP_INSTALL = YES; - SUPPORTS_MACCATALYST = NO; - }; - name = Release; - }; - F793CA6E1F9E474200AA9C41 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = FNM.NetworkMonitorUnitTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Tests/NetworkMonitorUnitTests-Bridging-Header.h"; - }; - name = Debug; - }; - F793CA6F1F9E474200AA9C41 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = FNM.NetworkMonitorUnitTests; - PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_OBJC_BRIDGING_HEADER = "Tests/NetworkMonitorUnitTests-Bridging-Header.h"; - }; - name = Release; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - F793CA471F9E361900AA9C41 /* Build configuration list for PBXProject "NetworkMonitor" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F793CA531F9E361900AA9C41 /* Debug */, - F793CA541F9E361900AA9C41 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F793CA551F9E361900AA9C41 /* Build configuration list for PBXNativeTarget "FNMNetworkMonitor" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F793CA561F9E361900AA9C41 /* Debug */, - F793CA571F9E361900AA9C41 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - F793CA701F9E474200AA9C41 /* Build configuration list for PBXNativeTarget "FNMNetworkMonitorUnitTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - F793CA6E1F9E474200AA9C41 /* Debug */, - F793CA6F1F9E474200AA9C41 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = F793CA441F9E361900AA9C41 /* Project object */; -} diff --git a/NetworkMonitor.xcodeproj/xcshareddata/xcschemes/NetworkMonitor.xcscheme b/NetworkMonitor.xcodeproj/xcshareddata/xcschemes/NetworkMonitor.xcscheme deleted file mode 100644 index b5d34a8..0000000 --- a/NetworkMonitor.xcodeproj/xcshareddata/xcschemes/NetworkMonitor.xcscheme +++ /dev/null @@ -1,106 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/NetworkMonitor.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist b/NetworkMonitor.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist deleted file mode 100644 index 18d9810..0000000 --- a/NetworkMonitor.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +++ /dev/null @@ -1,8 +0,0 @@ - - - - - IDEDidComputeMac32BitWarning - - - diff --git a/Sample/.spm.pods/packages/.umbrella/Package.swift b/Sample/.spm.pods/packages/.umbrella/Package.swift new file mode 100644 index 0000000..da23206 --- /dev/null +++ b/Sample/.spm.pods/packages/.umbrella/Package.swift @@ -0,0 +1,9 @@ +// swift-tools-version:5.7 +import PackageDescription + +let package = Package( + name: "_umbrella_", + dependencies: [ + + ] +) diff --git a/Sample/Podfile b/Sample/Podfile new file mode 100755 index 0000000..bc1b659 --- /dev/null +++ b/Sample/Podfile @@ -0,0 +1,14 @@ +# Sources configuration +source 'https://cdn.cocoapods.org/' + +PLATFORM_DEPLOYMENT_TARGET = '15.0'.freeze + +platform :ios, PLATFORM_DEPLOYMENT_TARGET +use_frameworks! + +workspace 'Sample' + +target 'Sample' do + + pod 'FNMNetworkMonitor' +end \ No newline at end of file diff --git a/Sample/Podfile.lock b/Sample/Podfile.lock new file mode 100644 index 0000000..39f3efb --- /dev/null +++ b/Sample/Podfile.lock @@ -0,0 +1,16 @@ +PODS: + - FNMNetworkMonitor (11.11.1) + +DEPENDENCIES: + - FNMNetworkMonitor + +SPEC REPOS: + trunk: + - FNMNetworkMonitor + +SPEC CHECKSUMS: + FNMNetworkMonitor: 8dc090b3d0873c5fec8e389d6568af73683312cd + +PODFILE CHECKSUM: ed71bf10e5bc3bdbe6c5632c5a63496350fa381f + +COCOAPODS: 1.15.2 diff --git a/Sample/Sample.xcodeproj/project.pbxproj b/Sample/Sample.xcodeproj/project.pbxproj index 33e219e..3a1b3dd 100644 --- a/Sample/Sample.xcodeproj/project.pbxproj +++ b/Sample/Sample.xcodeproj/project.pbxproj @@ -3,18 +3,17 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 54; objects = { /* Begin PBXBuildFile section */ + 161DA2BD7F2BECA3F395CECE /* Pods_Sample.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 072C49F0C9882097EFB96B5A /* Pods_Sample.framework */; }; 6BFF80FA261E138A002CDCD1 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BFF80F9261E138A002CDCD1 /* AppDelegate.swift */; }; 6BFF80FC261E138A002CDCD1 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BFF80FB261E138A002CDCD1 /* SceneDelegate.swift */; }; 6BFF80FE261E138A002CDCD1 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6BFF80FD261E138A002CDCD1 /* ViewController.swift */; }; 6BFF8101261E138A002CDCD1 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6BFF80FF261E138A002CDCD1 /* Main.storyboard */; }; 6BFF8103261E138C002CDCD1 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6BFF8102261E138C002CDCD1 /* Assets.xcassets */; }; 6BFF8106261E138C002CDCD1 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6BFF8104261E138C002CDCD1 /* LaunchScreen.storyboard */; }; - 6BFF812D261E24DB002CDCD1 /* FNMNetworkMonitor.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6BFF812A261E249B002CDCD1 /* FNMNetworkMonitor.framework */; }; - 6BFF812E261E24DB002CDCD1 /* FNMNetworkMonitor.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 6BFF812A261E249B002CDCD1 /* FNMNetworkMonitor.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -34,21 +33,10 @@ }; /* End PBXContainerItemProxy section */ -/* Begin PBXCopyFilesBuildPhase section */ - 6BFF812F261E24DB002CDCD1 /* Embed Frameworks */ = { - isa = PBXCopyFilesBuildPhase; - buildActionMask = 2147483647; - dstPath = ""; - dstSubfolderSpec = 10; - files = ( - 6BFF812E261E24DB002CDCD1 /* FNMNetworkMonitor.framework in Embed Frameworks */, - ); - name = "Embed Frameworks"; - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXCopyFilesBuildPhase section */ - /* Begin PBXFileReference section */ + 072C49F0C9882097EFB96B5A /* Pods_Sample.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Sample.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 3C6C75649A8806EECDCC6508 /* Pods-Sample.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Sample.release.xcconfig"; path = "Target Support Files/Pods-Sample/Pods-Sample.release.xcconfig"; sourceTree = ""; }; + 4D2D2D18CE6F3DDB4DCAE6CD /* Pods-Sample.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Sample.debug.xcconfig"; path = "Target Support Files/Pods-Sample/Pods-Sample.debug.xcconfig"; sourceTree = ""; }; 6BFF80F6261E138A002CDCD1 /* Sample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = Sample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 6BFF80F9261E138A002CDCD1 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 6BFF80FB261E138A002CDCD1 /* SceneDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = ""; }; @@ -65,19 +53,29 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 6BFF812D261E24DB002CDCD1 /* FNMNetworkMonitor.framework in Frameworks */, + 161DA2BD7F2BECA3F395CECE /* Pods_Sample.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ + 56B01F73C61F8E7C27621BDA /* Pods */ = { + isa = PBXGroup; + children = ( + 4D2D2D18CE6F3DDB4DCAE6CD /* Pods-Sample.debug.xcconfig */, + 3C6C75649A8806EECDCC6508 /* Pods-Sample.release.xcconfig */, + ); + path = Pods; + sourceTree = ""; + }; 6BFF80ED261E138A002CDCD1 = { isa = PBXGroup; children = ( 6BFF80F8261E138A002CDCD1 /* Sample */, 6BFF80F7261E138A002CDCD1 /* Products */, 6BFF811C261E2253002CDCD1 /* Frameworks */, + 56B01F73C61F8E7C27621BDA /* Pods */, ); sourceTree = ""; }; @@ -107,6 +105,7 @@ isa = PBXGroup; children = ( 6BFF8124261E249B002CDCD1 /* NetworkMonitor.xcodeproj */, + 072C49F0C9882097EFB96B5A /* Pods_Sample.framework */, ); name = Frameworks; sourceTree = ""; @@ -127,10 +126,11 @@ isa = PBXNativeTarget; buildConfigurationList = 6BFF810A261E138C002CDCD1 /* Build configuration list for PBXNativeTarget "Sample" */; buildPhases = ( + 3C36A257F314A352A7E2485D /* [CP] Check Pods Manifest.lock */, 6BFF80F2261E138A002CDCD1 /* Sources */, 6BFF80F3261E138A002CDCD1 /* Frameworks */, 6BFF80F4261E138A002CDCD1 /* Resources */, - 6BFF812F261E24DB002CDCD1 /* Embed Frameworks */, + 2C5BC43B98C6B2CB3B46C2AF /* [CP] Embed Pods Frameworks */, ); buildRules = ( ); @@ -147,8 +147,9 @@ 6BFF80EE261E138A002CDCD1 /* Project object */ = { isa = PBXProject; attributes = { + BuildIndependentTargetsInParallel = YES; LastSwiftUpdateCheck = 1250; - LastUpgradeCheck = 1250; + LastUpgradeCheck = 1610; TargetAttributes = { 6BFF80F5261E138A002CDCD1 = { CreatedOnToolsVersion = 12.5; @@ -209,6 +210,48 @@ }; /* End PBXResourcesBuildPhase section */ +/* Begin PBXShellScriptBuildPhase section */ + 2C5BC43B98C6B2CB3B46C2AF /* [CP] Embed Pods Frameworks */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Sample/Pods-Sample-frameworks-${CONFIGURATION}-input-files.xcfilelist", + ); + name = "[CP] Embed Pods Frameworks"; + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-Sample/Pods-Sample-frameworks-${CONFIGURATION}-output-files.xcfilelist", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Sample/Pods-Sample-frameworks.sh\"\n"; + showEnvVarsInLog = 0; + }; + 3C36A257F314A352A7E2485D /* [CP] Check Pods Manifest.lock */ = { + isa = PBXShellScriptBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + inputFileListPaths = ( + ); + inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", + ); + name = "[CP] Check Pods Manifest.lock"; + outputFileListPaths = ( + ); + outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-Sample-checkManifestLockResult.txt", + ); + runOnlyForDeploymentPostprocessing = 0; + shellPath = /bin/sh; + shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; + showEnvVarsInLog = 0; + }; +/* End PBXShellScriptBuildPhase section */ + /* Begin PBXSourcesBuildPhase section */ 6BFF80F2261E138A002CDCD1 /* Sources */ = { isa = PBXSourcesBuildPhase; @@ -293,7 +336,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.1; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -348,7 +391,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 14.1; + IPHONEOS_DEPLOYMENT_TARGET = 18.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; @@ -360,6 +403,7 @@ }; 6BFF810B261E138C002CDCD1 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 4D2D2D18CE6F3DDB4DCAE6CD /* Pods-Sample.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; @@ -377,6 +421,7 @@ }; 6BFF810C261E138C002CDCD1 /* Release */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 3C6C75649A8806EECDCC6508 /* Pods-Sample.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; CODE_SIGN_STYLE = Automatic; diff --git a/NetworkMonitor.xcworkspace/contents.xcworkspacedata b/Sample/Sample.xcworkspace/contents.xcworkspacedata similarity index 57% rename from NetworkMonitor.xcworkspace/contents.xcworkspacedata rename to Sample/Sample.xcworkspace/contents.xcworkspacedata index a092de7..7b5a2f3 100644 --- a/NetworkMonitor.xcworkspace/contents.xcworkspacedata +++ b/Sample/Sample.xcworkspace/contents.xcworkspacedata @@ -2,9 +2,9 @@ + location = "group:Sample.xcodeproj"> + location = "group:Pods/Pods.xcodeproj"> From fdae7f0ab3abd0e5dcc3ed8b081ca994c5e92313 Mon Sep 17 00:00:00 2001 From: "diogo.balseiro" Date: Mon, 11 Nov 2024 16:38:31 +0000 Subject: [PATCH 3/6] Updated workflow --- .github/workflows/changes-action.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/changes-action.yml b/.github/workflows/changes-action.yml index db95853..3f0d27a 100644 --- a/.github/workflows/changes-action.yml +++ b/.github/workflows/changes-action.yml @@ -14,9 +14,9 @@ jobs: steps: - uses: actions/checkout@v2 - name: Build Network Monitor - run: xcodebuild build -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max' + run: xcodebuild build -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' - name: Test Network Monitor - run: xcodebuild test -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 12 Pro Max' + run: xcodebuild test -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' - name: Install Cocoapods run: gem install cocoapods - name: Pod lib lint From aa4425ac07d2bd09ea878254b9f75caf8f10f35c Mon Sep 17 00:00:00 2001 From: "diogo.balseiro" Date: Mon, 11 Nov 2024 17:00:15 +0000 Subject: [PATCH 4/6] Updated workflow --- .github/workflows/changes-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changes-action.yml b/.github/workflows/changes-action.yml index 3f0d27a..85fd02e 100644 --- a/.github/workflows/changes-action.yml +++ b/.github/workflows/changes-action.yml @@ -16,7 +16,7 @@ jobs: - name: Build Network Monitor run: xcodebuild build -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' - name: Test Network Monitor - run: xcodebuild test -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' + run: xcodebuild clean test -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' - name: Install Cocoapods run: gem install cocoapods - name: Pod lib lint From 9515e1815f67cf87afdd508cd8624056695c5f73 Mon Sep 17 00:00:00 2001 From: "diogo.balseiro" Date: Mon, 11 Nov 2024 17:08:46 +0000 Subject: [PATCH 5/6] Updated workflow --- .github/workflows/changes-action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/changes-action.yml b/.github/workflows/changes-action.yml index 85fd02e..bb6c1db 100644 --- a/.github/workflows/changes-action.yml +++ b/.github/workflows/changes-action.yml @@ -13,6 +13,8 @@ jobs: steps: - uses: actions/checkout@v2 + - name: Boot Simulator + - run: xcrun simctl boot 5E4C21FA-303F-461E-81AD-F50D186A79FC - name: Build Network Monitor run: xcodebuild build -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' - name: Test Network Monitor From c7e2d1aed7b8f8c5ceb85238dd6b917df198dfb2 Mon Sep 17 00:00:00 2001 From: "diogo.balseiro" Date: Mon, 11 Nov 2024 17:09:43 +0000 Subject: [PATCH 6/6] Updated workflow --- .github/workflows/changes-action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/changes-action.yml b/.github/workflows/changes-action.yml index bb6c1db..9af4cf4 100644 --- a/.github/workflows/changes-action.yml +++ b/.github/workflows/changes-action.yml @@ -14,7 +14,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Boot Simulator - - run: xcrun simctl boot 5E4C21FA-303F-461E-81AD-F50D186A79FC + run: xcrun simctl boot 5E4C21FA-303F-461E-81AD-F50D186A79FC - name: Build Network Monitor run: xcodebuild build -scheme NetworkMonitor -destination 'platform=iOS Simulator,name=iPhone 15 Pro Max' - name: Test Network Monitor