From a1594f01b0461148a79b25205f7aa735c5fe8274 Mon Sep 17 00:00:00 2001 From: Melek Ramki Date: Mon, 15 Jul 2024 15:18:52 -0400 Subject: [PATCH 1/6] Update Crash CoreData and Data Model Add CoreDataClass and CoreDataProperties NSManagedObject subclasses Disable code Generation Remove .xcdatamodeld from Compile Sources Build Phase --- Backtrace.xcodeproj/project.pbxproj | 22 ++++++++++++++----- .../Resources/Crash+CoreDataClass.swift | 5 +++++ .../Resources/Crash+CoreDataProperties.swift | 16 ++++++++++++++ .../Model.xcdatamodel/contents | 4 ++-- 4 files changed, 39 insertions(+), 8 deletions(-) create mode 100644 Sources/Features/Resources/Crash+CoreDataClass.swift create mode 100644 Sources/Features/Resources/Crash+CoreDataProperties.swift diff --git a/Backtrace.xcodeproj/project.pbxproj b/Backtrace.xcodeproj/project.pbxproj index 0cb7ef18..ffbcc530 100644 --- a/Backtrace.xcodeproj/project.pbxproj +++ b/Backtrace.xcodeproj/project.pbxproj @@ -10,6 +10,12 @@ 0B6B4CFD25CD8331002DA15C /* BacktraceOomWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */; }; 0B6B4CFE25CD8331002DA15C /* BacktraceOomWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */; }; 0B6B4CFF25CD8331002DA15C /* BacktraceOomWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */; }; + 2062D9C62C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */; }; + 2062D9C72C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */; }; + 2062D9C82C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */; }; + 2062D9C92C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */; }; + 2062D9CA2C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */; }; + 2062D9CB2C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */; }; 282C85E7223FD8E70014FE75 /* BacktraceCrashExceptionApplication.swift in Sources */ = {isa = PBXBuildFile; fileRef = 282C85E6223FD8E70014FE75 /* BacktraceCrashExceptionApplication.swift */; }; 2846E1F8222F1DE60035F98C /* NetworkReachability.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2846E1F7222F1DE50035F98C /* NetworkReachability.swift */; }; 2846E1F9222F1DE60035F98C /* NetworkReachability.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2846E1F7222F1DE50035F98C /* NetworkReachability.swift */; }; @@ -250,7 +256,6 @@ F28F165921E2A0DA008E4B96 /* URLSession+Sync.swift in Sources */ = {isa = PBXBuildFile; fileRef = F28F165721E2A0DA008E4B96 /* URLSession+Sync.swift */; }; F29959AB225539960085B5C3 /* BacktraceCrashReporter.swift in Sources */ = {isa = PBXBuildFile; fileRef = F21211A4222348AC000B3692 /* BacktraceCrashReporter.swift */; }; F29959AC2255399B0085B5C3 /* BacktraceReport.swift in Sources */ = {isa = PBXBuildFile; fileRef = F282075721CEA31F0017367F /* BacktraceReport.swift */; }; - F29959AD22553B340085B5C3 /* Model.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = F2AB639A22479A3200939BC9 /* Model.xcdatamodeld */; }; F29CD78D21FC6BC700216C59 /* BacktraceFileManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = F29CD78C21FC6BC700216C59 /* BacktraceFileManager.swift */; }; F29CD78E21FC6BC700216C59 /* BacktraceFileManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = F29CD78C21FC6BC700216C59 /* BacktraceFileManager.swift */; }; F29CD79121FCC25600216C59 /* BacktraceWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = F29CD79021FCC25600216C59 /* BacktraceWatcher.swift */; }; @@ -274,8 +279,6 @@ F2AB637F22464FD500939BC9 /* DebuggerCheckerMock.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2AB637D22464FD500939BC9 /* DebuggerCheckerMock.swift */; }; F2AB63812246E16400939BC9 /* ReportingPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2AB63802246E16400939BC9 /* ReportingPolicy.swift */; }; F2AB63822246E16400939BC9 /* ReportingPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2AB63802246E16400939BC9 /* ReportingPolicy.swift */; }; - F2AB639C22479A3500939BC9 /* Model.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = F2AB639A22479A3200939BC9 /* Model.xcdatamodeld */; }; - F2AB639D22479A3600939BC9 /* Model.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = F2AB639A22479A3200939BC9 /* Model.xcdatamodeld */; }; F2AB63A022479FDF00939BC9 /* BacktraceApi.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2D8BE3921BD78A9007CFEFA /* BacktraceApi.swift */; }; F2AFB5912225E5D000AAA1D7 /* Foundation+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2AFB5902225E5D000AAA1D7 /* Foundation+Extensions.swift */; }; F2AFB5922225E5D000AAA1D7 /* Foundation+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2AFB5902225E5D000AAA1D7 /* Foundation+Extensions.swift */; }; @@ -382,6 +385,8 @@ 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BacktraceOomWatcher.swift; sourceTree = ""; }; 1B23C39D7D0C11ABC494BDF4 /* Pods_Example_macOS_ObjC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example_macOS_ObjC.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 1F36490C977B28FFED3FA6BB /* Pods-Example-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-Example-tvOS/Pods-Example-tvOS.debug.xcconfig"; sourceTree = ""; }; + 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Crash+CoreDataClass.swift"; sourceTree = ""; }; + 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Crash+CoreDataProperties.swift"; sourceTree = ""; }; 26A69065BABD7253C1D61320 /* Pods_Backtrace_tvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Backtrace_tvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 282C85E6223FD8E70014FE75 /* BacktraceCrashExceptionApplication.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = BacktraceCrashExceptionApplication.swift; sourceTree = ""; }; 2846E1F7222F1DE50035F98C /* NetworkReachability.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NetworkReachability.swift; sourceTree = ""; }; @@ -926,6 +931,8 @@ F2AB6395224799A200939BC9 /* Resources */ = { isa = PBXGroup; children = ( + 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */, + 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */, F2AB639A22479A3200939BC9 /* Model.xcdatamodeld */, ); path = Resources; @@ -1943,6 +1950,8 @@ 28F95BC822526023003936E0 /* URLSession+Sync.swift in Sources */, 28F95BED225260D3003936E0 /* AttributesProvider.swift in Sources */, 28F95BDB22526088003936E0 /* SignalContext.swift in Sources */, + 2062D9CA2C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */, + 2062D9CB2C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */, 6E896E932727627D0005CDF2 /* BacktraceMetrics.swift in Sources */, 6EB713EE275ED4EF0075D1C1 /* SummedEventsPayload.swift in Sources */, 28F95BD122526068003936E0 /* BacktraceResult.swift in Sources */, @@ -1960,7 +1969,6 @@ 28F95BE2225260A2003936E0 /* BacktraceApi.swift in Sources */, 28F95BDC2252608B003936E0 /* Result.swift in Sources */, F2A81B4F23EF1730007C63E4 /* BacktraceApiProtocol.swift in Sources */, - F29959AD22553B340085B5C3 /* Model.xcdatamodeld in Sources */, 28F95BE3225260A5003936E0 /* HttpMethod.swift in Sources */, 28F95BD22252606B003936E0 /* BacktraceDatabaseSettings.swift in Sources */, F29959AC2255399B0085B5C3 /* BacktraceReport.swift in Sources */, @@ -2023,7 +2031,6 @@ F2AFB59E22274EDA00AAA1D7 /* Dispatching.swift in Sources */, 2846E1F9222F1DE60035F98C /* NetworkReachability.swift in Sources */, F21211A9222348C2000B3692 /* SignalContext.swift in Sources */, - F2AB639D22479A3600939BC9 /* Model.xcdatamodeld in Sources */, F259E4E3222AD9F100F282C7 /* AttributesProvider.swift in Sources */, F266B83321C77B9600D14417 /* BacktraceClient.swift in Sources */, F25F9E9821EE84AF00236E04 /* BacktraceReportStatus.swift in Sources */, @@ -2061,6 +2068,8 @@ F29CD78E21FC6BC700216C59 /* BacktraceFileManager.swift in Sources */, A24A4B8E28B5961A004F5052 /* BacktraceBreadcrumbSettings.swift in Sources */, 6E87F5FC27347A6E00B90B07 /* UniqueEventsPayload.swift in Sources */, + 2062D9C82C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */, + 2062D9C92C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */, 6E87F5F4273325A800B90B07 /* UniqueEvent.swift in Sources */, F2D7122221F10C45002D2A26 /* BacktraceClientConfiguration.swift in Sources */, A24A4B9428B59768004F5052 /* BacktraceBreadcrumbsLogManager.swift in Sources */, @@ -2141,7 +2150,6 @@ 28AC773F220A2A2900FED661 /* MultipartRequest.swift in Sources */, F25F9E9A21EE84EA00236E04 /* BacktraceResult.swift in Sources */, A24A4B8528B59604004F5052 /* BacktraceNotificationObserver.swift in Sources */, - F2AB639C22479A3500939BC9 /* Model.xcdatamodeld in Sources */, F28F165121E2A08F008E4B96 /* HttpMethod.swift in Sources */, F22EB87721BBD36800DEE94E /* BacktraceClient.swift in Sources */, AF5AB04726261A760003698C /* AttachmentBookmarkHandler.swift in Sources */, @@ -2169,6 +2177,8 @@ F28F165821E2A0DA008E4B96 /* URLSession+Sync.swift in Sources */, F26EBF3A23F21AEC00A64218 /* BacktraceNetworkClient.swift in Sources */, A24A4B8928B5960E004F5052 /* BacktraceBreadcrumbs.swift in Sources */, + 2062D9C62C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */, + 2062D9C72C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */, 28614F9E220B6D7C00D35EFB /* DefaultAttributes.swift in Sources */, F2D8BE3A21BD78A9007CFEFA /* BacktraceApi.swift in Sources */, F2AB636D22442B5100939BC9 /* DebuggerChecker.swift in Sources */, diff --git a/Sources/Features/Resources/Crash+CoreDataClass.swift b/Sources/Features/Resources/Crash+CoreDataClass.swift new file mode 100644 index 00000000..a485b0c8 --- /dev/null +++ b/Sources/Features/Resources/Crash+CoreDataClass.swift @@ -0,0 +1,5 @@ +import Foundation +import CoreData + +@objc(Crash) +public class Crash: NSManagedObject {} diff --git a/Sources/Features/Resources/Crash+CoreDataProperties.swift b/Sources/Features/Resources/Crash+CoreDataProperties.swift new file mode 100644 index 00000000..d0155e37 --- /dev/null +++ b/Sources/Features/Resources/Crash+CoreDataProperties.swift @@ -0,0 +1,16 @@ +import Foundation +import CoreData + +extension Crash { + + @nonobjc public class func fetchRequest() -> NSFetchRequest { + return NSFetchRequest(entityName: "Crash") + } + + @NSManaged public var attachmentPaths: [String]? + @NSManaged public var dateAdded: Date? + @NSManaged public var hashProperty: String? + @NSManaged public var reportData: Data? + @NSManaged public var retryCount: Int64 + +} diff --git a/Sources/Features/Resources/Model.xcdatamodeld/Model.xcdatamodel/contents b/Sources/Features/Resources/Model.xcdatamodeld/Model.xcdatamodel/contents index 89483118..e06fa8ed 100644 --- a/Sources/Features/Resources/Model.xcdatamodeld/Model.xcdatamodel/contents +++ b/Sources/Features/Resources/Model.xcdatamodeld/Model.xcdatamodel/contents @@ -1,6 +1,6 @@ - - + + From 3431fa58fa0de55d7230de26ce858cd36f3c85f9 Mon Sep 17 00:00:00 2001 From: Melek Ramki Date: Mon, 15 Jul 2024 15:27:47 -0400 Subject: [PATCH 2/6] Migrate Backtrace.podspec resources attribute to multi-platform resource_bundle --- Backtrace.podspec | 2 +- Podfile.lock | 2 +- Sources/Features/Repository/PersistentRepository.swift | 4 +++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/Backtrace.podspec b/Backtrace.podspec index 0a9e71ad..2692d5a1 100644 --- a/Backtrace.podspec +++ b/Backtrace.podspec @@ -33,6 +33,6 @@ Pod::Spec.new do |s| s.tvos.public_header_files = ["Backtrace-tvOS/**/*.h*"] s.static_framework = true s.dependency "PLCrashReporter", '1.11' - s.resources = 'Sources/**/*.xcdatamodeld' + s.resource_bundle = { 'Backtrace' => 'Sources/**/*.xcdatamodeld' } end diff --git a/Podfile.lock b/Podfile.lock index 32803084..dda718ec 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -22,7 +22,7 @@ EXTERNAL SOURCES: :path: "./Backtrace.podspec" SPEC CHECKSUMS: - Backtrace: c0a4280935bff4ac8d84faedc5f79a7b582b9204 + Backtrace: 24561b65671cccc6c23d1f12149e71ce02addeff Nimble: 5316ef81a170ce87baf72dd961f22f89a602ff84 PLCrashReporter: 7a9dff14a23ba5d2e28c6160f0bb6fada5e71a8d Quick: 749aa754fd1e7d984f2000fe051e18a3a9809179 diff --git a/Sources/Features/Repository/PersistentRepository.swift b/Sources/Features/Repository/PersistentRepository.swift index daefc619..feed11ce 100644 --- a/Sources/Features/Repository/PersistentRepository.swift +++ b/Sources/Features/Repository/PersistentRepository.swift @@ -31,7 +31,9 @@ final class PersistentRepository { .persistentRepositoryInitError(details: "Couldn't find model url for name: \(momdName)") } #else - guard let modelURL = Bundle(for: type(of: self)).url(forResource: momdName, withExtension: "momd") else { + guard let bundleURL = Bundle(for: PersistentRepository.self).url(forResource: "Backtrace", withExtension: "bundle"), + let resourcesBundle = Bundle(url: bundleURL), + let modelURL = resourcesBundle.url(forResource: momdName, withExtension: "momd") else { throw RepositoryError .persistentRepositoryInitError(details: "Couldn't find model url for name: \(momdName)") } From 367e24a38c41f9d182a2d4c6b8719afbdfc1bafe Mon Sep 17 00:00:00 2001 From: Melek Ramki Date: Mon, 15 Jul 2024 15:29:49 -0400 Subject: [PATCH 3/6] Add pod lib lint command to workflows and scripts --- .github/workflows/deploy.yml | 2 ++ .github/workflows/test.yml | 2 ++ scripts/test.sh | 1 + 3 files changed, 5 insertions(+) diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index d662e960..4d2e3b07 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -29,6 +29,8 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies run: sh scripts/install.sh + - name: Run pod lib lint + run: pod lib lint --verbose --allow-warnings --sources='https://cdn.cocoapods.org/' # END COPY PASTE FROM TEST.YML deploy-cocoapods: diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 0e12eced..1baa174c 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -29,3 +29,5 @@ jobs: - uses: actions/checkout@v3 - name: Install dependencies run: sh scripts/install.sh + - name: Run pod lib lint + run: pod lib lint --verbose --allow-warnings --sources='https://cdn.cocoapods.org/' diff --git a/scripts/test.sh b/scripts/test.sh index 47b1608e..7cce5e70 100644 --- a/scripts/test.sh +++ b/scripts/test.sh @@ -7,3 +7,4 @@ set -o xtrace # to trace what gets executed. Useful for debugging fastlane ios tests fastlane mac tests fastlane tvos tests +pod lib lint --verbose --allow-warnings --sources='https://cdn.cocoapods.org/' \ No newline at end of file From ac019432f666e41544193fc3d3b0120ceb4ebd3a Mon Sep 17 00:00:00 2001 From: Melek Ramki Date: Tue, 16 Jul 2024 15:30:46 -0400 Subject: [PATCH 4/6] Add BacktraceResources bundle --- Backtrace.podspec | 2 +- Backtrace.xcodeproj/project.pbxproj | 280 +++++++++++++++++- .../Repository/PersistentRepository.swift | 2 +- 3 files changed, 268 insertions(+), 16 deletions(-) diff --git a/Backtrace.podspec b/Backtrace.podspec index 2692d5a1..6b363e76 100644 --- a/Backtrace.podspec +++ b/Backtrace.podspec @@ -33,6 +33,6 @@ Pod::Spec.new do |s| s.tvos.public_header_files = ["Backtrace-tvOS/**/*.h*"] s.static_framework = true s.dependency "PLCrashReporter", '1.11' - s.resource_bundle = { 'Backtrace' => 'Sources/**/*.xcdatamodeld' } + s.resource_bundle = { 'BacktraceResources' => 'Sources/**/*.xcdatamodeld' } end diff --git a/Backtrace.xcodeproj/project.pbxproj b/Backtrace.xcodeproj/project.pbxproj index ffbcc530..097a1e49 100644 --- a/Backtrace.xcodeproj/project.pbxproj +++ b/Backtrace.xcodeproj/project.pbxproj @@ -10,6 +10,10 @@ 0B6B4CFD25CD8331002DA15C /* BacktraceOomWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */; }; 0B6B4CFE25CD8331002DA15C /* BacktraceOomWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */; }; 0B6B4CFF25CD8331002DA15C /* BacktraceOomWatcher.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */; }; + 2046B45B2C46FA1100A927DB /* Model.xcdatamodeld in Resources */ = {isa = PBXBuildFile; fileRef = F2AB639A22479A3200939BC9 /* Model.xcdatamodeld */; }; + 2046B45C2C46FA5600A927DB /* BacktraceResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 2046B4552C46F97800A927DB /* BacktraceResources.bundle */; }; + 2046B45F2C46FCE500A927DB /* BacktraceResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 2046B4552C46F97800A927DB /* BacktraceResources.bundle */; }; + 2046B4622C46FCF400A927DB /* BacktraceResources.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 2046B4552C46F97800A927DB /* BacktraceResources.bundle */; }; 2062D9C62C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */; }; 2062D9C72C457B4500E4CE3C /* Crash+CoreDataProperties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */; }; 2062D9C82C457B4500E4CE3C /* Crash+CoreDataClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */; }; @@ -314,6 +318,27 @@ /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ + 2046B4592C46F9CE00A927DB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F2C2FA4521BBD23B00934744 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2046B4542C46F97800A927DB; + remoteInfo = BacktraceResources; + }; + 2046B45D2C46FCDB00A927DB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F2C2FA4521BBD23B00934744 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2046B4542C46F97800A927DB; + remoteInfo = BacktraceResources; + }; + 2046B4602C46FCED00A927DB /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = F2C2FA4521BBD23B00934744 /* Project object */; + proxyType = 1; + remoteGlobalIDString = 2046B4542C46F97800A927DB; + remoteInfo = BacktraceResources; + }; 28F95BBA22525DCC003936E0 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; containerPortal = F2C2FA4521BBD23B00934744 /* Project object */; @@ -385,6 +410,7 @@ 0B6B4CFC25CD8331002DA15C /* BacktraceOomWatcher.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BacktraceOomWatcher.swift; sourceTree = ""; }; 1B23C39D7D0C11ABC494BDF4 /* Pods_Example_macOS_ObjC.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Example_macOS_ObjC.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 1F36490C977B28FFED3FA6BB /* Pods-Example-tvOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Example-tvOS.debug.xcconfig"; path = "Target Support Files/Pods-Example-tvOS/Pods-Example-tvOS.debug.xcconfig"; sourceTree = ""; }; + 2046B4552C46F97800A927DB /* BacktraceResources.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BacktraceResources.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 2062D9C42C457B4500E4CE3C /* Crash+CoreDataClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Crash+CoreDataClass.swift"; sourceTree = ""; }; 2062D9C52C457B4500E4CE3C /* Crash+CoreDataProperties.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Crash+CoreDataProperties.swift"; sourceTree = ""; }; 26A69065BABD7253C1D61320 /* Pods_Backtrace_tvOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_Backtrace_tvOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; @@ -563,6 +589,13 @@ /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ + 2046B4522C46F97800A927DB /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 28F95BAD22525DCC003936E0 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; @@ -1024,6 +1057,7 @@ 28F95BB022525DCC003936E0 /* Backtrace.framework */, 28F95BB822525DCC003936E0 /* Backtrace-tvOSTests.xctest */, F2A11BF722553C2800354640 /* Example-tvOS.app */, + 2046B4552C46F97800A927DB /* BacktraceResources.bundle */, ); name = Products; sourceTree = ""; @@ -1157,6 +1191,23 @@ /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ + 2046B4542C46F97800A927DB /* BacktraceResources */ = { + isa = PBXNativeTarget; + buildConfigurationList = 2046B4582C46F97800A927DB /* Build configuration list for PBXNativeTarget "BacktraceResources" */; + buildPhases = ( + 2046B4512C46F97800A927DB /* Sources */, + 2046B4522C46F97800A927DB /* Frameworks */, + 2046B4532C46F97800A927DB /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = BacktraceResources; + productName = BacktraceResources; + productReference = 2046B4552C46F97800A927DB /* BacktraceResources.bundle */; + productType = "com.apple.product-type.bundle"; + }; 28F95BAF22525DCC003936E0 /* Backtrace-tvOS */ = { isa = PBXNativeTarget; buildConfigurationList = 28F95BC122525DCC003936E0 /* Build configuration list for PBXNativeTarget "Backtrace-tvOS" */; @@ -1171,6 +1222,7 @@ buildRules = ( ); dependencies = ( + 2046B4612C46FCED00A927DB /* PBXTargetDependency */, ); name = "Backtrace-tvOS"; productName = "Backtrace-tvOS"; @@ -1211,6 +1263,7 @@ buildRules = ( ); dependencies = ( + 2046B45E2C46FCDB00A927DB /* PBXTargetDependency */, ); name = "Backtrace-macOS"; productName = "Backtrace-macOS"; @@ -1271,6 +1324,7 @@ buildRules = ( ); dependencies = ( + 2046B45A2C46F9CE00A927DB /* PBXTargetDependency */, ); name = "Backtrace-iOS"; productName = "Backtrace-iOS"; @@ -1366,6 +1420,9 @@ LastSwiftUpdateCheck = 1020; LastUpgradeCheck = 1010; TargetAttributes = { + 2046B4542C46F97800A927DB = { + CreatedOnToolsVersion = 15.4; + }; 28F95BAF22525DCC003936E0 = { CreatedOnToolsVersion = 10.1; }; @@ -1424,15 +1481,25 @@ F2D8BE1E21BC5F97007CFEFA /* Example-iOS-ObjC */, F2D8BE4121BDA7CF007CFEFA /* Example-macOS-ObjC */, F2A11BF622553C2800354640 /* Example-tvOS */, + 2046B4542C46F97800A927DB /* BacktraceResources */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ + 2046B4532C46F97800A927DB /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 2046B45B2C46FA1100A927DB /* Model.xcdatamodeld in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; 28F95BAE22525DCC003936E0 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 2046B4622C46FCF400A927DB /* BacktraceResources.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1448,6 +1515,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 2046B45F2C46FCE500A927DB /* BacktraceResources.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1473,6 +1541,7 @@ isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( + 2046B45C2C46FA5600A927DB /* BacktraceResources.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -1915,6 +1984,13 @@ /* End PBXShellScriptBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ + 2046B4512C46F97800A927DB /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; 28F95BAC22525DCC003936E0 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; @@ -2262,6 +2338,21 @@ /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ + 2046B45A2C46F9CE00A927DB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2046B4542C46F97800A927DB /* BacktraceResources */; + targetProxy = 2046B4592C46F9CE00A927DB /* PBXContainerItemProxy */; + }; + 2046B45E2C46FCDB00A927DB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2046B4542C46F97800A927DB /* BacktraceResources */; + targetProxy = 2046B45D2C46FCDB00A927DB /* PBXContainerItemProxy */; + }; + 2046B4612C46FCED00A927DB /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 2046B4542C46F97800A927DB /* BacktraceResources */; + targetProxy = 2046B4602C46FCED00A927DB /* PBXContainerItemProxy */; + }; 28F95BBB22525DCC003936E0 /* PBXTargetDependency */ = { isa = PBXTargetDependency; target = 28F95BAF22525DCC003936E0 /* Backtrace-tvOS */; @@ -2331,6 +2422,158 @@ /* End PBXVariantGroup section */ /* Begin XCBuildConfiguration section */ + 2046B4562C46F97800A927DB /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES; + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEVELOPMENT_TEAM = QURK42X89U; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INFOPLIST_KEY_NSPrincipalClass = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; + "IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*]" = 13.1; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MACOSX_DEPLOYMENT_TARGET = 12.0; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; + ONLY_ACTIVE_ARCH = YES; + PRODUCT_BUNDLE_IDENTIFIER = Backtrace.BacktraceResources; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "xrsimulator xros watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos"; + SUPPORTS_MACCATALYST = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + WRAPPER_EXTENSION = bundle; + }; + name = Debug; + }; + 2046B4572C46F97800A927DB /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALLOW_TARGET_PLATFORM_SPECIALIZATION = YES; + ALWAYS_SEARCH_USER_PATHS = NO; + ASSETCATALOG_COMPILER_GENERATE_SWIFT_ASSET_SYMBOL_EXTENSIONS = YES; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++20"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = 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_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + CODE_SIGN_STYLE = Automatic; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEVELOPMENT_TEAM = QURK42X89U; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_USER_SCRIPT_SANDBOXING = YES; + GCC_C_LANGUAGE_STANDARD = gnu17; + 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; + GENERATE_INFOPLIST_FILE = YES; + INFOPLIST_KEY_NSHumanReadableCopyright = ""; + INFOPLIST_KEY_NSPrincipalClass = ""; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Bundles"; + "IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*]" = 13.1; + LOCALIZATION_PREFERS_STRING_CATALOGS = YES; + MACOSX_DEPLOYMENT_TARGET = 12.0; + MARKETING_VERSION = 1.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_BUNDLE_IDENTIFIER = Backtrace.BacktraceResources; + PRODUCT_NAME = "$(TARGET_NAME)"; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SUPPORTED_PLATFORMS = "xrsimulator xros watchsimulator watchos macosx iphonesimulator iphoneos driverkit appletvsimulator appletvos"; + SUPPORTS_MACCATALYST = NO; + SWIFT_EMIT_LOC_STRINGS = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + WRAPPER_EXTENSION = bundle; + }; + name = Release; + }; 28F95BC222525DCC003936E0 /* Debug */ = { isa = XCBuildConfiguration; baseConfigurationReference = 33EA597CC049EB0DFA70324F /* Pods-Backtrace-tvOS.debug.xcconfig */; @@ -2723,7 +2966,7 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -2806,7 +3049,7 @@ SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -2887,7 +3130,7 @@ SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -2959,7 +3202,7 @@ SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; }; @@ -3232,7 +3475,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; @@ -3318,7 +3561,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; @@ -3403,7 +3646,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -3478,7 +3721,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VALIDATE_PRODUCT = YES; }; name = Release; @@ -3561,7 +3804,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -3636,7 +3879,7 @@ SWIFT_OPTIMIZATION_LEVEL = "-O"; SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VALIDATE_PRODUCT = YES; }; name = Release; @@ -3716,7 +3959,7 @@ STRIP_SWIFT_SYMBOLS = NO; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -3788,7 +4031,7 @@ STRIP_SWIFT_SYMBOLS = NO; SWIFT_VERSION = 4.2; TARGETED_DEVICE_FAMILY = "1,2"; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; VALIDATE_PRODUCT = YES; }; name = Release; @@ -3867,7 +4110,7 @@ SDKROOT = macosx; STRIP_STYLE = debugging; STRIP_SWIFT_SYMBOLS = NO; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Debug; }; @@ -3938,13 +4181,22 @@ SDKROOT = macosx; STRIP_STYLE = debugging; STRIP_SWIFT_SYMBOLS = NO; - TVOS_DEPLOYMENT_TARGET = 11.0; + TVOS_DEPLOYMENT_TARGET = 12.0; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ + 2046B4582C46F97800A927DB /* Build configuration list for PBXNativeTarget "BacktraceResources" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 2046B4562C46F97800A927DB /* Debug */, + 2046B4572C46F97800A927DB /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; 28F95BC122525DCC003936E0 /* Build configuration list for PBXNativeTarget "Backtrace-tvOS" */ = { isa = XCConfigurationList; buildConfigurations = ( diff --git a/Sources/Features/Repository/PersistentRepository.swift b/Sources/Features/Repository/PersistentRepository.swift index feed11ce..a92ce4a8 100644 --- a/Sources/Features/Repository/PersistentRepository.swift +++ b/Sources/Features/Repository/PersistentRepository.swift @@ -31,7 +31,7 @@ final class PersistentRepository { .persistentRepositoryInitError(details: "Couldn't find model url for name: \(momdName)") } #else - guard let bundleURL = Bundle(for: PersistentRepository.self).url(forResource: "Backtrace", withExtension: "bundle"), + guard let bundleURL = Bundle(for: type(of: self)).url(forResource: "BacktraceResources", withExtension: "bundle"), let resourcesBundle = Bundle(url: bundleURL), let modelURL = resourcesBundle.url(forResource: momdName, withExtension: "momd") else { throw RepositoryError From 66179f943001c5e65f505a6642105358808db691 Mon Sep 17 00:00:00 2001 From: Melek Ramki Date: Tue, 16 Jul 2024 15:31:48 -0400 Subject: [PATCH 5/6] Specify Podfile project .xcworkspace --- Podfile | 1 + Podfile.lock | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Podfile b/Podfile index 718113a1..9d0fe47e 100644 --- a/Podfile +++ b/Podfile @@ -1,6 +1,7 @@ source 'https://cdn.cocoapods.org/' # Library +project 'Backtrace.xcworkspace' # Definitions def shared_pods diff --git a/Podfile.lock b/Podfile.lock index dda718ec..5f0830ec 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -22,11 +22,11 @@ EXTERNAL SOURCES: :path: "./Backtrace.podspec" SPEC CHECKSUMS: - Backtrace: 24561b65671cccc6c23d1f12149e71ce02addeff + Backtrace: a90dcc0f33cb29155c5b15209fbb5be30137ad29 Nimble: 5316ef81a170ce87baf72dd961f22f89a602ff84 PLCrashReporter: 7a9dff14a23ba5d2e28c6160f0bb6fada5e71a8d Quick: 749aa754fd1e7d984f2000fe051e18a3a9809179 -PODFILE CHECKSUM: e47f2680ac506c05a737c701413cc45490f16077 +PODFILE CHECKSUM: 9879217fb9b028733c19f11520859f8869f67aba COCOAPODS: 1.15.2 From 4198a7f8527ddf6be83bfe29a9eee500292cd034 Mon Sep 17 00:00:00 2001 From: Melek Ramki Date: Tue, 16 Jul 2024 15:36:28 -0400 Subject: [PATCH 6/6] Update project.pbxproj Remove CODE_SIGN_IDENTITY --- Backtrace.xcodeproj/project.pbxproj | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Backtrace.xcodeproj/project.pbxproj b/Backtrace.xcodeproj/project.pbxproj index 097a1e49..67105c8d 100644 --- a/Backtrace.xcodeproj/project.pbxproj +++ b/Backtrace.xcodeproj/project.pbxproj @@ -2456,12 +2456,13 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=driverkit*]" = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1; DEBUG_INFORMATION_FORMAT = dwarf; - DEVELOPMENT_TEAM = QURK42X89U; + DEVELOPMENT_TEAM = ""; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES; @@ -2536,11 +2537,12 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=driverkit*]" = "-"; CODE_SIGN_STYLE = Automatic; COMBINE_HIDPI_IMAGES = YES; COPY_PHASE_STRIP = NO; CURRENT_PROJECT_VERSION = 1; - DEVELOPMENT_TEAM = QURK42X89U; + DEVELOPMENT_TEAM = ""; ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_USER_SCRIPT_SANDBOXING = YES;