diff --git a/.travis.yml b/.travis.yml index e678fb9..fa8504d 100755 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,5 @@ language: swift -osx_image: xcode11.7 +osx_image: xcode12.2 os: osx branches: only: @@ -15,7 +15,7 @@ env: - IOS_FRAMEWORK_SCHEME="Insights" matrix: - - ios_version='13.7' ios_device='iPhone 11' scheme="$IOS_FRAMEWORK_SCHEME" platform='iOS Simulator' + - ios_version='14.2' ios_device='iPhone 11' scheme="$IOS_FRAMEWORK_SCHEME" platform='iOS Simulator' before_install: # Boot the emulator by ID - | @@ -24,13 +24,12 @@ before_install: # List all emulator available - xcrun simctl list # Update the brew and build dependencies tools - - brew outdated carthage || brew upgrade carthage - - carthage bootstrap --verbose --no-use-binaries --platform iOS --cache-builds + - brew update && brew upgrade carthage + - carthage version + - carthage update --platform ios --use-xcframeworks --no-use-binaries --cache-builds - gem i slather # Force to update the Swiftlint to the last stable version - brew outdated swiftlint || brew upgrade swiftlint - # Print the booted emulator - - xcrun simctl list | grep "(Booted)" # Print the swiftlint version - swiftlint version script: | diff --git a/Insights.podspec b/Insights.podspec index c54b385..211d53d 100755 --- a/Insights.podspec +++ b/Insights.podspec @@ -1,12 +1,12 @@ Pod::Spec.new do |spec| spec.name = 'Insights' - spec.version = '1.0.0-beta04' + spec.version = '1.0.0-beta05' spec.summary = 'Insights SDK for iOS Hyperwallet UI SDK to capture the events' spec.homepage = 'https://github.com/hyperwallet/hyperwallet-ios-insight' spec.license = { :type => 'MIT', :file => 'LICENSE' } spec.author = { 'Hyperwallet Systems Inc' => 'devsupport@hyperwallet.com' } spec.platform = :ios - spec.ios.deployment_target = '10.0' + spec.ios.deployment_target = '13.0' spec.source = { :git => 'https://github.com/hyperwallet/hyperwallet-ios-insight.git', :tag => "#{spec.version}"} spec.source_files = 'Sources/**/*.{swift,h}' spec.requires_arc = true diff --git a/Insights.xcodeproj/project.pbxproj b/Insights.xcodeproj/project.pbxproj index e79bc22..18e60b3 100644 --- a/Insights.xcodeproj/project.pbxproj +++ b/Insights.xcodeproj/project.pbxproj @@ -18,7 +18,6 @@ 4A6FDF7B2370781700275A41 /* InsightsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A6FDF7A2370781700275A41 /* InsightsTests.swift */; }; 4A6FDF802370B31200275A41 /* EventPayload.json in Resources */ = {isa = PBXBuildFile; fileRef = 4A6FDF7F2370B31200275A41 /* EventPayload.json */; }; 4A6FDF8623715CD300275A41 /* Date.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A6FDF8523715CD300275A41 /* Date.swift */; }; - 4A7317CD23744B4A00F5D22F /* Hippolyte.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4A7317CC23744B4A00F5D22F /* Hippolyte.framework */; }; 4A7317CF2374518100F5D22F /* InsightsTestHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A7317CE2374518100F5D22F /* InsightsTestHelper.swift */; }; 4A88FF1B236898FD0025D985 /* Events.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4A88FF1A236898FD0025D985 /* Events.swift */; }; 4AD2EFC32372D6CE0080030D /* Insights.xcdatamodeld in Sources */ = {isa = PBXBuildFile; fileRef = 2EB32DA623513F84009F120E /* Insights.xcdatamodeld */; }; @@ -38,6 +37,7 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ + 11B7FF92282B47EF005522A7 /* Hippolyte.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = Hippolyte.xcframework; path = Carthage/Build/Hippolyte.xcframework; sourceTree = ""; }; 2EB32D6A23513979009F120E /* Insights.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Insights.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 2EB32D6D23513979009F120E /* Insights.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = Insights.h; sourceTree = ""; }; 2EB32D6E23513979009F120E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; @@ -52,7 +52,6 @@ 4A6FDF7A2370781700275A41 /* InsightsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InsightsTests.swift; sourceTree = ""; }; 4A6FDF7F2370B31200275A41 /* EventPayload.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = EventPayload.json; sourceTree = ""; }; 4A6FDF8523715CD300275A41 /* Date.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Date.swift; sourceTree = ""; }; - 4A7317CC23744B4A00F5D22F /* Hippolyte.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Hippolyte.framework; path = Carthage/Build/iOS/Hippolyte.framework; sourceTree = ""; }; 4A7317CE2374518100F5D22F /* InsightsTestHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InsightsTestHelper.swift; sourceTree = ""; }; 4A88FF1A236898FD0025D985 /* Events.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Events.swift; sourceTree = ""; }; 4ADE281223671B35000F0BEB /* Insights.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Insights.swift; sourceTree = ""; }; @@ -72,7 +71,6 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 4A7317CD23744B4A00F5D22F /* Hippolyte.framework in Frameworks */, 2EB32DEA23579E47009F120E /* Insights.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -140,7 +138,7 @@ 2EB32DE923579E47009F120E /* Frameworks */ = { isa = PBXGroup; children = ( - 4A7317CC23744B4A00F5D22F /* Hippolyte.framework */, + 11B7FF92282B47EF005522A7 /* Hippolyte.xcframework */, ); name = Frameworks; sourceTree = ""; @@ -228,7 +226,7 @@ isa = PBXProject; attributes = { LastSwiftUpdateCheck = 1030; - LastUpgradeCheck = 1030; + LastUpgradeCheck = 1330; ORGANIZATIONNAME = Hyperwallet; TargetAttributes = { 2EB32D6923513979009F120E = { @@ -363,6 +361,7 @@ 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; @@ -389,7 +388,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; @@ -427,6 +426,7 @@ 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; @@ -447,7 +447,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; MTL_ENABLE_DEBUG_INFO = NO; MTL_FAST_MATH = YES; SDKROOT = iphoneos; @@ -462,7 +462,6 @@ 2EB32D7F23513979009F120E /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Manual; @@ -473,7 +472,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -494,7 +493,6 @@ 2EB32D8023513979009F120E /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Manual; @@ -505,7 +503,7 @@ DYLIB_INSTALL_NAME_BASE = "@rpath"; INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -532,7 +530,7 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -556,7 +554,7 @@ "$(PROJECT_DIR)/Carthage/Build/iOS", ); INFOPLIST_FILE = Tests/Info.plist; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 13.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/Insights.xcodeproj/xcshareddata/xcschemes/Insights.xcscheme b/Insights.xcodeproj/xcshareddata/xcschemes/Insights.xcscheme index 8f7199e..a9cec31 100755 --- a/Insights.xcodeproj/xcshareddata/xcschemes/Insights.xcscheme +++ b/Insights.xcodeproj/xcshareddata/xcschemes/Insights.xcscheme @@ -1,6 +1,6 @@