From a5ef37e3669b182908e483069e752296853ade20 Mon Sep 17 00:00:00 2001 From: Danil Gontovnik Date: Fri, 18 Sep 2015 11:50:17 +0100 Subject: [PATCH] Update project to recommented settings (xcode7) --- .../project.pbxproj | 7 ++++++- .../xcschemes/DGActivityIndicatorExample.xcscheme | 13 ++++++++----- DGActivityIndicatorExample/Info.plist | 2 +- DGActivityIndicatorExample/ViewController.m | 2 +- DGActivityIndicatorExampleTests/Info.plist | 2 +- 5 files changed, 17 insertions(+), 9 deletions(-) diff --git a/DGActivityIndicatorExample.xcodeproj/project.pbxproj b/DGActivityIndicatorExample.xcodeproj/project.pbxproj index f57bc20..dd4973b 100644 --- a/DGActivityIndicatorExample.xcodeproj/project.pbxproj +++ b/DGActivityIndicatorExample.xcodeproj/project.pbxproj @@ -345,7 +345,7 @@ 05257D931B10E796006354A6 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0630; + LastUpgradeCheck = 0700; ORGANIZATIONNAME = "Danil Gontovnik"; TargetAttributes = { 05257D9A1B10E796006354A6 = { @@ -479,6 +479,7 @@ COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; @@ -546,6 +547,7 @@ INFOPLIST_FILE = DGActivityIndicatorExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 7.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.gatafan.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -558,6 +560,7 @@ INFOPLIST_FILE = DGActivityIndicatorExample/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 7.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.gatafan.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; @@ -576,6 +579,7 @@ ); INFOPLIST_FILE = DGActivityIndicatorExampleTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.gatafan.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DGActivityIndicatorExample.app/DGActivityIndicatorExample"; }; @@ -591,6 +595,7 @@ ); INFOPLIST_FILE = DGActivityIndicatorExampleTests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.gatafan.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DGActivityIndicatorExample.app/DGActivityIndicatorExample"; }; diff --git a/DGActivityIndicatorExample.xcodeproj/xcuserdata/danil.gontovik.xcuserdatad/xcschemes/DGActivityIndicatorExample.xcscheme b/DGActivityIndicatorExample.xcodeproj/xcuserdata/danil.gontovik.xcuserdatad/xcschemes/DGActivityIndicatorExample.xcscheme index 9de3bb6..2f1e297 100644 --- a/DGActivityIndicatorExample.xcodeproj/xcuserdata/danil.gontovik.xcuserdatad/xcschemes/DGActivityIndicatorExample.xcscheme +++ b/DGActivityIndicatorExample.xcodeproj/xcuserdata/danil.gontovik.xcuserdatad/xcschemes/DGActivityIndicatorExample.xcscheme @@ -1,6 +1,6 @@ + shouldUseLaunchSchemeArgsEnv = "YES"> @@ -62,15 +62,18 @@ ReferencedContainer = "container:DGActivityIndicatorExample.xcodeproj"> + + @@ -86,10 +89,10 @@ diff --git a/DGActivityIndicatorExample/Info.plist b/DGActivityIndicatorExample/Info.plist index b16b2dd..dd68ca0 100644 --- a/DGActivityIndicatorExample/Info.plist +++ b/DGActivityIndicatorExample/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - com.gatafan.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/DGActivityIndicatorExample/ViewController.m b/DGActivityIndicatorExample/ViewController.m index 2af7c95..064f2f2 100644 --- a/DGActivityIndicatorExample/ViewController.m +++ b/DGActivityIndicatorExample/ViewController.m @@ -53,7 +53,7 @@ - (void)viewDidLoad { @(DGActivityIndicatorAnimationTypeRotatingTrigons), @(DGActivityIndicatorAnimationTypeTripleRings), @(DGActivityIndicatorAnimationTypeCookieTerminator), - @(DGActivityIndicatorAnimationTypeBallSpinFadeLoader)]; + @(DGActivityIndicatorAnimationTypeBallSpinFadeLoader)]; for (int i = 0; i < activityTypes.count; i++) { DGActivityIndicatorView *activityIndicatorView = [[DGActivityIndicatorView alloc] initWithType:(DGActivityIndicatorAnimationType)[activityTypes[i] integerValue] tintColor:[UIColor whiteColor]]; diff --git a/DGActivityIndicatorExampleTests/Info.plist b/DGActivityIndicatorExampleTests/Info.plist index 089278b..ba72822 100644 --- a/DGActivityIndicatorExampleTests/Info.plist +++ b/DGActivityIndicatorExampleTests/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - com.gatafan.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName