Skip to content

Commit

Permalink
Get building on Xcode 16.1
Browse files Browse the repository at this point in the history
  • Loading branch information
dylanhand committed Nov 18, 2024
1 parent ca19a78 commit a9d0112
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 19 deletions.
2 changes: 1 addition & 1 deletion HostingApp/AppDelegate.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import Sentry
//import Sentry
import UIKit
import PahkatClient

Expand Down
2 changes: 1 addition & 1 deletion HostingApp/Models/PahkatWrapper.swift
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import Foundation
import PahkatClient
import Sentry
//import Sentry
import RxSwift

final class PahkatWrapper {
Expand Down
4 changes: 2 additions & 2 deletions Keyboard/Banner Plugins/SpellBanner/SpellBanner.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import Sentry
//import Sentry
import DivvunSpell

typealias SuggestionCompletion = ([String]) -> Void
Expand Down Expand Up @@ -140,7 +140,7 @@ public final class SpellBanner: Banner {
self.speller = speller
print("DivvunSpell loaded!")
} catch let error {
SentrySDK.capture(error: error)
// SentrySDK.capture(error: error)
print("DivvunSpell **not** loaded.")
return
}
Expand Down
2 changes: 2 additions & 0 deletions Keyboard/Models/UserDictionary.swift
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,8 @@ public final class UserDictionary {
case blacklisted
}

typealias Expression = SQLite.Expression

internal struct WordTable {
static let table = Table("user_word")
static let id = Expression<Int64>("id")
Expand Down
2 changes: 1 addition & 1 deletion Keyboard/Utility/IPC.swift
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Foundation
import Sentry
//import Sentry

protocol IPCDelegate: AnyObject {
func didBeginDownloading(id: String)
Expand Down
10 changes: 5 additions & 5 deletions Keyboard/Utility/init.m
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import Sentry;
//@import Sentry;
#import <Foundation/Foundation.h>

// This tire fire of code runs before absolutely anything else, guaranteeing that Sentry can init.
Expand All @@ -9,10 +9,10 @@
NSString* dsn = [[[NSBundle mainBundle] infoDictionary] objectForKey:@"SentryDSN"];

if (dsn != nil) {
[SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
options.dsn = dsn;
options.debug = @YES; // Helpful to see what's going on
}];
// [SentrySDK startWithConfigureOptions:^(SentryOptions *options) {
// options.dsn = dsn;
// options.debug = @YES; // Helpful to see what's going on
// }];

if (error != nil) {
NSLog(@"%@", error);
Expand Down
2 changes: 0 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,13 @@ platform :ios, '12.4'
use_frameworks!

target 'BaseKeyboard' do
pod 'Sentry', '=7.3.0'
pod 'DivvunSpell', :http => "https://github.com/divvun/divvunspell-sdk-swift/releases/download/v1.0.0-beta.4/cargo-pod.tgz"
pod 'SwiftLint'
pod 'SQLite.swift', '~> 0.12.0'
pod 'RxSwift', '~> 5.1.1'
end

target 'HostingApp' do
pod 'Sentry', '=7.3.0'
pod 'SwiftLint'
pod 'SQLite.swift', '~> 0.12.0'
pod 'PahkatClient', :http => "https://github.com/divvun/pahkat-client-sdk-swift/releases/download/v0.2.1/cargo-pod.tgz"
Expand Down
8 changes: 1 addition & 7 deletions Podfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,6 @@ PODS:
- DivvunSpell (1.0.0-beta.1)
- PahkatClient (0.2.0)
- RxSwift (5.1.3)
- Sentry (7.3.0):
- Sentry/Core (= 7.3.0)
- Sentry/Core (7.3.0)
- SQLite.swift (0.12.2):
- SQLite.swift/standard (= 0.12.2)
- SQLite.swift/standard (0.12.2)
Expand All @@ -14,14 +11,12 @@ DEPENDENCIES:
- "DivvunSpell (from `{:http=>\"https://github.com/divvun/divvunspell-sdk-swift/releases/download/v1.0.0-beta.4/cargo-pod.tgz\"}`)"
- "PahkatClient (from `{:http=>\"https://github.com/divvun/pahkat-client-sdk-swift/releases/download/v0.2.1/cargo-pod.tgz\"}`)"
- RxSwift (~> 5.1.1)
- Sentry (= 7.3.0)
- SQLite.swift (~> 0.12.0)
- SwiftLint

SPEC REPOS:
trunk:
- RxSwift
- Sentry
- SQLite.swift
- SwiftLint

Expand All @@ -41,10 +36,9 @@ SPEC CHECKSUMS:
DivvunSpell: aacb77a377dbda67ddc76dcc254bc8b78157fc4b
PahkatClient: 8f79a254f8240548772b0ecfc838b36ed15ab2a3
RxSwift: 915abbdfb62214aa89ccd0b194d44fb478019b27
Sentry: 9a4e621430e2dae4477d791f2f7e905720b6efbf
SQLite.swift: d2b4642190917051ce6bd1d49aab565fe794eea3
SwiftLint: c1de071d9d08c8aba837545f6254315bc900e211

PODFILE CHECKSUM: aeb7edabbed03cc517219f461b6288e46bbdfa60
PODFILE CHECKSUM: 48d5ff956c8e00713018bab144fb0d821d82c05b

COCOAPODS: 1.15.2

0 comments on commit a9d0112

Please sign in to comment.