File tree 5 files changed +9
-10
lines changed
5 files changed +9
-10
lines changed Original file line number Diff line number Diff line change @@ -244,8 +244,7 @@ if [[ "${DO_XCODE_IOS_TESTS}" == "yes" ]] ; then
244
244
exit 10
245
245
;;
246
246
7.* )
247
- echo " ERROR: The unittests include Swift code that is now Swift 3.0." 1>&2
248
- echo " ERROR: Xcode 8.0 or higher is required to build the test suite, but the library works with Xcode 7.x." 1>&2
247
+ echo " ERROR: Xcode 7.x no longer supported for building, please use 8.0 or higher." 1>&2
249
248
exit 11
250
249
;;
251
250
8.0* )
Original file line number Diff line number Diff line change @@ -2537,12 +2537,12 @@ - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state
2537
2537
return [_array countByEnumeratingWithState: state objects: buffer count: len];
2538
2538
}
2539
2539
2540
- - (void )enumerateObjectsUsingBlock : (void (^)(id obj, NSUInteger idx, BOOL *stop))block {
2540
+ - (void )enumerateObjectsUsingBlock : (void (NS_NOESCAPE ^)(id obj, NSUInteger idx, BOOL *stop))block {
2541
2541
[_array enumerateObjectsUsingBlock: block];
2542
2542
}
2543
2543
2544
2544
- (void )enumerateObjectsWithOptions : (NSEnumerationOptions )opts
2545
- usingBlock : (void (^)(id obj, NSUInteger idx, BOOL *stop))block {
2545
+ usingBlock : (void (NS_NOESCAPE ^)(id obj, NSUInteger idx, BOOL *stop))block {
2546
2546
[_array enumerateObjectsWithOptions: opts usingBlock: block];
2547
2547
}
2548
2548
Original file line number Diff line number Diff line change @@ -411,7 +411,7 @@ - (void)dealloc {
411
411
}
412
412
413
413
- (NSString *)name {
414
- return @(name_);
414
+ return ( NSString * _Nonnull) @(name_);
415
415
}
416
416
417
417
- (GPBFieldDescriptor *)fieldWithNumber : (uint32_t )fieldNumber {
@@ -582,7 +582,7 @@ - (uint32_t)number {
582
582
}
583
583
584
584
- (NSString *)name {
585
- return @(description_->name );
585
+ return ( NSString * _Nonnull) @(description_->name );
586
586
}
587
587
588
588
- (BOOL )isRequired {
@@ -998,7 +998,7 @@ - (instancetype)copyWithZone:(NSZone *)zone {
998
998
}
999
999
1000
1000
- (NSString *)singletonName {
1001
- return @(description_->singletonName );
1001
+ return ( NSString * _Nonnull) @(description_->singletonName );
1002
1002
}
1003
1003
1004
1004
- (const char *)singletonNameC {
Original file line number Diff line number Diff line change @@ -12102,14 +12102,14 @@ - (void)setObject:(id)obj forKeyedSubscript:(id<NSCopying>)key {
12102
12102
}
12103
12103
}
12104
12104
12105
- - (void)enumerateKeysAndObjectsUsingBlock:(void (^)(id key,
12105
+ - (void)enumerateKeysAndObjectsUsingBlock:(void (NS_NOESCAPE ^)(id key,
12106
12106
id obj,
12107
12107
BOOL *stop))block {
12108
12108
[_dictionary enumerateKeysAndObjectsUsingBlock:block];
12109
12109
}
12110
12110
12111
12111
- (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts
12112
- usingBlock:(void (^)(id key,
12112
+ usingBlock:(void (NS_NOESCAPE ^)(id key,
12113
12113
id obj,
12114
12114
BOOL *stop))block {
12115
12115
[_dictionary enumerateKeysAndObjectsWithOptions:opts usingBlock:block];
Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Requirements
13
13
The Objective C implementation requires:
14
14
15
15
- Objective C 2.0 Runtime (32bit & 64bit iOS, 64bit OS X).
16
- - Xcode 7 .0 (or later).
16
+ - Xcode 8 .0 (or later).
17
17
- The library code does * not* use ARC (for performance reasons), but it all can
18
18
be called from ARC code.
19
19
You can’t perform that action at this time.
0 commit comments