cocoapods 0.38.2 → 0.39.0.beta.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +175 -90
- data/lib/cocoapods.rb +0 -6
- data/lib/cocoapods/command/lib.rb +15 -10
- data/lib/cocoapods/command/repo/lint.rb +3 -1
- data/lib/cocoapods/command/repo/push.rb +13 -4
- data/lib/cocoapods/command/spec/create.rb +5 -6
- data/lib/cocoapods/command/spec/lint.rb +15 -10
- data/lib/cocoapods/executable.rb +36 -6
- data/lib/cocoapods/gem_version.rb +1 -1
- data/lib/cocoapods/generator/copy_resources_script.rb +1 -1
- data/lib/cocoapods/generator/embed_frameworks_script.rb +40 -10
- data/lib/cocoapods/generator/xcconfig.rb +1 -2
- data/lib/cocoapods/generator/xcconfig/aggregate_xcconfig.rb +9 -8
- data/lib/cocoapods/generator/xcconfig/{private_pod_xcconfig.rb → pod_xcconfig.rb} +14 -63
- data/lib/cocoapods/generator/xcconfig/xcconfig_helper.rb +1 -2
- data/lib/cocoapods/installer.rb +60 -32
- data/lib/cocoapods/installer/analyzer.rb +2 -0
- data/lib/cocoapods/installer/file_references_installer.rb +3 -3
- data/lib/cocoapods/installer/pod_source_installer.rb +24 -5
- data/lib/cocoapods/installer/source_provider_hooks_context.rb +32 -0
- data/lib/cocoapods/installer/target_installer/aggregate_target_installer.rb +6 -4
- data/lib/cocoapods/installer/target_installer/pod_target_installer.rb +2 -7
- data/lib/cocoapods/installer/user_project_integrator/target_integrator.rb +59 -25
- data/lib/cocoapods/resolver.rb +10 -2
- data/lib/cocoapods/sandbox/file_accessor.rb +57 -0
- data/lib/cocoapods/sandbox/headers_store.rb +5 -6
- data/lib/cocoapods/target.rb +0 -12
- data/lib/cocoapods/target/pod_target.rb +7 -0
- data/lib/cocoapods/validator.rb +34 -23
- metadata +16 -16
- data/lib/cocoapods/generator/xcconfig/public_pod_xcconfig.rb +0 -53
@@ -1,53 +0,0 @@
|
|
1
|
-
module Pod
|
2
|
-
module Generator
|
3
|
-
module XCConfig
|
4
|
-
# Generates the public xcconfigs for the pod targets.
|
5
|
-
#
|
6
|
-
# The public xcconfig file for a Pod is completely namespaced to prevent
|
7
|
-
# configuration value collision with the build settings of other Pods. This
|
8
|
-
# xcconfig includes the standard podspec defined values including
|
9
|
-
# libraries, frameworks, weak frameworks and xcconfig overrides.
|
10
|
-
#
|
11
|
-
class PublicPodXCConfig
|
12
|
-
# @return [Target] the target represented by this xcconfig.
|
13
|
-
#
|
14
|
-
attr_reader :target
|
15
|
-
|
16
|
-
# Initialize a new instance
|
17
|
-
#
|
18
|
-
# @param [Target] target @see target
|
19
|
-
#
|
20
|
-
def initialize(target)
|
21
|
-
@target = target
|
22
|
-
end
|
23
|
-
|
24
|
-
# @return [Xcodeproj::Config] The generated xcconfig.
|
25
|
-
#
|
26
|
-
attr_reader :xcconfig
|
27
|
-
|
28
|
-
# Generates and saves the xcconfig to the given path.
|
29
|
-
#
|
30
|
-
# @param [Pathname] path
|
31
|
-
# the path where the prefix header should be stored.
|
32
|
-
#
|
33
|
-
# @return [void]
|
34
|
-
#
|
35
|
-
def save_as(path)
|
36
|
-
generate.save_as(path, target.xcconfig_prefix)
|
37
|
-
end
|
38
|
-
|
39
|
-
# Generates the xcconfig for the target.
|
40
|
-
#
|
41
|
-
# @return [Xcodeproj::Config]
|
42
|
-
#
|
43
|
-
def generate
|
44
|
-
@xcconfig = Xcodeproj::Config.new
|
45
|
-
XCConfigHelper.add_settings_for_file_accessors_of_target(target, @xcconfig)
|
46
|
-
@xcconfig
|
47
|
-
end
|
48
|
-
|
49
|
-
#-----------------------------------------------------------------------#
|
50
|
-
end
|
51
|
-
end
|
52
|
-
end
|
53
|
-
end
|