Skip to content

Commit

Permalink
Merge pull request #78 from opendocument-app/development
Browse files Browse the repository at this point in the history
Cleanup
  • Loading branch information
TomTasche authored Aug 21, 2023
2 parents 3cac878 + bb8eba6 commit bf09af2
Show file tree
Hide file tree
Showing 8 changed files with 290 additions and 174 deletions.
196 changes: 153 additions & 43 deletions OpenDocumentReader.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

14 changes: 7 additions & 7 deletions OpenDocumentReader/CoreWrapper.mm
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,13 @@
#include <optional>
#include <string>
#include <optional>
#include <odr/document.h>
#include <odr/document_cursor.h>
#include <odr/document_element.h>
#include <odr/file.h>
#include <odr/html.h>
#include <odr/open_document_reader.h>
#include <odr/exceptions.h>
#include <odr/document.hpp>
#include <odr/document_cursor.hpp>
#include <odr/document_element.hpp>
#include <odr/file.hpp>
#include <odr/html.hpp>
#include <odr/open_document_reader.hpp>
#include <odr/exceptions.hpp>

@implementation CoreWrapper {
std::optional<odr::Html> html;
Expand Down
9 changes: 1 addition & 8 deletions OpenDocumentReader/Document.swift
Original file line number Diff line number Diff line change
@@ -1,13 +1,6 @@
/*
See LICENSE folder for this sample’s licensing information.

Abstract:
A document that manages UTF8 text files.
*/

import UIKit
import WebKit
import Firebase
import FirebaseCrashlytics

protocol DocumentDelegate: class {
func documentUpdateContent(_ doc: Document)
Expand Down
3 changes: 2 additions & 1 deletion OpenDocumentReader/DocumentBrowserViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@
*/

import UIKit
import Firebase
import FirebaseCrashlytics
import FirebaseAnalytics

class DocumentBrowserViewController: UIDocumentBrowserViewController, UIDocumentBrowserViewControllerDelegate {

Expand Down
3 changes: 2 additions & 1 deletion OpenDocumentReader/DocumentViewController.swift
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ import UIKit
import WebKit
import ScrollableSegmentedControl
import UIKit.UIPrinter
import Firebase
import FirebaseAnalytics
import FirebaseCrashlytics
import GoogleMobileAds
import AppTrackingTransparency
import AdSupport
Expand Down
9 changes: 9 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@ target 'OpenDocumentReader' do
inherit! :search_paths
end
end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
config.build_settings['ENABLE_BITCODE'] = 'NO'
end
end
end

228 changes: 115 additions & 113 deletions Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,126 +1,128 @@
PODS:
- Firebase/Analytics (9.4.0):
- Firebase/Analytics (10.13.0):
- Firebase/Core
- Firebase/Core (9.4.0):
- Firebase/Core (10.13.0):
- Firebase/CoreOnly
- FirebaseAnalytics (~> 9.4.0)
- Firebase/CoreOnly (9.4.0):
- FirebaseCore (= 9.4.0)
- Firebase/Crashlytics (9.4.0):
- FirebaseAnalytics (~> 10.13.0)
- Firebase/CoreOnly (10.13.0):
- FirebaseCore (= 10.13.0)
- Firebase/Crashlytics (10.13.0):
- Firebase/CoreOnly
- FirebaseCrashlytics (~> 9.4.0)
- Firebase/Storage (9.4.0):
- FirebaseCrashlytics (~> 10.13.0)
- Firebase/Storage (10.13.0):
- Firebase/CoreOnly
- FirebaseStorage (~> 9.4.0)
- FirebaseAnalytics (9.4.0):
- FirebaseAnalytics/AdIdSupport (= 9.4.0)
- FirebaseCore (~> 9.0)
- FirebaseInstallations (~> 9.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
- GoogleUtilities/MethodSwizzler (~> 7.7)
- GoogleUtilities/Network (~> 7.7)
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- FirebaseStorage (~> 10.13.0)
- FirebaseAnalytics (10.13.0):
- FirebaseAnalytics/AdIdSupport (= 10.13.0)
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseAnalytics/AdIdSupport (9.4.0):
- FirebaseCore (~> 9.0)
- FirebaseInstallations (~> 9.0)
- GoogleAppMeasurement (= 9.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
- GoogleUtilities/MethodSwizzler (~> 7.7)
- GoogleUtilities/Network (~> 7.7)
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- FirebaseAnalytics/AdIdSupport (10.13.0):
- FirebaseCore (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleAppMeasurement (= 10.13.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseAppCheckInterop (9.4.0)
- FirebaseAuthInterop (9.4.0)
- FirebaseCore (9.4.0):
- FirebaseCoreDiagnostics (~> 9.0)
- FirebaseCoreInternal (~> 9.0)
- GoogleUtilities/Environment (~> 7.7)
- GoogleUtilities/Logger (~> 7.7)
- FirebaseCoreDiagnostics (9.4.0):
- GoogleDataTransport (< 10.0.0, >= 9.1.4)
- GoogleUtilities/Environment (~> 7.7)
- GoogleUtilities/Logger (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- FirebaseCoreExtension (9.4.0):
- FirebaseCore (~> 9.0)
- FirebaseCoreInternal (9.4.0):
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- FirebaseCrashlytics (9.4.0):
- FirebaseCore (~> 9.0)
- FirebaseInstallations (~> 9.0)
- GoogleDataTransport (< 10.0.0, >= 9.1.4)
- GoogleUtilities/Environment (~> 7.7)
- FirebaseAppCheckInterop (10.13.0)
- FirebaseAuthInterop (10.13.0)
- FirebaseCore (10.13.0):
- FirebaseCoreInternal (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/Logger (~> 7.8)
- FirebaseCoreExtension (10.13.0):
- FirebaseCore (~> 10.0)
- FirebaseCoreInternal (10.13.0):
- "GoogleUtilities/NSData+zlib (~> 7.8)"
- FirebaseCrashlytics (10.13.0):
- FirebaseCore (~> 10.5)
- FirebaseInstallations (~> 10.0)
- FirebaseSessions (~> 10.5)
- GoogleDataTransport (~> 9.2)
- GoogleUtilities/Environment (~> 7.8)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (~> 2.1)
- FirebaseInstallations (9.4.0):
- FirebaseCore (~> 9.0)
- GoogleUtilities/Environment (~> 7.7)
- GoogleUtilities/UserDefaults (~> 7.7)
- FirebaseInstallations (10.13.0):
- FirebaseCore (~> 10.0)
- GoogleUtilities/Environment (~> 7.8)
- GoogleUtilities/UserDefaults (~> 7.8)
- PromisesObjC (~> 2.1)
- FirebaseStorage (9.4.0):
- FirebaseAppCheckInterop (~> 9.0)
- FirebaseAuthInterop (~> 9.0)
- FirebaseCore (~> 9.0)
- FirebaseCoreExtension (~> 9.0)
- FirebaseStorageInternal (~> 9.0)
- FirebaseStorageInternal (9.4.0):
- FirebaseCore (~> 9.0)
- GTMSessionFetcher/Core (< 3.0, >= 1.7)
- Google-Mobile-Ads-SDK (9.9.0):
- GoogleAppMeasurement (< 10.0, >= 7.0)
- FirebaseSessions (10.13.0):
- FirebaseCore (~> 10.5)
- FirebaseCoreExtension (~> 10.0)
- FirebaseInstallations (~> 10.0)
- GoogleDataTransport (~> 9.2)
- GoogleUtilities/Environment (~> 7.10)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesSwift (~> 2.1)
- FirebaseStorage (10.13.0):
- FirebaseAppCheckInterop (~> 10.0)
- FirebaseAuthInterop (~> 10.0)
- FirebaseCore (~> 10.0)
- FirebaseCoreExtension (~> 10.0)
- GTMSessionFetcher/Core (< 4.0, >= 2.1)
- Google-Mobile-Ads-SDK (10.9.0):
- GoogleAppMeasurement (< 11.0, >= 7.0)
- GoogleUserMessagingPlatform (>= 1.1)
- GoogleAppMeasurement (9.4.0):
- GoogleAppMeasurement/AdIdSupport (= 9.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
- GoogleUtilities/MethodSwizzler (~> 7.7)
- GoogleUtilities/Network (~> 7.7)
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- GoogleAppMeasurement (10.13.0):
- GoogleAppMeasurement/AdIdSupport (= 10.13.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/AdIdSupport (9.4.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 9.4.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
- GoogleUtilities/MethodSwizzler (~> 7.7)
- GoogleUtilities/Network (~> 7.7)
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- GoogleAppMeasurement/AdIdSupport (10.13.0):
- GoogleAppMeasurement/WithoutAdIdSupport (= 10.13.0)
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleAppMeasurement/WithoutAdIdSupport (9.4.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.7)
- GoogleUtilities/MethodSwizzler (~> 7.7)
- GoogleUtilities/Network (~> 7.7)
- "GoogleUtilities/NSData+zlib (~> 7.7)"
- GoogleAppMeasurement/WithoutAdIdSupport (10.13.0):
- GoogleUtilities/AppDelegateSwizzler (~> 7.11)
- GoogleUtilities/MethodSwizzler (~> 7.11)
- GoogleUtilities/Network (~> 7.11)
- "GoogleUtilities/NSData+zlib (~> 7.11)"
- nanopb (< 2.30910.0, >= 2.30908.0)
- GoogleDataTransport (9.2.0):
- GoogleDataTransport (9.2.5):
- GoogleUtilities/Environment (~> 7.7)
- nanopb (< 2.30910.0, >= 2.30908.0)
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUserMessagingPlatform (2.0.0)
- GoogleUtilities/AppDelegateSwizzler (7.7.0):
- GoogleUserMessagingPlatform (2.1.0)
- GoogleUtilities/AppDelegateSwizzler (7.11.5):
- GoogleUtilities/Environment
- GoogleUtilities/Logger
- GoogleUtilities/Network
- GoogleUtilities/Environment (7.7.0):
- GoogleUtilities/Environment (7.11.5):
- PromisesObjC (< 3.0, >= 1.2)
- GoogleUtilities/Logger (7.7.0):
- GoogleUtilities/Logger (7.11.5):
- GoogleUtilities/Environment
- GoogleUtilities/MethodSwizzler (7.7.0):
- GoogleUtilities/MethodSwizzler (7.11.5):
- GoogleUtilities/Logger
- GoogleUtilities/Network (7.7.0):
- GoogleUtilities/Network (7.11.5):
- GoogleUtilities/Logger
- "GoogleUtilities/NSData+zlib"
- GoogleUtilities/Reachability
- "GoogleUtilities/NSData+zlib (7.7.0)"
- GoogleUtilities/Reachability (7.7.0):
- "GoogleUtilities/NSData+zlib (7.11.5)"
- GoogleUtilities/Reachability (7.11.5):
- GoogleUtilities/Logger
- GoogleUtilities/UserDefaults (7.7.0):
- GoogleUtilities/UserDefaults (7.11.5):
- GoogleUtilities/Logger
- GTMSessionFetcher/Core (2.0.0)
- GTMSessionFetcher/Core (3.1.1)
- nanopb (2.30909.0):
- nanopb/decode (= 2.30909.0)
- nanopb/encode (= 2.30909.0)
- nanopb/decode (2.30909.0)
- nanopb/encode (2.30909.0)
- PromisesObjC (2.1.1)
- PromisesObjC (2.3.1)
- PromisesSwift (2.3.1):
- PromisesObjC (= 2.3.1)
- ScrollableSegmentedControl (1.5.0)

DEPENDENCIES:
Expand All @@ -138,13 +140,12 @@ SPEC REPOS:
- FirebaseAppCheckInterop
- FirebaseAuthInterop
- FirebaseCore
- FirebaseCoreDiagnostics
- FirebaseCoreExtension
- FirebaseCoreInternal
- FirebaseCrashlytics
- FirebaseInstallations
- FirebaseSessions
- FirebaseStorage
- FirebaseStorageInternal
- Google-Mobile-Ads-SDK
- GoogleAppMeasurement
- GoogleDataTransport
Expand All @@ -153,31 +154,32 @@ SPEC REPOS:
- GTMSessionFetcher
- nanopb
- PromisesObjC
- PromisesSwift
- ScrollableSegmentedControl

SPEC CHECKSUMS:
Firebase: 7703fc4022824b6d6db1bf7bea58d13b8e17ec46
FirebaseAnalytics: a1a24e72b7ba7f47045a4633f1abb545c07bd29c
FirebaseAppCheckInterop: 63119cdfc94b16c3e9421513c17f597aee2ea225
FirebaseAuthInterop: 826d3d772b554e3675ceaab8c665008277ca9d1c
FirebaseCore: 9a2b10270a854731c4d4d8a97d0aa8380ec3458d
FirebaseCoreDiagnostics: aaa87098082c4d4bdd1a9557b1186d18ca85ce8c
FirebaseCoreExtension: 2cf8c542b54ad3c2d4b746c22e8828b670dcd9b0
FirebaseCoreInternal: a13302b0088fbf5f38b79b6ece49c2af7d3e05d6
FirebaseCrashlytics: 121ea1d37f4906c94c4c9307297af5121b98b789
FirebaseInstallations: 61db1054e688d2bdc4e2b3f744c1b086e913b742
FirebaseStorage: 160ba975dd3452d9c59a3bf5ea9bf70ff96bd3c2
FirebaseStorageInternal: 425c7dc7de44d9b7e07a9f8d6515bab0f1266b87
Google-Mobile-Ads-SDK: 8822993da940ab920bad131b5bffce7eb3f62c6a
GoogleAppMeasurement: 5d69e04287fc2c10cc43724bfa4bf31fc12c3dff
GoogleDataTransport: 1c8145da7117bd68bbbed00cf304edb6a24de00f
GoogleUserMessagingPlatform: ab890ce5f6620f293a21b6bdd82e416a2c73aeca
GoogleUtilities: e0913149f6b0625b553d70dae12b49fc62914fd1
GTMSessionFetcher: 681175626052e03fdde7952f7e9c7a9785719506
Firebase: 343d7539befb614d22b2eae24759f6307b1175e9
FirebaseAnalytics: 9a12e090ead49f8877ed8132ae920e3cbbd2fcd0
FirebaseAppCheckInterop: 5e12dc623d443dedffcde9c6f3ed41510125d8ef
FirebaseAuthInterop: 74875bde5d15636522a8fe98beb561df7a54db58
FirebaseCore: 9948a31ff2c6cf323f9b040068201a95d271b68d
FirebaseCoreExtension: ce60f9db46d83944cf444664d6d587474128eeca
FirebaseCoreInternal: b342e37cd4f5b4454ec34308f073420e7920858e
FirebaseCrashlytics: 4679fbc4768fcb4dd6f5533101841d40256d4475
FirebaseInstallations: b28af1b9f997f1a799efe818c94695a3728c352f
FirebaseSessions: 991fb4c20b3505eef125f7cbfa20a5b5b189c2a4
FirebaseStorage: f2d1a84d78a7226d97bc76d85cf1092cab5f2b7d
Google-Mobile-Ads-SDK: e81e8b009a182dc8dd14951782efdbb30a5e4510
GoogleAppMeasurement: 3ae505b44174bcc0775f5c86cecc5826259fbb1e
GoogleDataTransport: 54dee9d48d14580407f8f5fbf2f496e92437a2f2
GoogleUserMessagingPlatform: dce302b8f1b84d6e945812ee7a15c3f65a102cbf
GoogleUtilities: 13e2c67ede716b8741c7989e26893d151b2b2084
GTMSessionFetcher: e8647203b65cee28c5f73d0f473d096653945e72
nanopb: b552cce312b6c8484180ef47159bc0f65a1f0431
PromisesObjC: ab77feca74fa2823e7af4249b8326368e61014cb
PromisesObjC: c50d2056b5253dadbd6c2bea79b0674bd5a52fa4
PromisesSwift: 28dca69a9c40779916ac2d6985a0192a5cb4a265
ScrollableSegmentedControl: 2e64bbe8968a7fcd8aae5014434481464fcdfe60

PODFILE CHECKSUM: 55a033d715a08541580f2abd7fcc12a2d724614e
PODFILE CHECKSUM: 35cd182dc790891ebc7626066c33a6e947e7167e

COCOAPODS: 1.11.3
COCOAPODS: 1.12.1
2 changes: 1 addition & 1 deletion conanfile.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[requires]
odrcore/2.1.2@
odrcore/3.0.0@

[generators]
xcode
Expand Down

0 comments on commit bf09af2

Please sign in to comment.