Skip to content

Commit f5c8e4b

Browse files
author
gaoxiang
committed
build: pod install
1 parent 8cfc48a commit f5c8e4b

18 files changed

+467
-370
lines changed

CleanJSON.podspec

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,14 @@ Pod::Spec.new do |s|
99
s.source = { :git => 'https://github.com/Pircate/CleanJSON.git', :tag => s.version.to_s }
1010
s.source_files = 'Sources/CleanJSON/**/*'
1111

12-
s.ios.deployment_target = '9.0'
12+
s.ios.deployment_target = '12.0'
1313
s.osx.deployment_target = '10.10'
1414
s.tvos.deployment_target = '9.0'
1515
s.watchos.deployment_target = '2.0'
1616
s.swift_versions = ['5.2']
17+
18+
s.pod_target_xcconfig = {
19+
"BUILD_LIBRARY_FOR_DISTRIBUTION" => 'YES'
20+
}
21+
1722
end
Lines changed: 78 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Scheme
3+
LastUpgradeVersion = "1620"
4+
version = "1.7">
5+
<BuildAction
6+
parallelizeBuildables = "YES"
7+
buildImplicitDependencies = "YES"
8+
buildArchitectures = "Automatic">
9+
<BuildActionEntries>
10+
<BuildActionEntry
11+
buildForTesting = "YES"
12+
buildForRunning = "YES"
13+
buildForProfiling = "YES"
14+
buildForArchiving = "YES"
15+
buildForAnalyzing = "YES">
16+
<BuildableReference
17+
BuildableIdentifier = "primary"
18+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
19+
BuildableName = "CleanJSON_Example.app"
20+
BlueprintName = "CleanJSON_Example"
21+
ReferencedContainer = "container:CleanJSON.xcodeproj">
22+
</BuildableReference>
23+
</BuildActionEntry>
24+
</BuildActionEntries>
25+
</BuildAction>
26+
<TestAction
27+
buildConfiguration = "Debug"
28+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
29+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
30+
shouldUseLaunchSchemeArgsEnv = "YES"
31+
shouldAutocreateTestPlan = "YES">
32+
</TestAction>
33+
<LaunchAction
34+
buildConfiguration = "Debug"
35+
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
36+
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
37+
launchStyle = "0"
38+
useCustomWorkingDirectory = "NO"
39+
ignoresPersistentStateOnLaunch = "NO"
40+
debugDocumentVersioning = "YES"
41+
debugServiceExtension = "internal"
42+
allowLocationSimulation = "YES">
43+
<BuildableProductRunnable
44+
runnableDebuggingMode = "0">
45+
<BuildableReference
46+
BuildableIdentifier = "primary"
47+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
48+
BuildableName = "CleanJSON_Example.app"
49+
BlueprintName = "CleanJSON_Example"
50+
ReferencedContainer = "container:CleanJSON.xcodeproj">
51+
</BuildableReference>
52+
</BuildableProductRunnable>
53+
</LaunchAction>
54+
<ProfileAction
55+
buildConfiguration = "Release"
56+
shouldUseLaunchSchemeArgsEnv = "YES"
57+
savedToolIdentifier = ""
58+
useCustomWorkingDirectory = "NO"
59+
debugDocumentVersioning = "YES">
60+
<BuildableProductRunnable
61+
runnableDebuggingMode = "0">
62+
<BuildableReference
63+
BuildableIdentifier = "primary"
64+
BlueprintIdentifier = "607FACCF1AFB9204008FA782"
65+
BuildableName = "CleanJSON_Example.app"
66+
BlueprintName = "CleanJSON_Example"
67+
ReferencedContainer = "container:CleanJSON.xcodeproj">
68+
</BuildableReference>
69+
</BuildableProductRunnable>
70+
</ProfileAction>
71+
<AnalyzeAction
72+
buildConfiguration = "Debug">
73+
</AnalyzeAction>
74+
<ArchiveAction
75+
buildConfiguration = "Release"
76+
revealArchiveInOrganizer = "YES">
77+
</ArchiveAction>
78+
</Scheme>

Example/Podfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,9 @@ platform :ios, '9.0'
22

33
use_frameworks!
44

5-
install! 'cocoapods', :disable_input_output_paths => true
5+
install! 'cocoapods',
6+
:disable_input_output_paths => true,
7+
:share_schemes_for_development_pods => true
68

79
target 'CleanJSON_Example' do
810
pod 'CleanJSON', :path => '../'

Example/Podfile.lock

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
PODS:
2-
- CleanJSON (1.0.4)
2+
- CleanJSON (1.0.9)
33

44
DEPENDENCIES:
55
- CleanJSON (from `../`)
@@ -9,8 +9,8 @@ EXTERNAL SOURCES:
99
:path: "../"
1010

1111
SPEC CHECKSUMS:
12-
CleanJSON: 312fa2d7d701683d9663892db289f2c254d7753c
12+
CleanJSON: 36ca5d4d9ed6c8d5f28c392766c00000061dd054
1313

14-
PODFILE CHECKSUM: 44d057729538fec98522c2437c68ee326ff05bcf
14+
PODFILE CHECKSUM: 0c3da126dfa1e77bc9ece5f1decea2fea8167476
1515

16-
COCOAPODS: 1.9.3
16+
COCOAPODS: 1.16.2

Example/Pods/Local Podspecs/CleanJSON.podspec.json

Lines changed: 6 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Example/Pods/Manifest.lock

Lines changed: 4 additions & 4 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)