Skip to content

Commit 450d434

Browse files
author
Lucian Boboc
committed
- fixed Xcode 8 warnings.
1 parent 6f2eb04 commit 450d434

File tree

13 files changed

+90
-52
lines changed

13 files changed

+90
-52
lines changed

LBCache.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
Pod::Spec.new do |s|
22

33
s.name = "LBCache"
4-
s.version = "1.0.6"
4+
s.version = "1.0.7"
55
s.summary = "LBCache image cache framework"
66
s.description = <<-DESC
77
LBCache is an asynchronous image cache framework for iOS.

LBCache/ImageOperation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
//
88

99
#import <UIKit/UIKit.h>
10-
#import "NSString+LBcategory.h"
10+
#import "NSString+LBCategory.h"
1111

1212
/// kDefaultHashType is the method used to generate the hash which is used as the image name when saved on disk.
1313
#define kDefaultHashType HashTypeSHA1

LBCache/Info.plist

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,15 @@
77
<key>CFBundleExecutable</key>
88
<string>$(EXECUTABLE_NAME)</string>
99
<key>CFBundleIdentifier</key>
10-
<string>com.lucianboboc.$(PRODUCT_NAME:rfc1034identifier)</string>
10+
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
1111
<key>CFBundleInfoDictionaryVersion</key>
1212
<string>6.0</string>
1313
<key>CFBundleName</key>
1414
<string>$(PRODUCT_NAME)</string>
1515
<key>CFBundlePackageType</key>
1616
<string>FMWK</string>
1717
<key>CFBundleShortVersionString</key>
18-
<string>1.0</string>
18+
<string>1</string>
1919
<key>CFBundleSignature</key>
2020
<string>????</string>
2121
<key>CFBundleVersion</key>

LBCache/LBCacheManager.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#endif
1717

1818
#import <Foundation/Foundation.h>
19-
#import "UIImageView+LBcategory.h"
19+
#import "UIImageView+LBCategory.h"
2020

2121
/// kDaysToKeepCache is the days duration the images will be kepped in cache.
2222
#define kDaysToKeepCache 3

LBCache/NSString+LBcategory.h renamed to LBCache/NSString+LBCategory.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// NSString+LBcategory.h
2+
// NSString+LBCategory.h
33
// LBCache
44
//
55
// Created by Lucian Boboc on 6/1/13.
@@ -9,7 +9,7 @@
99
#import <Foundation/Foundation.h>
1010

1111

12-
@interface NSString (LBcategory)
12+
@interface NSString (LBCategory)
1313

1414

1515
/// HashType enum is used as an option used for the hash type.

LBCache/NSString+LBcategory.m renamed to LBCache/NSString+LBCategory.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
//
2-
// NSString+LBcategory.m
2+
// NSString+LBCategory.m
33
// LBCache
44
//
55
// Created by Lucian Boboc on 6/1/13.
66
// Copyright (c) 2013 Lucian Boboc. All rights reserved.
77
//
88

9-
#import "NSString+LBcategory.h"
9+
#import "NSString+LBCategory.h"
1010
#import <CommonCrypto/CommonCrypto.h>
1111

12-
@implementation NSString (LBcategory)
12+
@implementation NSString (LBCategory)
1313

1414
- (NSString*) lbHashMD5
1515
{

LBCache/UIImageView+LBcategory.h renamed to LBCache/UIImageView+LBCategory.h

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
//
2-
// UIImageView+LBcategory.h
2+
// UIImageView+LBCategory.h
33
// LBCache
44
//
55
// Created by Lucian Boboc on 6/1/13.
@@ -9,7 +9,7 @@
99
#import <UIKit/UIKit.h>
1010
#import "ImageOperation.h"
1111

12-
@interface UIImageView (LBcategory)
12+
@interface UIImageView (LBCategory)
1313

1414

1515
/// The method will start the image download and image will be set after download is complete.
@@ -23,28 +23,28 @@
2323
///
2424
/// @param urlString is an NSString with the url string where the image is located.
2525
/// @param placeholderImage is a UIImage with the image that will be used as a placeholder until the image was downloaded.
26-
/// @param options is an enum, `LBCacheImageOptions` option, which is used to decide how the image is loaded, from cache or web.
27-
- (void) setImageWithURLString: (NSString * __nullable) urlString placeholderImage: (UIImage * __nullable) placeholderImage options: (LBCacheImageOptions) option;
26+
/// @param options is an enum, `LBCacheImageOptions` options, which is used to decide how the image is loaded, from cache or web.
27+
- (void) setImageWithURLString: (NSString * __nullable) urlString placeholderImage: (UIImage * __nullable) placeholderImage options: (LBCacheImageOptions) options;
2828

2929

3030
/// The method will start the image download and also return it in the completion block if download was successfull.
3131
///
3232
/// @param urlString is an NSString with the url string where the image is located.
3333
/// @param placeholderImage is a UIImage with the image that will be used as a placeholder until the image was downloaded.
34-
/// @param options is an enum, `LBCacheImageOptions` option, which is used to decide how the image is loaded, from cache or web.
34+
/// @param options is an enum, `LBCacheImageOptions` options, which is used to decide how the image is loaded, from cache or web.
3535
/// @param completionBlock is an LBCacheOperationBlock callback which is used as a completion block for the ImageOperation.
36-
- (void) setImageWithURLString: (NSString * __nullable) urlString placeholderImage: (UIImage * __nullable) placeholderImage options: (LBCacheImageOptions) option completionBlock: (LBCacheImageBlock __nullable) completionBlock;
36+
- (void) setImageWithURLString: (NSString * __nullable) urlString placeholderImage: (UIImage * __nullable) placeholderImage options: (LBCacheImageOptions) options completionBlock: (LBCacheImageBlock __nullable) completionBlock;
3737

3838

3939

4040
/// The method will start the image download and also return it in the completion block if download was successfull. It also offer a progress callback option.
4141
///
4242
/// @param urlString is an NSString with the url string where the image is located.
4343
/// @param placeholderImage is a UIImage with the image that will be used as a placeholder until the image was downloaded.
44-
/// @param options is an enum, `LBCacheImageOptions` option, which is used to decide how the image is loaded, from cache or web.
44+
/// @param options is an enum, `LBCacheImageOptions` options, which is used to decide how the image is loaded, from cache or web.
4545
/// @param progressBlock is an ProgressBlock callback which is used to pass the percent for the ImageOperation.
4646
/// @param completionBlock is an LBCacheOperationBlock callback which is used as a completion block for the ImageOperation.
47-
- (void) setImageWithURLString: (NSString * __nullable) urlString placeholderImage: (UIImage * __nullable) placeholderImage options: (LBCacheImageOptions) option progressBlock: (ProgressBlock __nullable) progressBlock completionBlock: (LBCacheImageBlock __nullable) completionBlock;
47+
- (void) setImageWithURLString: (NSString * __nullable) urlString placeholderImage: (UIImage * __nullable) placeholderImage options: (LBCacheImageOptions) options progressBlock: (ProgressBlock __nullable) progressBlock completionBlock: (LBCacheImageBlock __nullable) completionBlock;
4848

4949

5050
/// The method will return the image object from the cache, memory or from the disk.

LBCache/UIImageView+LBcategory.m renamed to LBCache/UIImageView+LBCategory.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,18 @@
11
//
2-
// UIImageView+LBcategory.m
2+
// UIImageView+LBCategory.m
33
// LBCache
44
//
55
// Created by Lucian Boboc on 6/1/13.
66
// Copyright (c) 2013 Lucian Boboc. All rights reserved.
77
//
88

9-
#import "UIImageView+LBcategory.h"
9+
#import "UIImageView+LBCategory.h"
1010
#import "LBCacheManager.h"
1111
#import <objc/runtime.h>
1212

1313
static char operationKey;
1414

15-
@implementation UIImageView (LBcategory)
15+
@implementation UIImageView (LBCategory)
1616

1717
- (void) setImageWithURLString: (NSString *) urlString placeholderImage: (UIImage *) placeholderImage
1818
{

LBCache2-Demo.xcodeproj/project.pbxproj

Lines changed: 47 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -26,10 +26,10 @@
2626
670199AF1AE7C7C1003F81A8 /* ImageOperation.m in Sources */ = {isa = PBXBuildFile; fileRef = 670199A71AE7C7C1003F81A8 /* ImageOperation.m */; };
2727
670199B01AE7C7C1003F81A8 /* LBCacheManager.h in Headers */ = {isa = PBXBuildFile; fileRef = 670199A81AE7C7C1003F81A8 /* LBCacheManager.h */; settings = {ATTRIBUTES = (Public, ); }; };
2828
670199B11AE7C7C1003F81A8 /* LBCacheManager.m in Sources */ = {isa = PBXBuildFile; fileRef = 670199A91AE7C7C1003F81A8 /* LBCacheManager.m */; };
29-
670199B21AE7C7C1003F81A8 /* NSString+LBcategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 670199AA1AE7C7C1003F81A8 /* NSString+LBcategory.h */; settings = {ATTRIBUTES = (Public, ); }; };
30-
670199B31AE7C7C1003F81A8 /* NSString+LBcategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 670199AB1AE7C7C1003F81A8 /* NSString+LBcategory.m */; };
31-
670199B41AE7C7C1003F81A8 /* UIImageView+LBcategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 670199AC1AE7C7C1003F81A8 /* UIImageView+LBcategory.h */; settings = {ATTRIBUTES = (Public, ); }; };
32-
670199B51AE7C7C1003F81A8 /* UIImageView+LBcategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 670199AD1AE7C7C1003F81A8 /* UIImageView+LBcategory.m */; };
29+
670199B21AE7C7C1003F81A8 /* NSString+LBCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 670199AA1AE7C7C1003F81A8 /* NSString+LBCategory.h */; settings = {ATTRIBUTES = (Public, ); }; };
30+
670199B31AE7C7C1003F81A8 /* NSString+LBCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 670199AB1AE7C7C1003F81A8 /* NSString+LBCategory.m */; };
31+
670199B41AE7C7C1003F81A8 /* UIImageView+LBCategory.h in Headers */ = {isa = PBXBuildFile; fileRef = 670199AC1AE7C7C1003F81A8 /* UIImageView+LBCategory.h */; settings = {ATTRIBUTES = (Public, ); }; };
32+
670199B51AE7C7C1003F81A8 /* UIImageView+LBCategory.m in Sources */ = {isa = PBXBuildFile; fileRef = 670199AD1AE7C7C1003F81A8 /* UIImageView+LBCategory.m */; };
3333
67B30CEF1AE7C13D003AD8F5 /* LBCache.h in Headers */ = {isa = PBXBuildFile; fileRef = 67B30CEE1AE7C13D003AD8F5 /* LBCache.h */; settings = {ATTRIBUTES = (Public, ); }; };
3434
67B30CF51AE7C13D003AD8F5 /* LBCache.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 67B30CEA1AE7C13D003AD8F5 /* LBCache.framework */; };
3535
67B30CFE1AE7C13D003AD8F5 /* LBCacheTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 67B30CFD1AE7C13D003AD8F5 /* LBCacheTests.m */; };
@@ -99,10 +99,10 @@
9999
670199A71AE7C7C1003F81A8 /* ImageOperation.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ImageOperation.m; sourceTree = "<group>"; };
100100
670199A81AE7C7C1003F81A8 /* LBCacheManager.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = LBCacheManager.h; sourceTree = "<group>"; };
101101
670199A91AE7C7C1003F81A8 /* LBCacheManager.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = LBCacheManager.m; sourceTree = "<group>"; };
102-
670199AA1AE7C7C1003F81A8 /* NSString+LBcategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+LBcategory.h"; sourceTree = "<group>"; };
103-
670199AB1AE7C7C1003F81A8 /* NSString+LBcategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+LBcategory.m"; sourceTree = "<group>"; };
104-
670199AC1AE7C7C1003F81A8 /* UIImageView+LBcategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+LBcategory.h"; sourceTree = "<group>"; };
105-
670199AD1AE7C7C1003F81A8 /* UIImageView+LBcategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+LBcategory.m"; sourceTree = "<group>"; };
102+
670199AA1AE7C7C1003F81A8 /* NSString+LBCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "NSString+LBCategory.h"; sourceTree = "<group>"; };
103+
670199AB1AE7C7C1003F81A8 /* NSString+LBCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "NSString+LBCategory.m"; sourceTree = "<group>"; };
104+
670199AC1AE7C7C1003F81A8 /* UIImageView+LBCategory.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImageView+LBCategory.h"; sourceTree = "<group>"; };
105+
670199AD1AE7C7C1003F81A8 /* UIImageView+LBCategory.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImageView+LBCategory.m"; sourceTree = "<group>"; };
106106
671EC89D178577AA002886A9 /* libobjc.dylib */ = {isa = PBXFileReference; lastKnownFileType = "compiled.mach-o.dylib"; name = libobjc.dylib; path = usr/lib/libobjc.dylib; sourceTree = SDKROOT; };
107107
674F51E81AEB9B6200C97EDD /* README.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = SOURCE_ROOT; };
108108
679024E21AE7F30200678433 /* LICENSE.md */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = net.daringfireball.markdown; path = LICENSE.md; sourceTree = SOURCE_ROOT; };
@@ -222,10 +222,10 @@
222222
670199A71AE7C7C1003F81A8 /* ImageOperation.m */,
223223
670199A81AE7C7C1003F81A8 /* LBCacheManager.h */,
224224
670199A91AE7C7C1003F81A8 /* LBCacheManager.m */,
225-
670199AA1AE7C7C1003F81A8 /* NSString+LBcategory.h */,
226-
670199AB1AE7C7C1003F81A8 /* NSString+LBcategory.m */,
227-
670199AC1AE7C7C1003F81A8 /* UIImageView+LBcategory.h */,
228-
670199AD1AE7C7C1003F81A8 /* UIImageView+LBcategory.m */,
225+
670199AA1AE7C7C1003F81A8 /* NSString+LBCategory.h */,
226+
670199AB1AE7C7C1003F81A8 /* NSString+LBCategory.m */,
227+
670199AC1AE7C7C1003F81A8 /* UIImageView+LBCategory.h */,
228+
670199AD1AE7C7C1003F81A8 /* UIImageView+LBCategory.m */,
229229
67B30CEC1AE7C13D003AD8F5 /* Supporting Files */,
230230
);
231231
path = LBCache;
@@ -265,9 +265,9 @@
265265
files = (
266266
670199AE1AE7C7C1003F81A8 /* ImageOperation.h in Headers */,
267267
67B30CEF1AE7C13D003AD8F5 /* LBCache.h in Headers */,
268-
670199B21AE7C7C1003F81A8 /* NSString+LBcategory.h in Headers */,
268+
670199B21AE7C7C1003F81A8 /* NSString+LBCategory.h in Headers */,
269269
670199B01AE7C7C1003F81A8 /* LBCacheManager.h in Headers */,
270-
670199B41AE7C7C1003F81A8 /* UIImageView+LBcategory.h in Headers */,
270+
670199B41AE7C7C1003F81A8 /* UIImageView+LBCategory.h in Headers */,
271271
);
272272
runOnlyForDeploymentPostprocessing = 0;
273273
};
@@ -336,7 +336,7 @@
336336
25C65F2A175D39F100AE8FFC /* Project object */ = {
337337
isa = PBXProject;
338338
attributes = {
339-
LastUpgradeCheck = 0460;
339+
LastUpgradeCheck = 0830;
340340
ORGANIZATIONNAME = "Lucian Boboc";
341341
TargetAttributes = {
342342
67B30CE91AE7C13D003AD8F5 = {
@@ -414,8 +414,8 @@
414414
files = (
415415
670199B11AE7C7C1003F81A8 /* LBCacheManager.m in Sources */,
416416
670199AF1AE7C7C1003F81A8 /* ImageOperation.m in Sources */,
417-
670199B31AE7C7C1003F81A8 /* NSString+LBcategory.m in Sources */,
418-
670199B51AE7C7C1003F81A8 /* UIImageView+LBcategory.m in Sources */,
417+
670199B31AE7C7C1003F81A8 /* NSString+LBCategory.m in Sources */,
418+
670199B51AE7C7C1003F81A8 /* UIImageView+LBCategory.m in Sources */,
419419
);
420420
runOnlyForDeploymentPostprocessing = 0;
421421
};
@@ -474,25 +474,35 @@
474474
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
475475
CLANG_CXX_LIBRARY = "libc++";
476476
CLANG_ENABLE_OBJC_ARC = YES;
477+
CLANG_WARN_BOOL_CONVERSION = YES;
477478
CLANG_WARN_CONSTANT_CONVERSION = YES;
478479
CLANG_WARN_EMPTY_BODY = YES;
479480
CLANG_WARN_ENUM_CONVERSION = YES;
481+
CLANG_WARN_INFINITE_RECURSION = YES;
480482
CLANG_WARN_INT_CONVERSION = YES;
483+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
484+
CLANG_WARN_UNREACHABLE_CODE = YES;
481485
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
482486
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
483487
COPY_PHASE_STRIP = NO;
488+
ENABLE_STRICT_OBJC_MSGSEND = YES;
489+
ENABLE_TESTABILITY = YES;
484490
GCC_C_LANGUAGE_STANDARD = gnu99;
485491
GCC_DYNAMIC_NO_PIC = NO;
492+
GCC_NO_COMMON_BLOCKS = YES;
486493
GCC_OPTIMIZATION_LEVEL = 0;
487494
GCC_PREPROCESSOR_DEFINITIONS = (
488495
"DEBUG=1",
489496
"$(inherited)",
490497
);
491498
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
499+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
492500
GCC_WARN_ABOUT_RETURN_TYPE = YES;
501+
GCC_WARN_UNDECLARED_SELECTOR = YES;
493502
GCC_WARN_UNINITIALIZED_AUTOS = YES;
503+
GCC_WARN_UNUSED_FUNCTION = YES;
494504
GCC_WARN_UNUSED_VARIABLE = YES;
495-
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
505+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
496506
ONLY_ACTIVE_ARCH = YES;
497507
SDKROOT = iphoneos;
498508
};
@@ -505,18 +515,27 @@
505515
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
506516
CLANG_CXX_LIBRARY = "libc++";
507517
CLANG_ENABLE_OBJC_ARC = YES;
518+
CLANG_WARN_BOOL_CONVERSION = YES;
508519
CLANG_WARN_CONSTANT_CONVERSION = YES;
509520
CLANG_WARN_EMPTY_BODY = YES;
510521
CLANG_WARN_ENUM_CONVERSION = YES;
522+
CLANG_WARN_INFINITE_RECURSION = YES;
511523
CLANG_WARN_INT_CONVERSION = YES;
524+
CLANG_WARN_SUSPICIOUS_MOVE = YES;
525+
CLANG_WARN_UNREACHABLE_CODE = YES;
512526
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
513527
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
514528
COPY_PHASE_STRIP = YES;
529+
ENABLE_STRICT_OBJC_MSGSEND = YES;
515530
GCC_C_LANGUAGE_STANDARD = gnu99;
531+
GCC_NO_COMMON_BLOCKS = YES;
532+
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
516533
GCC_WARN_ABOUT_RETURN_TYPE = YES;
534+
GCC_WARN_UNDECLARED_SELECTOR = YES;
517535
GCC_WARN_UNINITIALIZED_AUTOS = YES;
536+
GCC_WARN_UNUSED_FUNCTION = YES;
518537
GCC_WARN_UNUSED_VARIABLE = YES;
519-
IPHONEOS_DEPLOYMENT_TARGET = 6.1;
538+
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
520539
OTHER_CFLAGS = "-DNS_BLOCK_ASSERTIONS=1";
521540
SDKROOT = iphoneos;
522541
VALIDATE_PRODUCT = YES;
@@ -533,6 +552,7 @@
533552
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
534553
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
535554
ONLY_ACTIVE_ARCH = NO;
555+
PRODUCT_BUNDLE_IDENTIFIER = com.lucianboboc.LBCache2;
536556
PRODUCT_NAME = "LBCache2-Demo";
537557
WRAPPER_EXTENSION = app;
538558
};
@@ -548,6 +568,7 @@
548568
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
549569
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
550570
ONLY_ACTIVE_ARCH = NO;
571+
PRODUCT_BUNDLE_IDENTIFIER = com.lucianboboc.LBCache2;
551572
PRODUCT_NAME = "LBCache2-Demo";
552573
WRAPPER_EXTENSION = app;
553574
};
@@ -561,6 +582,7 @@
561582
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
562583
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
563584
CLANG_WARN_UNREACHABLE_CODE = YES;
585+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
564586
CURRENT_PROJECT_VERSION = 1;
565587
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
566588
DEFINES_MODULE = YES;
@@ -583,6 +605,8 @@
583605
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
584606
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
585607
MTL_ENABLE_DEBUG_INFO = YES;
608+
ONLY_ACTIVE_ARCH = NO;
609+
PRODUCT_BUNDLE_IDENTIFIER = "com.lucianboboc.$(PRODUCT_NAME:rfc1034identifier)";
586610
PRODUCT_NAME = "$(TARGET_NAME)";
587611
SKIP_INSTALL = YES;
588612
TARGETED_DEVICE_FAMILY = "1,2";
@@ -599,6 +623,7 @@
599623
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
600624
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
601625
CLANG_WARN_UNREACHABLE_CODE = YES;
626+
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
602627
COPY_PHASE_STRIP = NO;
603628
CURRENT_PROJECT_VERSION = 1;
604629
DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
@@ -619,6 +644,7 @@
619644
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
620645
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
621646
MTL_ENABLE_DEBUG_INFO = NO;
647+
PRODUCT_BUNDLE_IDENTIFIER = "com.lucianboboc.$(PRODUCT_NAME:rfc1034identifier)";
622648
PRODUCT_NAME = "$(TARGET_NAME)";
623649
SKIP_INSTALL = YES;
624650
TARGETED_DEVICE_FAMILY = "1,2";
@@ -655,6 +681,7 @@
655681
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
656682
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
657683
MTL_ENABLE_DEBUG_INFO = YES;
684+
PRODUCT_BUNDLE_IDENTIFIER = "com.lucianboboc.$(PRODUCT_NAME:rfc1034identifier)";
658685
PRODUCT_NAME = "$(TARGET_NAME)";
659686
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LBCache2-Demo.app/LBCache2-Demo";
660687
};
@@ -686,6 +713,7 @@
686713
IPHONEOS_DEPLOYMENT_TARGET = 8.3;
687714
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
688715
MTL_ENABLE_DEBUG_INFO = NO;
716+
PRODUCT_BUNDLE_IDENTIFIER = "com.lucianboboc.$(PRODUCT_NAME:rfc1034identifier)";
689717
PRODUCT_NAME = "$(TARGET_NAME)";
690718
TEST_HOST = "$(BUILT_PRODUCTS_DIR)/LBCache2-Demo.app/LBCache2-Demo";
691719
};

0 commit comments

Comments
 (0)