mirror of https://github.com/xaoxuu/ProHUD
使用 swift package
This commit is contained in:
parent
91fda85425
commit
ecabea5f25
4
Podfile
4
Podfile
|
@ -3,8 +3,8 @@ use_frameworks!
|
||||||
|
|
||||||
target 'ProHUD' do
|
target 'ProHUD' do
|
||||||
|
|
||||||
pod 'SnapKit', '4.2.0'
|
# pod 'SnapKit', '5.0.1'
|
||||||
pod 'Inspire', '1.0.5' # :path => '../Inspire'
|
# pod 'Inspire', '1.1.0' # :path => '../Inspire'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
20
Podfile.lock
20
Podfile.lock
|
@ -1,19 +1,3 @@
|
||||||
PODS:
|
PODFILE CHECKSUM: ed27fdd7ef2904f7a46847269180199e12907794
|
||||||
- Inspire (1.0.5)
|
|
||||||
- SnapKit (4.2.0)
|
|
||||||
|
|
||||||
DEPENDENCIES:
|
COCOAPODS: 1.9.2
|
||||||
- Inspire (from `../Inspire`)
|
|
||||||
- SnapKit (= 4.2.0)
|
|
||||||
|
|
||||||
EXTERNAL SOURCES:
|
|
||||||
Inspire:
|
|
||||||
:path: ../Inspire
|
|
||||||
|
|
||||||
SPEC CHECKSUMS:
|
|
||||||
Inspire: a213962fa02d0c4b8e27e389318ff4b47e4565ed
|
|
||||||
SnapKit: fe8a619752f3f27075cc9a90244d75c6c3f27e2a
|
|
||||||
|
|
||||||
PODFILE CHECKSUM: aacd299b22fe3d0cf28b81c1e2931b02b66a7963
|
|
||||||
|
|
||||||
COCOAPODS: 1.3.1
|
|
||||||
|
|
|
@ -7,14 +7,14 @@ Pod::Spec.new do |s|
|
||||||
s.authors = { 'xaoxuu' => 'xaoxuu@gmail.com' }
|
s.authors = { 'xaoxuu' => 'xaoxuu@gmail.com' }
|
||||||
s.source = { :git => "https://github.com/xaoxuu/ProHUD.git", :tag => "#{s.version}", :submodules => false}
|
s.source = { :git => "https://github.com/xaoxuu/ProHUD.git", :tag => "#{s.version}", :submodules => false}
|
||||||
|
|
||||||
s.ios.deployment_target = '9.0'
|
s.ios.deployment_target = '10.0'
|
||||||
|
|
||||||
s.source_files = 'ProHUD/**/*.swift'
|
s.source_files = 'ProHUD/**/*.swift'
|
||||||
s.resource_bundles = { 'ProHUD' => ['ProHUD/*.{xcassets,strings,xml,storyboard,xib,xcdatamodeld,gif,lproj}'] }
|
s.resource_bundles = { 'ProHUD' => ['ProHUD/*.{xcassets,strings,xml,storyboard,xib,xcdatamodeld,gif,lproj}'] }
|
||||||
s.requires_arc = true
|
s.requires_arc = true
|
||||||
s.swift_version = '5.0'
|
s.swift_version = '5.0'
|
||||||
|
|
||||||
s.dependency 'SnapKit', '4.2.0'
|
s.dependency 'SnapKit', '5.0'
|
||||||
s.dependency 'Inspire'
|
s.dependency 'Inspire'
|
||||||
|
|
||||||
end
|
end
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
archiveVersion = 1;
|
archiveVersion = 1;
|
||||||
classes = {
|
classes = {
|
||||||
};
|
};
|
||||||
objectVersion = 50;
|
objectVersion = 52;
|
||||||
objects = {
|
objects = {
|
||||||
|
|
||||||
/* Begin PBXBuildFile section */
|
/* Begin PBXBuildFile section */
|
||||||
|
@ -23,6 +23,8 @@
|
||||||
CDB6A07B22EEF06500AF6CF0 /* HUDController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDB6A07A22EEF06500AF6CF0 /* HUDController.swift */; };
|
CDB6A07B22EEF06500AF6CF0 /* HUDController.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDB6A07A22EEF06500AF6CF0 /* HUDController.swift */; };
|
||||||
CDB6A07D22EEF19D00AF6CF0 /* HUDConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDB6A07C22EEF19D00AF6CF0 /* HUDConfig.swift */; };
|
CDB6A07D22EEF19D00AF6CF0 /* HUDConfig.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDB6A07C22EEF19D00AF6CF0 /* HUDConfig.swift */; };
|
||||||
CDC39CFD22FD6DDF0070E914 /* GuardModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDC39CFC22FD6DDF0070E914 /* GuardModel.swift */; };
|
CDC39CFD22FD6DDF0070E914 /* GuardModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = CDC39CFC22FD6DDF0070E914 /* GuardModel.swift */; };
|
||||||
|
CDC67BE92490A19100CC6FE6 /* SnapKit in Frameworks */ = {isa = PBXBuildFile; productRef = CDC67BE82490A19100CC6FE6 /* SnapKit */; };
|
||||||
|
CDC67BEC2490A1D100CC6FE6 /* Inspire in Frameworks */ = {isa = PBXBuildFile; productRef = CDC67BEB2490A1D100CC6FE6 /* Inspire */; };
|
||||||
/* End PBXBuildFile section */
|
/* End PBXBuildFile section */
|
||||||
|
|
||||||
/* Begin PBXFileReference section */
|
/* Begin PBXFileReference section */
|
||||||
|
@ -54,7 +56,9 @@
|
||||||
isa = PBXFrameworksBuildPhase;
|
isa = PBXFrameworksBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
files = (
|
files = (
|
||||||
|
CDC67BEC2490A1D100CC6FE6 /* Inspire in Frameworks */,
|
||||||
1AE9C44ABAF3F797A5518CE8 /* Pods_ProHUD.framework in Frameworks */,
|
1AE9C44ABAF3F797A5518CE8 /* Pods_ProHUD.framework in Frameworks */,
|
||||||
|
CDC67BE92490A19100CC6FE6 /* SnapKit in Frameworks */,
|
||||||
);
|
);
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
runOnlyForDeploymentPostprocessing = 0;
|
||||||
};
|
};
|
||||||
|
@ -167,13 +171,16 @@
|
||||||
CD95D21822E72C4C007559A3 /* Sources */,
|
CD95D21822E72C4C007559A3 /* Sources */,
|
||||||
CD95D21922E72C4C007559A3 /* Frameworks */,
|
CD95D21922E72C4C007559A3 /* Frameworks */,
|
||||||
CD95D21A22E72C4C007559A3 /* Resources */,
|
CD95D21A22E72C4C007559A3 /* Resources */,
|
||||||
8C88ED8CC1E8972268375748 /* [CP] Copy Pods Resources */,
|
|
||||||
);
|
);
|
||||||
buildRules = (
|
buildRules = (
|
||||||
);
|
);
|
||||||
dependencies = (
|
dependencies = (
|
||||||
);
|
);
|
||||||
name = ProHUD;
|
name = ProHUD;
|
||||||
|
packageProductDependencies = (
|
||||||
|
CDC67BE82490A19100CC6FE6 /* SnapKit */,
|
||||||
|
CDC67BEB2490A1D100CC6FE6 /* Inspire */,
|
||||||
|
);
|
||||||
productName = ProHUD;
|
productName = ProHUD;
|
||||||
productReference = CD95D21C22E72C4C007559A3 /* ProHUD.framework */;
|
productReference = CD95D21C22E72C4C007559A3 /* ProHUD.framework */;
|
||||||
productType = "com.apple.product-type.framework";
|
productType = "com.apple.product-type.framework";
|
||||||
|
@ -202,6 +209,10 @@
|
||||||
Base,
|
Base,
|
||||||
);
|
);
|
||||||
mainGroup = CD95D21222E72C4C007559A3;
|
mainGroup = CD95D21222E72C4C007559A3;
|
||||||
|
packageReferences = (
|
||||||
|
CDC67BE72490A19100CC6FE6 /* XCRemoteSwiftPackageReference "SnapKit" */,
|
||||||
|
CDC67BEA2490A1D100CC6FE6 /* XCRemoteSwiftPackageReference "Inspire" */,
|
||||||
|
);
|
||||||
productRefGroup = CD95D21D22E72C4C007559A3 /* Products */;
|
productRefGroup = CD95D21D22E72C4C007559A3 /* Products */;
|
||||||
projectDirPath = "";
|
projectDirPath = "";
|
||||||
projectRoot = "";
|
projectRoot = "";
|
||||||
|
@ -223,25 +234,6 @@
|
||||||
/* End PBXResourcesBuildPhase section */
|
/* End PBXResourcesBuildPhase section */
|
||||||
|
|
||||||
/* Begin PBXShellScriptBuildPhase section */
|
/* Begin PBXShellScriptBuildPhase section */
|
||||||
8C88ED8CC1E8972268375748 /* [CP] Copy Pods Resources */ = {
|
|
||||||
isa = PBXShellScriptBuildPhase;
|
|
||||||
buildActionMask = 2147483647;
|
|
||||||
files = (
|
|
||||||
);
|
|
||||||
inputFileListPaths = (
|
|
||||||
);
|
|
||||||
inputPaths = (
|
|
||||||
);
|
|
||||||
name = "[CP] Copy Pods Resources";
|
|
||||||
outputFileListPaths = (
|
|
||||||
);
|
|
||||||
outputPaths = (
|
|
||||||
);
|
|
||||||
runOnlyForDeploymentPostprocessing = 0;
|
|
||||||
shellPath = /bin/sh;
|
|
||||||
shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-ProHUD/Pods-ProHUD-resources.sh\"\n";
|
|
||||||
showEnvVarsInLog = 0;
|
|
||||||
};
|
|
||||||
A54F2DB69A2889EF6E75A3EC /* [CP] Check Pods Manifest.lock */ = {
|
A54F2DB69A2889EF6E75A3EC /* [CP] Check Pods Manifest.lock */ = {
|
||||||
isa = PBXShellScriptBuildPhase;
|
isa = PBXShellScriptBuildPhase;
|
||||||
buildActionMask = 2147483647;
|
buildActionMask = 2147483647;
|
||||||
|
@ -341,7 +333,7 @@
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
|
||||||
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
ONLY_ACTIVE_ARCH = YES;
|
ONLY_ACTIVE_ARCH = YES;
|
||||||
|
@ -398,7 +390,7 @@
|
||||||
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
||||||
GCC_WARN_UNUSED_FUNCTION = YES;
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
||||||
GCC_WARN_UNUSED_VARIABLE = YES;
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
||||||
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
|
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
|
||||||
MTL_ENABLE_DEBUG_INFO = NO;
|
MTL_ENABLE_DEBUG_INFO = NO;
|
||||||
MTL_FAST_MATH = YES;
|
MTL_FAST_MATH = YES;
|
||||||
SDKROOT = iphoneos;
|
SDKROOT = iphoneos;
|
||||||
|
@ -485,6 +477,38 @@
|
||||||
defaultConfigurationName = Release;
|
defaultConfigurationName = Release;
|
||||||
};
|
};
|
||||||
/* End XCConfigurationList section */
|
/* End XCConfigurationList section */
|
||||||
|
|
||||||
|
/* Begin XCRemoteSwiftPackageReference section */
|
||||||
|
CDC67BE72490A19100CC6FE6 /* XCRemoteSwiftPackageReference "SnapKit" */ = {
|
||||||
|
isa = XCRemoteSwiftPackageReference;
|
||||||
|
repositoryURL = "https://github.com/SnapKit/SnapKit";
|
||||||
|
requirement = {
|
||||||
|
kind = upToNextMajorVersion;
|
||||||
|
minimumVersion = 5.0.1;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
CDC67BEA2490A1D100CC6FE6 /* XCRemoteSwiftPackageReference "Inspire" */ = {
|
||||||
|
isa = XCRemoteSwiftPackageReference;
|
||||||
|
repositoryURL = "https://github.com/xaoxuu/Inspire";
|
||||||
|
requirement = {
|
||||||
|
kind = upToNextMajorVersion;
|
||||||
|
minimumVersion = 1.1.0;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
/* End XCRemoteSwiftPackageReference section */
|
||||||
|
|
||||||
|
/* Begin XCSwiftPackageProductDependency section */
|
||||||
|
CDC67BE82490A19100CC6FE6 /* SnapKit */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = CDC67BE72490A19100CC6FE6 /* XCRemoteSwiftPackageReference "SnapKit" */;
|
||||||
|
productName = SnapKit;
|
||||||
|
};
|
||||||
|
CDC67BEB2490A1D100CC6FE6 /* Inspire */ = {
|
||||||
|
isa = XCSwiftPackageProductDependency;
|
||||||
|
package = CDC67BEA2490A1D100CC6FE6 /* XCRemoteSwiftPackageReference "Inspire" */;
|
||||||
|
productName = Inspire;
|
||||||
|
};
|
||||||
|
/* End XCSwiftPackageProductDependency section */
|
||||||
};
|
};
|
||||||
rootObject = CD95D21322E72C4C007559A3 /* Project object */;
|
rootObject = CD95D21322E72C4C007559A3 /* Project object */;
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,25 @@
|
||||||
|
{
|
||||||
|
"object": {
|
||||||
|
"pins": [
|
||||||
|
{
|
||||||
|
"package": "Inspire",
|
||||||
|
"repositoryURL": "https://github.com/xaoxuu/Inspire",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "fed13e3530ca38f884d190ea5c7b12b8f3b2a41b",
|
||||||
|
"version": "1.1.0"
|
||||||
|
}
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"package": "SnapKit",
|
||||||
|
"repositoryURL": "https://github.com/SnapKit/SnapKit",
|
||||||
|
"state": {
|
||||||
|
"branch": null,
|
||||||
|
"revision": "d458564516e5676af9c70b4f4b2a9178294f1bc6",
|
||||||
|
"version": "5.0.1"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"version": 1
|
||||||
|
}
|
|
@ -6,6 +6,7 @@
|
||||||
// Copyright © 2019 Titan Studio. All rights reserved.
|
// Copyright © 2019 Titan Studio. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
import UIKit
|
||||||
import SnapKit
|
import SnapKit
|
||||||
import Inspire
|
import Inspire
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
// Copyright © 2019 Titan Studio. All rights reserved.
|
// Copyright © 2019 Titan Studio. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
import UIKit
|
||||||
import SnapKit
|
import SnapKit
|
||||||
import Inspire
|
import Inspire
|
||||||
|
|
||||||
|
|
|
@ -6,6 +6,7 @@
|
||||||
// Copyright © 2019 Titan Studio. All rights reserved.
|
// Copyright © 2019 Titan Studio. All rights reserved.
|
||||||
//
|
//
|
||||||
|
|
||||||
|
import UIKit
|
||||||
import SnapKit
|
import SnapKit
|
||||||
|
|
||||||
public extension ProHUD.Configuration {
|
public extension ProHUD.Configuration {
|
||||||
|
|
Loading…
Reference in New Issue