cocoapods 1.7.4 → 1.7.5
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c15a0a502e35910503e1eb469ddaddbd90bd0f14ca891aa6300c4f6987e7bd9
|
4
|
+
data.tar.gz: 26963bf654476896c56f7c93722b805cd6207789e08321d540144a5ca1b3fbbd
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9c6e62b772c566f0d177b61709dd1d30cc19d2083d481059ca37151c0b5750b80cf0fd381d096b1c772d901f69accbf5fa8a869bdbe4dd83a10d096658c5acfe
|
7
|
+
data.tar.gz: 36972c2c7cb98f40b235a48814f180f87878e40d66b00540f718f792978ccb8e0cadf907098d09899eb0bbb70fa0e2f840a40e0e1dafed1467cc750f840050fc
|
data/CHANGELOG.md
CHANGED
@@ -4,6 +4,19 @@ To install or update CocoaPods see this [guide](http://docs.cocoapods.org/guides
|
|
4
4
|
|
5
5
|
To install release candidates run `[sudo] gem install cocoapods --pre`
|
6
6
|
|
7
|
+
## 1.7.5 (2019-07-19)
|
8
|
+
|
9
|
+
##### Enhancements
|
10
|
+
|
11
|
+
* None.
|
12
|
+
|
13
|
+
##### Bug Fixes
|
14
|
+
|
15
|
+
* Do not pass inhibit warnings compiler flags for Swift source files.
|
16
|
+
[Dimitris Koutsogiorgas](https://github.com/dnkoutso)
|
17
|
+
[#9013](https://github.com/CocoaPods/CocoaPods/issues/9013)
|
18
|
+
|
19
|
+
|
7
20
|
## 1.7.4 (2019-07-09)
|
8
21
|
|
9
22
|
##### Enhancements
|
@@ -287,12 +287,18 @@ module Pod
|
|
287
287
|
{
|
288
288
|
true => file_accessor.arc_source_files,
|
289
289
|
false => file_accessor.non_arc_source_files,
|
290
|
-
}.each do |arc,
|
291
|
-
next if
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
290
|
+
}.each do |arc, source_files|
|
291
|
+
next if source_files.empty?
|
292
|
+
source_files = source_files - headers - other_source_files
|
293
|
+
swift_source_files, non_swift_source_files = source_files.partition { |file| file.extname == '.swift' }
|
294
|
+
{
|
295
|
+
:objc => non_swift_source_files,
|
296
|
+
:swift => swift_source_files,
|
297
|
+
}.each do |language, files|
|
298
|
+
compiler_flags = compiler_flags_for_consumer(consumer, arc, language)
|
299
|
+
file_refs = project_file_references_array(files, 'source')
|
300
|
+
native_target.add_file_references(file_refs, compiler_flags)
|
301
|
+
end
|
296
302
|
end
|
297
303
|
|
298
304
|
header_file_refs = project_file_references_array(headers, 'header')
|
@@ -780,11 +786,17 @@ module Pod
|
|
780
786
|
# The consumer for the specification for which the compiler flags
|
781
787
|
# are needed.
|
782
788
|
#
|
789
|
+
# @param [Boolean] arc
|
790
|
+
# Whether the arc is enabled or not.
|
791
|
+
#
|
792
|
+
# @param [Symbol] language
|
793
|
+
# The language these compiler warnings are for. Can be either :objc or :swift.
|
794
|
+
#
|
783
795
|
# @return [String] The compiler flags.
|
784
796
|
#
|
785
|
-
def compiler_flags_for_consumer(consumer, arc)
|
797
|
+
def compiler_flags_for_consumer(consumer, arc, language)
|
786
798
|
flags = consumer.compiler_flags.dup
|
787
|
-
if !arc
|
799
|
+
if !arc && language == :objc
|
788
800
|
flags << '-fno-objc-arc'
|
789
801
|
else
|
790
802
|
platform_name = consumer.platform_name
|
@@ -793,7 +805,7 @@ module Pod
|
|
793
805
|
flags << '-DOS_OBJECT_USE_OBJC=0'
|
794
806
|
end
|
795
807
|
end
|
796
|
-
if target.inhibit_warnings?
|
808
|
+
if target.inhibit_warnings? && language == :objc
|
797
809
|
flags << '-w -Xanalyzer -analyzer-disable-all-checks'
|
798
810
|
end
|
799
811
|
flags * ' '
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cocoapods
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.7.
|
4
|
+
version: 1.7.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eloy Duran
|
@@ -11,7 +11,7 @@ authors:
|
|
11
11
|
autorequire:
|
12
12
|
bindir: bin
|
13
13
|
cert_chain: []
|
14
|
-
date: 2019-07-
|
14
|
+
date: 2019-07-19 00:00:00.000000000 Z
|
15
15
|
dependencies:
|
16
16
|
- !ruby/object:Gem::Dependency
|
17
17
|
name: cocoapods-core
|
@@ -19,14 +19,14 @@ dependencies:
|
|
19
19
|
requirements:
|
20
20
|
- - '='
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 1.7.
|
22
|
+
version: 1.7.5
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
27
|
- - '='
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: 1.7.
|
29
|
+
version: 1.7.5
|
30
30
|
- !ruby/object:Gem::Dependency
|
31
31
|
name: claide
|
32
32
|
requirement: !ruby/object:Gem::Requirement
|