Skip to content

Commit

Permalink
apply spm
Browse files Browse the repository at this point in the history
  • Loading branch information
kjh5833 committed Sep 23, 2021
1 parent bedc959 commit a86bfc8
Show file tree
Hide file tree
Showing 67 changed files with 274 additions and 112 deletions.
1 change: 1 addition & 0 deletions .idea/vcs.xml

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

7 changes: 7 additions & 0 deletions .swiftpm/xcode/package.xcworkspace/contents.xcworkspacedata

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

6 changes: 3 additions & 3 deletions Example/Podfile
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ def rx_swift_pods
end

target 'iamport-ios_Example' do
pod 'iamport-ios', :path => '../'
# pod 'iamport-ios', :path => '../'
# pod 'iamport-ios', '~> 1.0.0-dev.8'

use_frameworks!

di_pods
network_pods
util_pods
rx_swift_pods
# rx_swift_pods

target 'iamport-ios_Tests' do
inherit! :search_paths
Expand All @@ -54,4 +54,4 @@ post_install do |installer|
config.build_settings.delete 'IPHONEOS_DEPLOYMENT_TARGET'
end
end
end
end
66 changes: 11 additions & 55 deletions Example/Podfile.lock
Original file line number Diff line number Diff line change
@@ -1,81 +1,37 @@
PODS:
- Alamofire (5.4.3)
- iamport-ios (1.0.0-dev.11):
- Alamofire (~> 5.1)
- RxBus (~> 1.3.1)
- RxCocoa
- RxOptional
- RxRelay
- RxSwift
- RxViewController
- Swinject
- Then
- RxBlocking (5.1.1):
- RxSwift (~> 5)
- RxBus (1.3.1):
- RxSwift (~> 5.0)
- RxCocoa (5.1.1):
- RxRelay (~> 5)
- RxSwift (~> 5)
- RxOptional (4.1.0):
- RxCocoa (~> 5)
- RxSwift (~> 5)
- RxRelay (5.1.1):
- RxSwift (~> 5)
- RxSwift (5.1.2)
- RxTest (5.1.2):
- RxSwift (~> 5)
- RxViewController (1.0.0):
- RxCocoa (~> 5.0)
- RxSwift (~> 5.0)
- Swinject (2.7.1)
- RxBlocking (6.2.0):
- RxSwift (= 6.2.0)
- RxSwift (6.2.0)
- RxTest (6.2.0):
- RxSwift (= 6.2.0)
- Swinject (2.8.0)
- Then (2.7.0)

DEPENDENCIES:
- Alamofire
- iamport-ios (from `../`)
- RxBlocking
- RxCocoa
- RxOptional
- RxRelay
- RxSwift
- RxTest
- RxViewController
- Swinject
- Then

SPEC REPOS:
trunk:
- Alamofire
- RxBlocking
- RxBus
- RxCocoa
- RxOptional
- RxRelay
- RxSwift
- RxTest
- RxViewController
- Swinject
- Then

EXTERNAL SOURCES:
iamport-ios:
:path: "../"

SPEC CHECKSUMS:
Alamofire: e447a2774a40c996748296fa2c55112fdbbc42f9
iamport-ios: cbbaa6e38858a4a01750593347d7947225e7051e
RxBlocking: 5f700a78cad61ce253ebd37c9a39b5ccc76477b4
RxBus: ee5cb413fe4e0853712144c9ed20705d9e8e03cd
RxCocoa: 32065309a38d29b5b0db858819b5bf9ef038b601
RxOptional: b1fcd60856807a564c0215c2184b8d33e7826dc2
RxRelay: d77f7d771495f43c556cbc43eebd1bb54d01e8e9
RxSwift: 1e2e1f9570186967f617e49128ed26ccf1bafc8e
RxTest: 274549b747dca56f47c52c8991ec5cf797ecfe40
RxViewController: 7330a46e5c31cd680db169da4c9fc8676e975a81
Swinject: ddf78b8486dd9b71a667b852cad919ab4484478e
RxBlocking: 0b29f7d2079109a8de49c411381bed7c33ef1eeb
RxSwift: d356ab7bee873611322f134c5f9ef379fa183d8f
RxTest: 0c692fa672b694373ba86d2b00033595297a2831
Swinject: db795b8d6d78559b25fbebb0170d2635be1176e2
Then: acfe0be7e98221c6204e12f8161459606d5d822d

PODFILE CHECKSUM: b199e5098079af6793f2cfb3624d14044aa8c87c
PODFILE CHECKSUM: b15f5ddffb449cc870af7888354135d13c7c9081

COCOAPODS: 1.10.1
89 changes: 66 additions & 23 deletions Example/iamport-ios.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
archiveVersion = 1;
classes = {
};
objectVersion = 46;
objectVersion = 52;
objects = {

/* Begin PBXBuildFile section */
Expand All @@ -23,6 +23,8 @@
38303D111C23D0AD1F787411 /* PaymentWebViewModeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38303449BF3F9738025BEDE9 /* PaymentWebViewModeView.swift */; };
38303F45CA84E61D146E9F1F /* PaymentResultViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38303BD589C1362D777B0527 /* PaymentResultViewController.swift */; };
481ACCF4268B1A0C004A74C6 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 481ACCF3268B1A0C004A74C6 /* SceneDelegate.swift */; };
48480F5126DF175800544729 /* iamport-ios in Resources */ = {isa = PBXBuildFile; fileRef = 48480F5026DF175800544729 /* iamport-ios */; };
48C8844326DF80D200D0E1F3 /* iamport-ios in Frameworks */ = {isa = PBXBuildFile; productRef = 48C8844226DF80D200D0E1F3 /* iamport-ios */; };
607FACD61AFB9204008FA782 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 607FACD51AFB9204008FA782 /* AppDelegate.swift */; };
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 607FACD91AFB9204008FA782 /* Main.storyboard */; };
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 607FACDC1AFB9204008FA782 /* Images.xcassets */; };
Expand Down Expand Up @@ -60,6 +62,9 @@
38303E153A4F346B16BD779E /* Cert.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Cert.swift; sourceTree = "<group>"; };
38303FD24C053EF24C2D63CF /* ContentView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ContentView.swift; sourceTree = "<group>"; };
481ACCF3268B1A0C004A74C6 /* SceneDelegate.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SceneDelegate.swift; sourceTree = "<group>"; };
48480F4826DF13D700544729 /* iamport-ios */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "iamport-ios"; path = ..; sourceTree = "<group>"; };
48480F5026DF175800544729 /* iamport-ios */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "iamport-ios"; path = ..; sourceTree = "<group>"; };
48480F5426DF185500544729 /* RxBus-swift */ = {isa = PBXFileReference; lastKnownFileType = folder; name = "RxBus-swift"; path = "/Users/bingbong/Library/Developer/Xcode/DerivedData/iamport-ios-gpozheyhpvspvbfurvhzboghldej/SourcePackages/checkouts/RxBus-swift"; sourceTree = "<absolute>"; };
607FACD01AFB9204008FA782 /* iamport-ios_Example.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "iamport-ios_Example.app"; sourceTree = BUILT_PRODUCTS_DIR; };
607FACD41AFB9204008FA782 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
607FACD51AFB9204008FA782 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
Expand All @@ -75,7 +80,7 @@
AE6AB4CDCBAEE3FF2DEAE0D8 /* Pods-iamport-ios_Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iamport-ios_Tests.release.xcconfig"; path = "Target Support Files/Pods-iamport-ios_Tests/Pods-iamport-ios_Tests.release.xcconfig"; sourceTree = "<group>"; };
B512228E67DB6516AA34A458 /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = "<group>"; };
C5D2384CF3E87A54AE0BEA0E /* Pods-iamport-ios_Example.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-iamport-ios_Example.release.xcconfig"; path = "Target Support Files/Pods-iamport-ios_Example/Pods-iamport-ios_Example.release.xcconfig"; sourceTree = "<group>"; };
E43CD40D3CAF1047B48244CB /* iamport-ios.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "iamport-ios.podspec"; path = "../iamport-ios.podspec"; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
E43CD40D3CAF1047B48244CB /* iamport-ios.podspec */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = "iamport-ios.podspec"; path = "../iamport-ios.podspec"; sourceTree = "<group>"; };
F7A18D80D66312537941CE29 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = "<group>"; };
/* End PBXFileReference section */

Expand All @@ -85,6 +90,7 @@
buildActionMask = 2147483647;
files = (
A9FA86725F829DBF79343B6C /* Pods_iamport_ios_Example.framework in Frameworks */,
48C8844326DF80D200D0E1F3 /* iamport-ios in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand All @@ -109,6 +115,13 @@
path = Model;
sourceTree = "<group>";
};
3830375999B918CF0DA527FE /* Resources */ = {
isa = PBXGroup;
children = (
);
path = Resources;
sourceTree = "<group>";
};
38303E9BE57B937968661804 /* View */ = {
isa = PBXGroup;
children = (
Expand All @@ -128,6 +141,7 @@
607FACC71AFB9204008FA782 = {
isa = PBXGroup;
children = (
48480F5026DF175800544729 /* iamport-ios */,
607FACF51AFB993E008FA782 /* Podspec Metadata */,
607FACD21AFB9204008FA782 /* Example for iamport-ios */,
607FACE81AFB9204008FA782 /* Tests */,
Expand Down Expand Up @@ -214,8 +228,11 @@
77C13C9CED810C9DA90C9787 /* Frameworks */ = {
isa = PBXGroup;
children = (
48480F4826DF13D700544729 /* iamport-ios */,
48480F5426DF185500544729 /* RxBus-swift */,
ACA0A7EA7CB8536688E80C99 /* Pods_iamport_ios_Example.framework */,
A4F783463114142EA9E673A2 /* Pods_iamport_ios_Tests.framework */,
3830375999B918CF0DA527FE /* Resources */,
);
name = Frameworks;
sourceTree = "<group>";
Expand All @@ -238,6 +255,9 @@
dependencies = (
);
name = "iamport-ios_Example";
packageProductDependencies = (
48C8844226DF80D200D0E1F3 /* iamport-ios */,
);
productName = "iamport-ios";
productReference = 607FACD01AFB9204008FA782 /* iamport-ios_Example.app */;
productType = "com.apple.product-type.application";
Expand Down Expand Up @@ -295,6 +315,9 @@
Base,
);
mainGroup = 607FACC71AFB9204008FA782;
packageReferences = (
48C8843C26DF4B2300D0E1F3 /* XCRemoteSwiftPackageReference "iamport-ios" */,
);
productRefGroup = 607FACD11AFB9204008FA782 /* Products */;
projectDirPath = "";
projectRoot = "";
Expand All @@ -313,6 +336,7 @@
607FACDB1AFB9204008FA782 /* Main.storyboard in Resources */,
607FACE01AFB9204008FA782 /* LaunchScreen.xib in Resources */,
607FACDD1AFB9204008FA782 /* Images.xcassets in Resources */,
48480F5126DF175800544729 /* iamport-ios in Resources */,
383030A05FF34E8E3A9463B3 /* mobileweb.html in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand All @@ -334,14 +358,14 @@
);
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iamport-ios_Tests/Pods-iamport-ios_Tests-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
"${BUILT_PRODUCTS_DIR}/RxBlocking/RxBlocking.framework",
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
"${BUILT_PRODUCTS_DIR}/RxTest/RxTest.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxBlocking.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxTest.framework",
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -401,28 +425,14 @@
inputPaths = (
"${PODS_ROOT}/Target Support Files/Pods-iamport-ios_Example/Pods-iamport-ios_Example-frameworks.sh",
"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
"${BUILT_PRODUCTS_DIR}/RxBus/RxBus.framework",
"${BUILT_PRODUCTS_DIR}/RxCocoa/RxCocoa.framework",
"${BUILT_PRODUCTS_DIR}/RxOptional/RxOptional.framework",
"${BUILT_PRODUCTS_DIR}/RxRelay/RxRelay.framework",
"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
"${BUILT_PRODUCTS_DIR}/RxViewController/RxViewController.framework",
"${BUILT_PRODUCTS_DIR}/Swinject/Swinject.framework",
"${BUILT_PRODUCTS_DIR}/Then/Then.framework",
"${BUILT_PRODUCTS_DIR}/iamport-ios/iamport_ios.framework",
);
name = "[CP] Embed Pods Frameworks";
outputPaths = (
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxBus.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxCocoa.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxOptional.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxRelay.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxViewController.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Swinject.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Then.framework",
"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/iamport_ios.framework",
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
Expand Down Expand Up @@ -587,7 +597,8 @@
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
SWIFT_COMPILATION_MODE = wholemodule;
SWIFT_OPTIMIZATION_LEVEL = "-O";
VALIDATE_PRODUCT = YES;
};
name = Release;
Expand All @@ -600,7 +611,10 @@
DEVELOPMENT_TEAM = 79DQDD2784;
INFOPLIST_FILE = "iamport-ios/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.iamport-ios-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -618,7 +632,10 @@
DEVELOPMENT_TEAM = 79DQDD2784;
INFOPLIST_FILE = "iamport-ios/Info.plist";
IPHONEOS_DEPLOYMENT_TARGET = 13.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
);
MODULE_NAME = ExampleApp;
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.iamport-ios-Example";
PRODUCT_NAME = "$(TARGET_NAME)";
Expand All @@ -643,7 +660,11 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
Expand All @@ -663,7 +684,11 @@
"$(inherited)",
);
INFOPLIST_FILE = Tests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
LD_RUNPATH_SEARCH_PATHS = (
"$(inherited)",
"@executable_path/Frameworks",
"@loader_path/Frameworks",
);
PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = "$(TARGET_NAME)";
SWIFT_SWIFT3_OBJC_INFERENCE = Default;
Expand Down Expand Up @@ -703,6 +728,24 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */

/* Begin XCRemoteSwiftPackageReference section */
48C8843C26DF4B2300D0E1F3 /* XCRemoteSwiftPackageReference "iamport-ios" */ = {
isa = XCRemoteSwiftPackageReference;
repositoryURL = "https://github.com/iamport/iamport-ios.git";
requirement = {
branch = feat/spm;
kind = branch;
};
};
/* End XCRemoteSwiftPackageReference section */

/* Begin XCSwiftPackageProductDependency section */
48C8844226DF80D200D0E1F3 /* iamport-ios */ = {
isa = XCSwiftPackageProductDependency;
productName = "iamport-ios";
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = 607FACC81AFB9204008FA782 /* Project object */;
}
Loading

0 comments on commit a86bfc8

Please sign in to comment.