Skip to content

Commit

Permalink
Merge pull request #15 from hyperwallet/feature/DTONBWTWO-703-Release…
Browse files Browse the repository at this point in the history
…-1.0.0-beta05

iOS upgrade to version 13
  • Loading branch information
fmattos-hw authored May 13, 2022
2 parents 847e13f + 59a742c commit fd67a51
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 22 deletions.
11 changes: 5 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: swift
osx_image: xcode11.7
osx_image: xcode12.2
os: osx
branches:
only:
Expand All @@ -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
- |
Expand All @@ -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: |
Expand Down
4 changes: 2 additions & 2 deletions Insights.podspec
Original file line number Diff line number Diff line change
@@ -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' => '[email protected]' }
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
Expand Down
24 changes: 11 additions & 13 deletions Insights.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand All @@ -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 = "<group>"; };
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 = "<group>"; };
2EB32D6E23513979009F120E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
Expand All @@ -52,7 +52,6 @@
4A6FDF7A2370781700275A41 /* InsightsTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InsightsTests.swift; sourceTree = "<group>"; };
4A6FDF7F2370B31200275A41 /* EventPayload.json */ = {isa = PBXFileReference; lastKnownFileType = text.json; path = EventPayload.json; sourceTree = "<group>"; };
4A6FDF8523715CD300275A41 /* Date.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Date.swift; sourceTree = "<group>"; };
4A7317CC23744B4A00F5D22F /* Hippolyte.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Hippolyte.framework; path = Carthage/Build/iOS/Hippolyte.framework; sourceTree = "<group>"; };
4A7317CE2374518100F5D22F /* InsightsTestHelper.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InsightsTestHelper.swift; sourceTree = "<group>"; };
4A88FF1A236898FD0025D985 /* Events.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Events.swift; sourceTree = "<group>"; };
4ADE281223671B35000F0BEB /* Insights.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Insights.swift; sourceTree = "<group>"; };
Expand All @@ -72,7 +71,6 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
4A7317CD23744B4A00F5D22F /* Hippolyte.framework in Frameworks */,
2EB32DEA23579E47009F120E /* Insights.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -140,7 +138,7 @@
2EB32DE923579E47009F120E /* Frameworks */ = {
isa = PBXGroup;
children = (
4A7317CC23744B4A00F5D22F /* Hippolyte.framework */,
11B7FF92282B47EF005522A7 /* Hippolyte.xcframework */,
);
name = Frameworks;
sourceTree = "<group>";
Expand Down Expand Up @@ -228,7 +226,7 @@
isa = PBXProject;
attributes = {
LastSwiftUpdateCheck = 1030;
LastUpgradeCheck = 1030;
LastUpgradeCheck = 1330;
ORGANIZATIONNAME = Hyperwallet;
TargetAttributes = {
2EB32D6923513979009F120E = {
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -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;
Expand All @@ -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;
Expand All @@ -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",
Expand All @@ -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;
Expand All @@ -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",
Expand All @@ -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",
Expand All @@ -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",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1030"
LastUpgradeVersion = "1330"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
Expand Down

0 comments on commit fd67a51

Please sign in to comment.