Skip to content

Commit

Permalink
fix: ci
Browse files Browse the repository at this point in the history
  • Loading branch information
James authored and lihao6485 committed Oct 28, 2023
1 parent 5431fe1 commit 5c8d4a6
Show file tree
Hide file tree
Showing 9 changed files with 264 additions and 203 deletions.
12 changes: 11 additions & 1 deletion Examples/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def common_tests
end

target "RxRealmDemo-iOS" do
platform :ios, "11.0"
platform :ios, "12.0"
common
end

Expand All @@ -24,3 +24,13 @@ end
# platform :tvos, "9.0"
# common
# end

post_install do |installer|
installer.pods_project.targets.each do |target|
target.build_configurations.each do |config|
if Gem::Version.new('12.0') > Gem::Version.new(config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'])
config.build_settings['IPHONEOS_DEPLOYMENT_TARGET'] = '12.0'
end
end
end
end
44 changes: 22 additions & 22 deletions Examples/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
PODS:
- Realm (10.21.1):
- Realm/Headers (= 10.21.1)
- Realm/Headers (10.21.1)
- RealmSwift (10.21.1):
- Realm (= 10.21.1)
- RxCocoa (6.5.0):
- RxRelay (= 6.5.0)
- RxSwift (= 6.5.0)
- RxRealm (5.0.4):
- Realm (~> 10.21)
- RealmSwift (~> 10.21)
- Realm (10.40.2):
- Realm/Headers (= 10.40.2)
- Realm/Headers (10.40.2)
- RealmSwift (10.40.2):
- Realm (= 10.40.2)
- RxCocoa (6.6.0):
- RxRelay (= 6.6.0)
- RxSwift (= 6.6.0)
- RxRealm (5.0.5):
- Realm (~> 10.40.1)
- RealmSwift (~> 10.40.1)
- RxCocoa (~> 6.1)
- RxSwift (~> 6.1)
- RxRelay (6.5.0):
- RxSwift (= 6.5.0)
- RxSwift (6.5.0)
- RxRelay (6.6.0):
- RxSwift (= 6.6.0)
- RxSwift (6.6.0)

DEPENDENCIES:
- RxRealm (from `../`)
Expand All @@ -32,13 +32,13 @@ EXTERNAL SOURCES:
:path: "../"

SPEC CHECKSUMS:
Realm: 44b41c3ae39e3ecfded71a04434bfde066c7b317
RealmSwift: dbf9a4eb06e0c929d51c4ef2e8f951bca541feab
RxCocoa: 94f817b71c07517321eb4f9ad299112ca8af743b
RxRealm: 666c8785327fe2fff972a3093b35dc7055c1ca38
RxRelay: 1de1523e604c72b6c68feadedd1af3b1b4d0ecbd
RxSwift: 5710a9e6b17f3c3d6e40d6e559b9fa1e813b2ef8
Realm: 731e86d9388287b18e36b0beb2493fc4845ce8a2
RealmSwift: c2a1059ba52e1e08467b1253b1d4ab354ef3177b
RxCocoa: 44a80de90e25b739b5aeaae3c8c371a32e3343cc
RxRealm: 70ddbd78ac8f3d94998dadf380a4c0f83aaf259c
RxRelay: 45eaa5db8ee4fb50e5ebd57deec0159e97fa51e6
RxSwift: a4b44f7d24599f674deebd1818eab82e58410632

PODFILE CHECKSUM: c18aa0767a67d16eff537312e81255933c8a0f4e
PODFILE CHECKSUM: df29b255dac1d305deddb3b085a7407b288544fc

COCOAPODS: 1.11.2
COCOAPODS: 1.14.2
65 changes: 32 additions & 33 deletions Examples/RxRealmDemo.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,37 +3,37 @@
archiveVersion = 1;
classes = {
};
objectVersion = 51;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
025AFE3743CE73F806425BAF /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 26DE8661C8721C6102A4F087 /* LaunchScreen.xib */; };
13BD54D2BB0EBD66F4F2DADC /* Pods_RxRealmDemo_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 562FE4AD26713C0C4DEF9226 /* Pods_RxRealmDemo_iOS.framework */; };
3BB28BD3D65B1369D1A64960 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 54597D6B66FBF23FCBF1A7DB /* Images.xcassets */; };
84E694181E51B3B4646D1225 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 49505648CF8974BEF397F106 /* Main.storyboard */; };
8E1DB46DA84AA944224297EC /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18CF27BE5242F49EDEA89577 /* ViewController.swift */; };
D4892574CEB9161639C20869 /* Pods_RxRealmDemo_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 10CA015110DF798304ED7543 /* Pods_RxRealmDemo_iOS.framework */; };
DAEB28CFA861A50143F84323 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6298C0EF6C7C86E33743B8B5 /* AppDelegate.swift */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
10CA015110DF798304ED7543 /* Pods_RxRealmDemo_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxRealmDemo_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
134BEAE91A12B5CD042607E6 /* Pods-RxRealmDemo-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxRealmDemo-iOS.release.xcconfig"; path = "Target Support Files/Pods-RxRealmDemo-iOS/Pods-RxRealmDemo-iOS.release.xcconfig"; sourceTree = "<group>"; };
18CF27BE5242F49EDEA89577 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
4F952C34DD4B82E9E012B678 /* Pods-RxRealmDemo-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxRealmDemo-iOS.debug.xcconfig"; path = "Target Support Files/Pods-RxRealmDemo-iOS/Pods-RxRealmDemo-iOS.debug.xcconfig"; sourceTree = "<group>"; };
5050BD06022D9BA067993ACD /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = "<group>"; };
54597D6B66FBF23FCBF1A7DB /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = "<group>"; };
562FE4AD26713C0C4DEF9226 /* Pods_RxRealmDemo_iOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_RxRealmDemo_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
6298C0EF6C7C86E33743B8B5 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
645D257F7774284AE08348E5 /* RxRealmDemo-iOS.app */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = wrapper.application; path = "RxRealmDemo-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
645D257F7774284AE08348E5 /* RxRealmDemo-iOS.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "RxRealmDemo-iOS.app"; sourceTree = BUILT_PRODUCTS_DIR; };
82BCDF2341D78059DF2C89F2 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist; path = Info.plist; sourceTree = "<group>"; };
C430B976866CC45900487D76 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
C5A5D55D5CC50F77DE071B83 /* Pods-RxRealmDemo-iOS.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxRealmDemo-iOS.debug.xcconfig"; path = "Target Support Files/Pods-RxRealmDemo-iOS/Pods-RxRealmDemo-iOS.debug.xcconfig"; sourceTree = "<group>"; };
E7759D109C2ABA35C4C5A7ED /* Pods-RxRealmDemo-iOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-RxRealmDemo-iOS.release.xcconfig"; path = "Target Support Files/Pods-RxRealmDemo-iOS/Pods-RxRealmDemo-iOS.release.xcconfig"; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
E04013C2F780BB33A90A86BA /* Frameworks */ = {
0452B0E845B69604F8EFBE7C /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
D4892574CEB9161639C20869 /* Pods_RxRealmDemo_iOS.framework in Frameworks */,
13BD54D2BB0EBD66F4F2DADC /* Pods_RxRealmDemo_iOS.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -61,36 +61,35 @@
name = Products;
sourceTree = "<group>";
};
88600FDA4DAB72A51A9EACBF /* Frameworks */ = {
A6E8CE38563E4EA24A16F2CD = {
isa = PBXGroup;
children = (
10CA015110DF798304ED7543 /* Pods_RxRealmDemo_iOS.framework */,
4A214DAA98C5247C1C84689A /* RxRealmDemo-iOS */,
6531959FA0DFC568430ACAAB /* Products */,
C0D0418E03D8CC5CCBCA74A2 /* Pods */,
CFCCE2C0EDE6F7ECC0D0B468 /* Frameworks */,
);
name = Frameworks;
indentWidth = 2;
sourceTree = "<group>";
tabWidth = 2;
usesTabs = 0;
};
8DBD6278D187BEFFF563E53D /* Pods */ = {
C0D0418E03D8CC5CCBCA74A2 /* Pods */ = {
isa = PBXGroup;
children = (
4F952C34DD4B82E9E012B678 /* Pods-RxRealmDemo-iOS.debug.xcconfig */,
134BEAE91A12B5CD042607E6 /* Pods-RxRealmDemo-iOS.release.xcconfig */,
C5A5D55D5CC50F77DE071B83 /* Pods-RxRealmDemo-iOS.debug.xcconfig */,
E7759D109C2ABA35C4C5A7ED /* Pods-RxRealmDemo-iOS.release.xcconfig */,
);
name = Pods;
path = Pods;
sourceTree = "<group>";
};
A6E8CE38563E4EA24A16F2CD = {
CFCCE2C0EDE6F7ECC0D0B468 /* Frameworks */ = {
isa = PBXGroup;
children = (
4A214DAA98C5247C1C84689A /* RxRealmDemo-iOS */,
6531959FA0DFC568430ACAAB /* Products */,
8DBD6278D187BEFFF563E53D /* Pods */,
88600FDA4DAB72A51A9EACBF /* Frameworks */,
562FE4AD26713C0C4DEF9226 /* Pods_RxRealmDemo_iOS.framework */,
);
indentWidth = 2;
name = Frameworks;
sourceTree = "<group>";
tabWidth = 2;
usesTabs = 0;
};
/* End PBXGroup section */

Expand All @@ -99,11 +98,11 @@
isa = PBXNativeTarget;
buildConfigurationList = 960759C5E7AEB6ABF2CBF1A5 /* Build configuration list for PBXNativeTarget "RxRealmDemo-iOS" */;
buildPhases = (
F562FF3C332086030AC7078B /* [CP] Check Pods Manifest.lock */,
9E09E32F7F593B502A0A9650 /* [CP] Check Pods Manifest.lock */,
9F070CB36A79D85BB2876A0D /* Sources */,
5C6A37C6E8CA2E27A0ECA6AA /* Resources */,
E04013C2F780BB33A90A86BA /* Frameworks */,
6371E92950D311C142D4BE5E /* [CP] Embed Pods Frameworks */,
0452B0E845B69604F8EFBE7C /* Frameworks */,
21A0E7521E409A56D88F9065 /* [CP] Embed Pods Frameworks */,
);
buildRules = (
);
Expand All @@ -122,11 +121,9 @@
attributes = {
LastUpgradeCheck = 1220;
ORGANIZATIONNAME = RxSwiftCommunity;
TargetAttributes = {
};
};
buildConfigurationList = 94914E22EBC7A74B395EF186 /* Build configuration list for PBXProject "RxRealmDemo" */;
compatibilityVersion = "Xcode 10.0";
compatibilityVersion = "Xcode 11.0";
developmentRegion = en;
hasScannedForEncodings = 0;
knownRegions = (
Expand Down Expand Up @@ -157,7 +154,7 @@
/* End PBXResourcesBuildPhase section */

/* Begin PBXShellScriptBuildPhase section */
6371E92950D311C142D4BE5E /* [CP] Embed Pods Frameworks */ = {
21A0E7521E409A56D88F9065 /* [CP] Embed Pods Frameworks */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand All @@ -174,7 +171,7 @@
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-RxRealmDemo-iOS/Pods-RxRealmDemo-iOS-frameworks.sh\"\n";
showEnvVarsInLog = 0;
};
F562FF3C332086030AC7078B /* [CP] Check Pods Manifest.lock */ = {
9E09E32F7F593B502A0A9650 /* [CP] Check Pods Manifest.lock */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
Expand Down Expand Up @@ -232,12 +229,13 @@
/* Begin XCBuildConfiguration section */
0FCE882B186F10CBD63A5EF1 /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 4F952C34DD4B82E9E012B678 /* Pods-RxRealmDemo-iOS.debug.xcconfig */;
baseConfigurationReference = C5A5D55D5CC50F77DE071B83 /* Pods-RxRealmDemo-iOS.debug.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "$(APP_ICON_NAME)";
CODE_SIGN_IDENTITY = "iPhone Developer";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
INFOPLIST_FILE = "RxRealmDemo-iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down Expand Up @@ -315,12 +313,13 @@
};
84000E9CA8521983711240B4 /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 134BEAE91A12B5CD042607E6 /* Pods-RxRealmDemo-iOS.release.xcconfig */;
baseConfigurationReference = E7759D109C2ABA35C4C5A7ED /* Pods-RxRealmDemo-iOS.release.xcconfig */;
buildSettings = {
ASSETCATALOG_COMPILER_APPICON_NAME = "$(APP_ICON_NAME)";
CODE_SIGN_IDENTITY = "iPhone Developer";
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
INFOPLIST_FILE = "RxRealmDemo-iOS/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1220"
version = "1.3">
version = "1.7">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
buildImplicitDependencies = "YES"
runPostActionsOnFailure = "NO">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
Expand All @@ -26,10 +27,8 @@
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
onlyGenerateCoverageForSpecifiedTargets = "NO"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
shouldUseLaunchSchemeArgsEnv = "YES"
onlyGenerateCoverageForSpecifiedTargets = "NO">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
Expand All @@ -39,6 +38,8 @@
ReferencedContainer = "container:RxRealmDemo.xcodeproj">
</BuildableReference>
</MacroExpansion>
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
Expand Down
2 changes: 1 addition & 1 deletion Examples/project.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ options:
tabWidth: 2
xcodeVersion: "1220"
deploymentTarget:
iOS: "11.0"
iOS: "12.0"
defaultConfig: "Release"
configs:
Debug: debug
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
source 'https://rubygems.org'

gem 'cocoapods', '~> 1.9'
gem 'cocoapods', '~> 1.14'
gem 'danger', '~> 8.0'
gem 'danger-swiftlint', '~> 0.20'
gem 'jazzy', '~> 0.13'
Expand Down
Loading

0 comments on commit 5c8d4a6

Please sign in to comment.