Skip to content

Commit

Permalink
OktaLogger: Update Firebase dependency v.11 (#104)
Browse files Browse the repository at this point in the history
Update Firebase to version 11 in OktaLogger
  • Loading branch information
artemshvydkyi-okta authored Oct 16, 2024
1 parent 4d05c50 commit c698aa0
Show file tree
Hide file tree
Showing 6 changed files with 205 additions and 99 deletions.
6 changes: 3 additions & 3 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ parameters:
executors:
apple-ci-arm-medium:
macos:
xcode: 14.3.1
xcode: 15.2.0
resource_class: macos.m1.medium.gen1

commands:
Expand All @@ -35,10 +35,10 @@ commands:
steps:
- run:
name: OktaSQLiteStorage unit tests"
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaSQLiteStorageTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 14 Pro Max" test
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaSQLiteStorageTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 15 Pro Max" test
- run:
name: OktaLogger unit tests"
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaLoggerTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 14 Pro Max" test
command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaLoggerTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 15 Pro Max" test
# - run:
# name: OktaAnalytics unit tests"
# command: set -o pipefail && xcodebuild -workspace "OktaLogger.xcworkspace" -scheme "OktaAnalyticsTests" -destination "platform=iOS Simulator,OS=latest,name=iPhone 14" test
Expand Down
10 changes: 5 additions & 5 deletions OktaLogger.podspec
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
Pod::Spec.new do |s|
s.name = "OktaLogger"
s.version = "1.3.19"
s.version = "1.3.20"
s.summary = "Logging proxy for standardized logging interface across products"
s.description = "Standard interface for all logging in Okta apps + SDK. Supports file, console, firebase logging destinations."
s.homepage = "https://github.com/okta/okta-logger-swift"
s.license = { :type => 'APACHE2', :file => 'LICENSE' }
s.author = { "Okta Developers" => "[email protected]" }
s.source = { :git => "https://github.com/okta/okta-logger-swift.git", :tag => "OktaLogger-"+s.version.to_s }
s.ios.deployment_target = '11.0'
s.osx.deployment_target = '10.14'
s.watchos.deployment_target = '6.0'
s.ios.deployment_target = '12.0'
s.osx.deployment_target = '10.15'
s.watchos.deployment_target = '7.0'
s.swift_version = '5.0'
s.default_subspec = "Complete"

Expand All @@ -32,7 +32,7 @@ Pod::Spec.new do |s|
crashlytics.source_files = [
'Sources/OktaLogger/FirebaseCrashlyticsLogger/OktaLoggerFirebaseCrashlyticsLogger.swift'
]
crashlytics.dependency 'Firebase/Crashlytics', '~> 9'
crashlytics.dependency 'Firebase/Crashlytics', '~> 11'
crashlytics.dependency 'OktaLogger/Core'
end

Expand Down
90 changes: 90 additions & 0 deletions OktaLogger.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -588,6 +588,7 @@
D5C824D22469DBF1005CF747 /* Resources */,
80DDE78E24B962C900D0E2F3 /* Embed Frameworks */,
7B0C4EE7276D1DAC0033BDC6 /* SwiftLint */,
74D61838C0B5CF075047C1B4 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -607,6 +608,7 @@
D5C824DA2469DBF1005CF747 /* Frameworks */,
D5C824DB2469DBF1005CF747 /* Resources */,
8A04A3992610D1FAF3446F06 /* [CP] Embed Pods Frameworks */,
3DC8220AD478472683310979 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -628,6 +630,7 @@
E251E7F9248AD1B400EF466D /* Resources */,
DEC5276724DBFE6C0022B698 /* ShellScript */,
B6A235592A5E2CBBF90E51EE /* [CP] Embed Pods Frameworks */,
0B381B23C8AFF19DC939F232 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -648,6 +651,7 @@
F3575F282A0AD1840008A965 /* Sources */,
F3575F292A0AD1840008A965 /* Frameworks */,
F3575F2A2A0AD1840008A965 /* Resources */,
B0C0072AF7A19504676FD526 /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand All @@ -666,6 +670,7 @@
F3D5EA122A283E5E00530838 /* Sources */,
F3D5EA132A283E5E00530838 /* Frameworks */,
F3D5EA142A283E5E00530838 /* Resources */,
E838532ECED9A96DCCFBAEFD /* [CP] Copy Pods Resources */,
);
buildRules = (
);
Expand Down Expand Up @@ -794,6 +799,23 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
0B381B23C8AFF19DC939F232 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerDemoApp/Pods-OktaLoggerDemoApp-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerDemoApp/Pods-OktaLoggerDemoApp-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerDemoApp/Pods-OktaLoggerDemoApp-resources.sh\"\n";
showEnvVarsInLog = 0;
};
0F2298F77B72900393068192 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -860,6 +882,23 @@
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;
};
3DC8220AD478472683310979 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerTests/Pods-OktaLoggerTests-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerTests/Pods-OktaLoggerTests-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerTests/Pods-OktaLoggerTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
58278EF008B42FA45AF4BBBA /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand All @@ -882,6 +921,23 @@
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;
};
74D61838C0B5CF075047C1B4 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaLogger/Pods-OktaLogger-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaLogger/Pods-OktaLogger-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OktaLogger/Pods-OktaLogger-resources.sh\"\n";
showEnvVarsInLog = 0;
};
7906DFF612F22A1930DEE58D /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -939,6 +995,23 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OktaLoggerTests/Pods-OktaLoggerTests-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
B0C0072AF7A19504676FD526 /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaAnalytics/Pods-OktaAnalytics-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaAnalytics/Pods-OktaAnalytics-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OktaAnalytics/Pods-OktaAnalytics-resources.sh\"\n";
showEnvVarsInLog = 0;
};
B6A235592A5E2CBBF90E51EE /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down Expand Up @@ -996,6 +1069,23 @@
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/FirebaseCrashlytics/run\"\n";
};
E838532ECED9A96DCCFBAEFD /* [CP] Copy Pods Resources */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaAnalyticsTests/Pods-OktaAnalyticsTests-resources-${CONFIGURATION}-input-files.xcfilelist",
);
name = "[CP] Copy Pods Resources";
outputFileListPaths = (
"${PODS_ROOT}/Target Support Files/Pods-OktaAnalyticsTests/Pods-OktaAnalyticsTests-resources-${CONFIGURATION}-output-files.xcfilelist",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-OktaAnalyticsTests/Pods-OktaAnalyticsTests-resources.sh\"\n";
showEnvVarsInLog = 0;
};
F26A1DAF665C501039D40073 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
Expand Down
5 changes: 3 additions & 2 deletions Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@ platform :ios, '13.0'
use_modular_headers!

target 'OktaLogger' do
pod 'Firebase/Crashlytics', '~>9.4.0'
pod 'Firebase/AnalyticsWithoutAdIdSupport'
pod 'Firebase/Crashlytics', '~>11.3.0'
pod 'CocoaLumberjack/Swift', '~>3.6.0'
pod 'Instabug', '13.3.0'
pod 'SwiftLint', '0.51'
Expand All @@ -25,7 +26,7 @@ end
target 'OktaLoggerDemoApp' do
pod 'OktaLogger', :path => '.'
pod 'OktaAnalytics', :path => '.'
pod 'Firebase/Crashlytics', '~>9.4.0'
pod 'Firebase/Crashlytics', '~>11.3.0'

target 'OktaLoggerTests' do
inherit! :search_paths
Expand Down
Loading

0 comments on commit c698aa0

Please sign in to comment.