From 828ff9909267217e89b9229ea3bbee239a75f030 Mon Sep 17 00:00:00 2001 From: Alex Gray Date: Wed, 1 Feb 2017 09:07:46 -0500 Subject: [PATCH 1/3] removed unneccesary or redundant files --- TagsInputSample/AppDelegate.h | 17 ------- TagsInputSample/AppDelegate.m | 45 ------------------- .../AppIcon.appiconset/Contents.json | 38 ---------------- TagsInputSample/ViewController.h | 15 ------- TagsInputSampleTests/Info.plist | 24 ---------- TagsInputSampleTests/TagsInputSampleTests.m | 40 ----------------- 6 files changed, 179 deletions(-) delete mode 100644 TagsInputSample/AppDelegate.h delete mode 100644 TagsInputSample/AppDelegate.m delete mode 100644 TagsInputSample/Images.xcassets/AppIcon.appiconset/Contents.json delete mode 100644 TagsInputSample/ViewController.h delete mode 100644 TagsInputSampleTests/Info.plist delete mode 100644 TagsInputSampleTests/TagsInputSampleTests.m diff --git a/TagsInputSample/AppDelegate.h b/TagsInputSample/AppDelegate.h deleted file mode 100644 index 78df2ae..0000000 --- a/TagsInputSample/AppDelegate.h +++ /dev/null @@ -1,17 +0,0 @@ -// -// AppDelegate.h -// TagsInputSample -// -// Created by Антон Кузнецов on 11.02.15. -// Copyright (c) 2015 TheLightPrjg. All rights reserved. -// - -#import - -@interface AppDelegate : UIResponder - -@property (strong, nonatomic) UIWindow *window; - - -@end - diff --git a/TagsInputSample/AppDelegate.m b/TagsInputSample/AppDelegate.m deleted file mode 100644 index 102de2c..0000000 --- a/TagsInputSample/AppDelegate.m +++ /dev/null @@ -1,45 +0,0 @@ -// -// AppDelegate.m -// TagsInputSample -// -// Created by Антон Кузнецов on 11.02.15. -// Copyright (c) 2015 TheLightPrjg. All rights reserved. -// - -#import "AppDelegate.h" - -@interface AppDelegate () - -@end - -@implementation AppDelegate - - -- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { - // Override point for customization after application launch. - return YES; -} - -- (void)applicationWillResignActive:(UIApplication *)application { - // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. - // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. -} - -- (void)applicationDidEnterBackground:(UIApplication *)application { - // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. - // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. -} - -- (void)applicationWillEnterForeground:(UIApplication *)application { - // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. -} - -- (void)applicationDidBecomeActive:(UIApplication *)application { - // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. -} - -- (void)applicationWillTerminate:(UIApplication *)application { - // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. -} - -@end diff --git a/TagsInputSample/Images.xcassets/AppIcon.appiconset/Contents.json b/TagsInputSample/Images.xcassets/AppIcon.appiconset/Contents.json deleted file mode 100644 index 118c98f..0000000 --- a/TagsInputSample/Images.xcassets/AppIcon.appiconset/Contents.json +++ /dev/null @@ -1,38 +0,0 @@ -{ - "images" : [ - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "29x29", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "40x40", - "scale" : "3x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "2x" - }, - { - "idiom" : "iphone", - "size" : "60x60", - "scale" : "3x" - } - ], - "info" : { - "version" : 1, - "author" : "xcode" - } -} \ No newline at end of file diff --git a/TagsInputSample/ViewController.h b/TagsInputSample/ViewController.h deleted file mode 100644 index 619f8c7..0000000 --- a/TagsInputSample/ViewController.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// ViewController.h -// TagsInputSample -// -// Created by Антон Кузнецов on 11.02.15. -// Copyright (c) 2015 TheLightPrjg. All rights reserved. -// - -#import - -@interface ViewController : UIViewController - - -@end - diff --git a/TagsInputSampleTests/Info.plist b/TagsInputSampleTests/Info.plist deleted file mode 100644 index 4088e32..0000000 --- a/TagsInputSampleTests/Info.plist +++ /dev/null @@ -1,24 +0,0 @@ - - - - - CFBundleDevelopmentRegion - en - CFBundleExecutable - $(EXECUTABLE_NAME) - CFBundleIdentifier - com.thelightprj.$(PRODUCT_NAME:rfc1034identifier) - CFBundleInfoDictionaryVersion - 6.0 - CFBundleName - $(PRODUCT_NAME) - CFBundlePackageType - BNDL - CFBundleShortVersionString - 1.0 - CFBundleSignature - ???? - CFBundleVersion - 1 - - diff --git a/TagsInputSampleTests/TagsInputSampleTests.m b/TagsInputSampleTests/TagsInputSampleTests.m deleted file mode 100644 index a7fc6a1..0000000 --- a/TagsInputSampleTests/TagsInputSampleTests.m +++ /dev/null @@ -1,40 +0,0 @@ -// -// TagsInputSampleTests.m -// TagsInputSampleTests -// -// Created by Антон Кузнецов on 11.02.15. -// Copyright (c) 2015 TheLightPrjg. All rights reserved. -// - -#import -#import - -@interface TagsInputSampleTests : XCTestCase - -@end - -@implementation TagsInputSampleTests - -- (void)setUp { - [super setUp]; - // Put setup code here. This method is called before the invocation of each test method in the class. -} - -- (void)tearDown { - // Put teardown code here. This method is called after the invocation of each test method in the class. - [super tearDown]; -} - -- (void)testExample { - // This is an example of a functional test case. - XCTAssert(YES, @"Pass"); -} - -- (void)testPerformanceExample { - // This is an example of a performance test case. - [self measureBlock:^{ - // Put the code you want to measure the time of here. - }]; -} - -@end From 245c3087cd4534c786558aaf9e77cf0252580bc6 Mon Sep 17 00:00:00 2001 From: Alex Gray Date: Wed, 1 Feb 2017 09:08:26 -0500 Subject: [PATCH 2/3] consolidated app delegate into main, modularized --- TagsInputSample/main.m | 31 +++++++++++++++++++++---------- 1 file changed, 21 insertions(+), 10 deletions(-) diff --git a/TagsInputSample/main.m b/TagsInputSample/main.m index a20d7af..308d112 100644 --- a/TagsInputSample/main.m +++ b/TagsInputSample/main.m @@ -1,13 +1,24 @@ -// -// main.m -// TagsInputSample -// -// Created by Антон Кузнецов on 11.02.15. -// Copyright (c) 2015 TheLightPrjg. All rights reserved. -// - -#import -#import "AppDelegate.h" + +/* main.m + TagsInputSample + + Created by Антон Кузнецов on 11.02.15. + Copyright (c) 2015 TheLightPrjg. All rights reserved. */ + + +@import UIKit; + +@interface AppDelegate : UIResponder +@property (nonatomic) UIWindow *window; +@end + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)app didFinishLaunchingWithOptions:(NSDictionary *)opts { + return YES; +} + +@end int main(int argc, char * argv[]) { @autoreleasepool { From ab8b25397b2de90d35fa2a3c7f82f021ba581c85 Mon Sep 17 00:00:00 2001 From: Alex Gray Date: Wed, 1 Feb 2017 09:10:41 -0500 Subject: [PATCH 3/3] modernized and simplified sample project --- TagsInputSample.xcodeproj/project.pbxproj | 174 ++-------------------- TagsInputSample/Info.plist | 2 +- 2 files changed, 15 insertions(+), 161 deletions(-) diff --git a/TagsInputSample.xcodeproj/project.pbxproj b/TagsInputSample.xcodeproj/project.pbxproj index ee5bbd5..b24a504 100644 --- a/TagsInputSample.xcodeproj/project.pbxproj +++ b/TagsInputSample.xcodeproj/project.pbxproj @@ -8,39 +8,19 @@ /* Begin PBXBuildFile section */ ED8250A41A8A91E000528293 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = ED8250A31A8A91E000528293 /* main.m */; }; - ED8250A71A8A91E000528293 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = ED8250A61A8A91E000528293 /* AppDelegate.m */; }; ED8250AA1A8A91E000528293 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = ED8250A91A8A91E000528293 /* ViewController.m */; }; ED8250AD1A8A91E000528293 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = ED8250AB1A8A91E000528293 /* Main.storyboard */; }; - ED8250AF1A8A91E000528293 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = ED8250AE1A8A91E000528293 /* Images.xcassets */; }; ED8250B21A8A91E000528293 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = ED8250B01A8A91E000528293 /* LaunchScreen.xib */; }; - ED8250BE1A8A91E000528293 /* TagsInputSampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = ED8250BD1A8A91E000528293 /* TagsInputSampleTests.m */; }; ED8250CA1A8A927A00528293 /* TLTagsControl.m in Sources */ = {isa = PBXBuildFile; fileRef = ED8250C91A8A927A00528293 /* TLTagsControl.m */; }; /* End PBXBuildFile section */ -/* Begin PBXContainerItemProxy section */ - ED8250B81A8A91E000528293 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = ED8250961A8A91DF00528293 /* Project object */; - proxyType = 1; - remoteGlobalIDString = ED82509D1A8A91E000528293; - remoteInfo = TagsInputSample; - }; -/* End PBXContainerItemProxy section */ - /* Begin PBXFileReference section */ ED82509E1A8A91E000528293 /* TagsInputSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = TagsInputSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; ED8250A21A8A91E000528293 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; ED8250A31A8A91E000528293 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; - ED8250A51A8A91E000528293 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; - ED8250A61A8A91E000528293 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; - ED8250A81A8A91E000528293 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; ED8250A91A8A91E000528293 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; ED8250AC1A8A91E000528293 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; - ED8250AE1A8A91E000528293 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; ED8250B11A8A91E000528293 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; - ED8250B71A8A91E000528293 /* TagsInputSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = TagsInputSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - ED8250BC1A8A91E000528293 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - ED8250BD1A8A91E000528293 /* TagsInputSampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TagsInputSampleTests.m; sourceTree = ""; }; ED8250C81A8A927A00528293 /* TLTagsControl.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = TLTagsControl.h; path = TLTagsContol/TLTagsControl.h; sourceTree = SOURCE_ROOT; }; ED8250C91A8A927A00528293 /* TLTagsControl.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = TLTagsControl.m; path = TLTagsContol/TLTagsControl.m; sourceTree = SOURCE_ROOT; }; /* End PBXFileReference section */ @@ -53,31 +33,24 @@ ); runOnlyForDeploymentPostprocessing = 0; }; - ED8250B41A8A91E000528293 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ ED8250951A8A91DF00528293 = { isa = PBXGroup; children = ( - ED8250C71A8A923600528293 /* TLTagsControl */, + ED8250C81A8A927A00528293 /* TLTagsControl.h */, + ED8250C91A8A927A00528293 /* TLTagsControl.m */, ED8250A01A8A91E000528293 /* TagsInputSample */, - ED8250BA1A8A91E000528293 /* TagsInputSampleTests */, ED82509F1A8A91E000528293 /* Products */, ); sourceTree = ""; + usesTabs = 1; }; ED82509F1A8A91E000528293 /* Products */ = { isa = PBXGroup; children = ( ED82509E1A8A91E000528293 /* TagsInputSample.app */, - ED8250B71A8A91E000528293 /* TagsInputSampleTests.xctest */, ); name = Products; sourceTree = ""; @@ -85,51 +58,12 @@ ED8250A01A8A91E000528293 /* TagsInputSample */ = { isa = PBXGroup; children = ( - ED8250A51A8A91E000528293 /* AppDelegate.h */, - ED8250A61A8A91E000528293 /* AppDelegate.m */, - ED8250A81A8A91E000528293 /* ViewController.h */, ED8250A91A8A91E000528293 /* ViewController.m */, ED8250AB1A8A91E000528293 /* Main.storyboard */, - ED8250AE1A8A91E000528293 /* Images.xcassets */, ED8250B01A8A91E000528293 /* LaunchScreen.xib */, - ED8250A11A8A91E000528293 /* Supporting Files */, - ); - path = TagsInputSample; - sourceTree = ""; - }; - ED8250A11A8A91E000528293 /* Supporting Files */ = { - isa = PBXGroup; - children = ( ED8250A21A8A91E000528293 /* Info.plist */, ED8250A31A8A91E000528293 /* main.m */, ); - name = "Supporting Files"; - sourceTree = ""; - }; - ED8250BA1A8A91E000528293 /* TagsInputSampleTests */ = { - isa = PBXGroup; - children = ( - ED8250BD1A8A91E000528293 /* TagsInputSampleTests.m */, - ED8250BB1A8A91E000528293 /* Supporting Files */, - ); - path = TagsInputSampleTests; - sourceTree = ""; - }; - ED8250BB1A8A91E000528293 /* Supporting Files */ = { - isa = PBXGroup; - children = ( - ED8250BC1A8A91E000528293 /* Info.plist */, - ); - name = "Supporting Files"; - sourceTree = ""; - }; - ED8250C71A8A923600528293 /* TLTagsControl */ = { - isa = PBXGroup; - children = ( - ED8250C81A8A927A00528293 /* TLTagsControl.h */, - ED8250C91A8A927A00528293 /* TLTagsControl.m */, - ); - name = TLTagsControl; path = TagsInputSample; sourceTree = ""; }; @@ -153,40 +87,18 @@ productReference = ED82509E1A8A91E000528293 /* TagsInputSample.app */; productType = "com.apple.product-type.application"; }; - ED8250B61A8A91E000528293 /* TagsInputSampleTests */ = { - isa = PBXNativeTarget; - buildConfigurationList = ED8250C41A8A91E000528293 /* Build configuration list for PBXNativeTarget "TagsInputSampleTests" */; - buildPhases = ( - ED8250B31A8A91E000528293 /* Sources */, - ED8250B41A8A91E000528293 /* Frameworks */, - ED8250B51A8A91E000528293 /* Resources */, - ); - buildRules = ( - ); - dependencies = ( - ED8250B91A8A91E000528293 /* PBXTargetDependency */, - ); - name = TagsInputSampleTests; - productName = TagsInputSampleTests; - productReference = ED8250B71A8A91E000528293 /* TagsInputSampleTests.xctest */; - productType = "com.apple.product-type.bundle.unit-test"; - }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ ED8250961A8A91DF00528293 /* Project object */ = { isa = PBXProject; attributes = { - LastUpgradeCheck = 0610; + LastUpgradeCheck = 0830; ORGANIZATIONNAME = TheLightPrjg; TargetAttributes = { ED82509D1A8A91E000528293 = { CreatedOnToolsVersion = 6.1; }; - ED8250B61A8A91E000528293 = { - CreatedOnToolsVersion = 6.1; - TestTargetID = ED82509D1A8A91E000528293; - }; }; }; buildConfigurationList = ED8250991A8A91DF00528293 /* Build configuration list for PBXProject "TagsInputSample" */; @@ -203,7 +115,6 @@ projectRoot = ""; targets = ( ED82509D1A8A91E000528293 /* TagsInputSample */, - ED8250B61A8A91E000528293 /* TagsInputSampleTests */, ); }; /* End PBXProject section */ @@ -215,14 +126,6 @@ files = ( ED8250AD1A8A91E000528293 /* Main.storyboard in Resources */, ED8250B21A8A91E000528293 /* LaunchScreen.xib in Resources */, - ED8250AF1A8A91E000528293 /* Images.xcassets in Resources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - ED8250B51A8A91E000528293 /* Resources */ = { - isa = PBXResourcesBuildPhase; - buildActionMask = 2147483647; - files = ( ); runOnlyForDeploymentPostprocessing = 0; }; @@ -234,30 +137,13 @@ buildActionMask = 2147483647; files = ( ED8250AA1A8A91E000528293 /* ViewController.m in Sources */, - ED8250A71A8A91E000528293 /* AppDelegate.m in Sources */, ED8250CA1A8A927A00528293 /* TLTagsControl.m in Sources */, ED8250A41A8A91E000528293 /* main.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - ED8250B31A8A91E000528293 /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - ED8250BE1A8A91E000528293 /* TagsInputSampleTests.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; /* End PBXSourcesBuildPhase section */ -/* Begin PBXTargetDependency section */ - ED8250B91A8A91E000528293 /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - target = ED82509D1A8A91E000528293 /* TagsInputSample */; - targetProxy = ED8250B81A8A91E000528293 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - /* Begin PBXVariantGroup section */ ED8250AB1A8A91E000528293 /* Main.storyboard */ = { isa = PBXVariantGroup; @@ -291,15 +177,19 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; + GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( "DEBUG=1", @@ -332,8 +222,10 @@ CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_SUSPICIOUS_MOVE = YES; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; @@ -341,6 +233,7 @@ ENABLE_NS_ASSERTIONS = NO; ENABLE_STRICT_OBJC_MSGSEND = YES; GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_NO_COMMON_BLOCKS = YES; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -360,6 +253,7 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = TagsInputSample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.thelightprj.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -370,44 +264,11 @@ ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; INFOPLIST_FILE = TagsInputSample/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.thelightprj.$(PRODUCT_NAME:rfc1034identifier)"; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; }; - ED8250C51A8A91E000528293 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = TagsInputSampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TagsInputSample.app/TagsInputSample"; - }; - name = Debug; - }; - ED8250C61A8A91E000528293 /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - BUNDLE_LOADER = "$(TEST_HOST)"; - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = TagsInputSampleTests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_NAME = "$(TARGET_NAME)"; - TEST_HOST = "$(BUILT_PRODUCTS_DIR)/TagsInputSample.app/TagsInputSample"; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -427,14 +288,7 @@ ED8250C31A8A91E000528293 /* Release */, ); defaultConfigurationIsVisible = 0; - }; - ED8250C41A8A91E000528293 /* Build configuration list for PBXNativeTarget "TagsInputSampleTests" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - ED8250C51A8A91E000528293 /* Debug */, - ED8250C61A8A91E000528293 /* Release */, - ); - defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; diff --git a/TagsInputSample/Info.plist b/TagsInputSample/Info.plist index 6d483cc..6905cc6 100644 --- a/TagsInputSample/Info.plist +++ b/TagsInputSample/Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable $(EXECUTABLE_NAME) CFBundleIdentifier - com.thelightprj.$(PRODUCT_NAME:rfc1034identifier) + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName