From b264e563d94ea4fd4413119b86cb816d61c9c71e Mon Sep 17 00:00:00 2001 From: rico becker Date: Mon, 17 Mar 2014 11:12:11 +0100 Subject: [PATCH 1/2] adds travis config --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..aa0270c --- /dev/null +++ b/.travis.yml @@ -0,0 +1,7 @@ +language: objective-c +env: LC_ALL="en_US.UTF-8" +rvm: 1.9.3 +before_install: + - gem install cocoapods --no-ri --no-rdoc +script: xcodebuild -workspace KFAboutWindow.xcworkspace -scheme KFAboutWindowPreview -sdk macosx10.9 test + From 3e786531db09b284b59ee373bff624b3c36f2ae7 Mon Sep 17 00:00:00 2001 From: rico becker Date: Tue, 13 Oct 2015 22:31:55 +0200 Subject: [PATCH 2/2] Adds framework target --- Classes/osx/KFAboutWindowController.m | 6 +- Classes/osx/KFAboutWindowStyleModel.h | 2 +- Classes/osx/NSAttributedString+CocoaPods.h | 2 +- Project/KFAboutWindow/Info.plist | 28 +++ Project/KFAboutWindow/KFAboutWindow.h | 21 ++ .../project.pbxproj | 200 +++++++++++++++++- .../KFAboutWindowPreview.xcscmblueprint | 30 +++ .../xcschemes/KFAboutWindow.xcscheme | 80 +++++++ .../xcschemes/KFAboutWindowPreview.xcscheme | 110 ---------- .../KFAboutWindowPreview-Info.plist | 2 +- .../KFAboutWindowPreviewTests-Info.plist | 2 +- 11 files changed, 365 insertions(+), 118 deletions(-) create mode 100644 Project/KFAboutWindow/Info.plist create mode 100644 Project/KFAboutWindow/KFAboutWindow.h create mode 100644 Project/KFAboutWindowPreview.xcodeproj/project.xcworkspace/xcshareddata/KFAboutWindowPreview.xcscmblueprint create mode 100644 Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindow.xcscheme delete mode 100644 Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindowPreview.xcscheme diff --git a/Classes/osx/KFAboutWindowController.m b/Classes/osx/KFAboutWindowController.m index f73077e..21a3d0a 100644 --- a/Classes/osx/KFAboutWindowController.m +++ b/Classes/osx/KFAboutWindowController.m @@ -90,11 +90,11 @@ - (void)windowDidLoad self.bundleVersion = info[@"CFBundleVersion"]; self.humanReadableCopyright = info[@"NSHumanReadableCopyright"]; - NSString *creditsPath = [[NSBundle mainBundle] pathForResource:@"Credits" ofType:@"rtf"]; + NSURL *creditsURL = [[NSBundle mainBundle] URLForResource:@"Credits" withExtension:@"rtf"]; - if (creditsPath != nil) + if (creditsURL != nil) { - self.credits = [[NSAttributedString alloc] initWithPath:creditsPath documentAttributes:nil]; + self.credits = [[NSAttributedString alloc] initWithURL:creditsURL options:[NSDictionary new] documentAttributes:nil error:nil]; } NSString *acknowledgementsPath = [[NSBundle mainBundle] pathForResource:@"Acknowledgements" ofType:@"plist"]; diff --git a/Classes/osx/KFAboutWindowStyleModel.h b/Classes/osx/KFAboutWindowStyleModel.h index 719553e..3041dc7 100644 --- a/Classes/osx/KFAboutWindowStyleModel.h +++ b/Classes/osx/KFAboutWindowStyleModel.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 KF Interactive. All rights reserved. // -#import +#import @interface KFAboutWindowStyleModel : NSObject diff --git a/Classes/osx/NSAttributedString+CocoaPods.h b/Classes/osx/NSAttributedString+CocoaPods.h index 4bb0f7b..54ef427 100644 --- a/Classes/osx/NSAttributedString+CocoaPods.h +++ b/Classes/osx/NSAttributedString+CocoaPods.h @@ -6,7 +6,7 @@ // Copyright (c) 2014 KF Interactive. All rights reserved. // -#import +#import #if TARGET_OS_IPHONE #define ColorClassName UIColor diff --git a/Project/KFAboutWindow/Info.plist b/Project/KFAboutWindow/Info.plist new file mode 100644 index 0000000..9941559 --- /dev/null +++ b/Project/KFAboutWindow/Info.plist @@ -0,0 +1,28 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + $(PRODUCT_BUNDLE_IDENTIFIER) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + $(CURRENT_PROJECT_VERSION) + NSHumanReadableCopyright + Copyright © 2015 KF Interactive. All rights reserved. + NSPrincipalClass + + + diff --git a/Project/KFAboutWindow/KFAboutWindow.h b/Project/KFAboutWindow/KFAboutWindow.h new file mode 100644 index 0000000..2b85893 --- /dev/null +++ b/Project/KFAboutWindow/KFAboutWindow.h @@ -0,0 +1,21 @@ +// +// KFAboutWindow.h +// KFAboutWindow +// +// Created by rick on 13/10/15. +// Copyright © 2015 KF Interactive. All rights reserved. +// + +#import + +//! Project version number for KFAboutWindow. +FOUNDATION_EXPORT double KFAboutWindowVersionNumber; + +//! Project version string for KFAboutWindow. +FOUNDATION_EXPORT const unsigned char KFAboutWindowVersionString[]; + +// In this header, you should import all the public headers of your framework using statements like #import + + +#import "KFAboutWindowController.h" +#import "KFAboutWindowStyleModel.h" \ No newline at end of file diff --git a/Project/KFAboutWindowPreview.xcodeproj/project.pbxproj b/Project/KFAboutWindowPreview.xcodeproj/project.pbxproj index d0e3dc8..49252f4 100644 --- a/Project/KFAboutWindowPreview.xcodeproj/project.pbxproj +++ b/Project/KFAboutWindowPreview.xcodeproj/project.pbxproj @@ -18,6 +18,21 @@ 1D8FD4D818C7D7CE00D9A9FA /* Cocoa.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D8FD4B718C7D7CD00D9A9FA /* Cocoa.framework */; }; 1D8FD4E018C7D7CE00D9A9FA /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 1D8FD4DE18C7D7CE00D9A9FA /* InfoPlist.strings */; }; 1D8FD4E218C7D7CE00D9A9FA /* KFAboutWindowPreviewTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 1D8FD4E118C7D7CE00D9A9FA /* KFAboutWindowPreviewTests.m */; }; + 1D998F5F1BCD90D500D56F27 /* KFAboutWindow.h in Headers */ = {isa = PBXBuildFile; fileRef = 1D998F5E1BCD90D500D56F27 /* KFAboutWindow.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 1D998F631BCD90D500D56F27 /* KFAboutWindow.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1D998F5C1BCD90D500D56F27 /* KFAboutWindow.framework */; }; + 1D998F641BCD90D500D56F27 /* KFAboutWindow.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = 1D998F5C1BCD90D500D56F27 /* KFAboutWindow.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; }; + 1D998F691BCD910300D56F27 /* KFAboutWindowController.m in Sources */ = {isa = PBXBuildFile; fileRef = FDEBCD5C19F9AA7F00540776 /* KFAboutWindowController.m */; settings = {ASSET_TAGS = (); }; }; + 1D998F6A1BCD910300D56F27 /* KFAboutWindowStyleModel.m in Sources */ = {isa = PBXBuildFile; fileRef = FDEBCD5E19F9AA7F00540776 /* KFAboutWindowStyleModel.m */; settings = {ASSET_TAGS = (); }; }; + 1D998F6B1BCD91E000D56F27 /* KFAutoScrollTextView.m in Sources */ = {isa = PBXBuildFile; fileRef = FDEBCD6019F9AA7F00540776 /* KFAutoScrollTextView.m */; settings = {ASSET_TAGS = (); }; }; + 1D998F6C1BCD91E300D56F27 /* KFGradientScrollView.m in Sources */ = {isa = PBXBuildFile; fileRef = FDEBCD6219F9AA8000540776 /* KFGradientScrollView.m */; settings = {ASSET_TAGS = (); }; }; + 1D998F6D1BCD91E900D56F27 /* KFAboutWindowController.h in Headers */ = {isa = PBXBuildFile; fileRef = FDEBCD5B19F9AA7F00540776 /* KFAboutWindowController.h */; settings = {ASSET_TAGS = (); }; }; + 1D998F6E1BCD91E900D56F27 /* KFAboutWindowStyleModel.h in Headers */ = {isa = PBXBuildFile; fileRef = FDEBCD5D19F9AA7F00540776 /* KFAboutWindowStyleModel.h */; settings = {ASSET_TAGS = (); }; }; + 1D998F6F1BCD91E900D56F27 /* KFAutoScrollTextView.h in Headers */ = {isa = PBXBuildFile; fileRef = FDEBCD5F19F9AA7F00540776 /* KFAutoScrollTextView.h */; settings = {ASSET_TAGS = (); }; }; + 1D998F701BCD91E900D56F27 /* KFGradientScrollView.h in Headers */ = {isa = PBXBuildFile; fileRef = FDEBCD6119F9AA8000540776 /* KFGradientScrollView.h */; settings = {ASSET_TAGS = (); }; }; + 1D998F711BCD91E900D56F27 /* KFWebsiteButtonBundleNameTransformer.h in Headers */ = {isa = PBXBuildFile; fileRef = FDEBCD6319F9AA8000540776 /* KFWebsiteButtonBundleNameTransformer.h */; settings = {ASSET_TAGS = (); }; }; + 1D998F721BCD91E900D56F27 /* KFWebsiteButtonBundleNameTransformer.m in Sources */ = {isa = PBXBuildFile; fileRef = FDEBCD6419F9AA8000540776 /* KFWebsiteButtonBundleNameTransformer.m */; settings = {ASSET_TAGS = (); }; }; + 1D998F731BCD91E900D56F27 /* NSAttributedString+CocoaPods.h in Headers */ = {isa = PBXBuildFile; fileRef = FDEBCD6519F9AA8000540776 /* NSAttributedString+CocoaPods.h */; settings = {ASSET_TAGS = (); }; }; + 1D998F741BCD91E900D56F27 /* NSAttributedString+CocoaPods.m in Sources */ = {isa = PBXBuildFile; fileRef = FDEBCD6619F9AA8000540776 /* NSAttributedString+CocoaPods.m */; settings = {ASSET_TAGS = (); }; }; 1DA9F25718C887D0001BAB97 /* Acknowledgements.plist in Resources */ = {isa = PBXBuildFile; fileRef = 1DA9F25618C887D0001BAB97 /* Acknowledgements.plist */; }; 1DA9F25D18C8A515001BAB97 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1DA9F25C18C8A515001BAB97 /* QuartzCore.framework */; }; FDEBCD6719F9AA8000540776 /* KFAboutWindow.xib in Resources */ = {isa = PBXBuildFile; fileRef = FDEBCD5819F9AA7F00540776 /* KFAboutWindow.xib */; }; @@ -37,8 +52,29 @@ remoteGlobalIDString = 1D8FD4B318C7D7CD00D9A9FA; remoteInfo = KFAboutWindowPreview; }; + 1D998F611BCD90D500D56F27 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = 1D8FD4AC18C7D7CD00D9A9FA /* Project object */; + proxyType = 1; + remoteGlobalIDString = 1D998F5B1BCD90D500D56F27; + remoteInfo = KFAboutWindow; + }; /* End PBXContainerItemProxy section */ +/* Begin PBXCopyFilesBuildPhase section */ + 1D998F681BCD90D500D56F27 /* Embed Frameworks */ = { + isa = PBXCopyFilesBuildPhase; + buildActionMask = 2147483647; + dstPath = ""; + dstSubfolderSpec = 10; + files = ( + 1D998F641BCD90D500D56F27 /* KFAboutWindow.framework in Embed Frameworks */, + ); + name = "Embed Frameworks"; + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXCopyFilesBuildPhase section */ + /* Begin PBXFileReference section */ 1D8FD4B418C7D7CD00D9A9FA /* KFAboutWindowPreview.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = KFAboutWindowPreview.app; sourceTree = BUILT_PRODUCTS_DIR; }; 1D8FD4B718C7D7CD00D9A9FA /* Cocoa.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Cocoa.framework; path = System/Library/Frameworks/Cocoa.framework; sourceTree = SDKROOT; }; @@ -59,6 +95,9 @@ 1D8FD4DD18C7D7CE00D9A9FA /* KFAboutWindowPreviewTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "KFAboutWindowPreviewTests-Info.plist"; sourceTree = ""; }; 1D8FD4DF18C7D7CE00D9A9FA /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 1D8FD4E118C7D7CE00D9A9FA /* KFAboutWindowPreviewTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = KFAboutWindowPreviewTests.m; sourceTree = ""; }; + 1D998F5C1BCD90D500D56F27 /* KFAboutWindow.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KFAboutWindow.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 1D998F5E1BCD90D500D56F27 /* KFAboutWindow.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = KFAboutWindow.h; sourceTree = ""; }; + 1D998F601BCD90D500D56F27 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 1DA9F25618C887D0001BAB97 /* Acknowledgements.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; path = Acknowledgements.plist; sourceTree = ""; }; 1DA9F25C18C8A515001BAB97 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = System/Library/Frameworks/QuartzCore.framework; sourceTree = SDKROOT; }; FDEBCD5819F9AA7F00540776 /* KFAboutWindow.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = KFAboutWindow.xib; sourceTree = ""; }; @@ -83,6 +122,7 @@ files = ( 1DA9F25D18C8A515001BAB97 /* QuartzCore.framework in Frameworks */, 1D8FD4B818C7D7CD00D9A9FA /* Cocoa.framework in Frameworks */, + 1D998F631BCD90D500D56F27 /* KFAboutWindow.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -95,6 +135,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 1D998F581BCD90D500D56F27 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ @@ -103,6 +150,7 @@ children = ( 1D8FD4BD18C7D7CD00D9A9FA /* KFAboutWindowPreview */, 1D8FD4DB18C7D7CE00D9A9FA /* KFAboutWindowPreviewTests */, + 1D998F5D1BCD90D500D56F27 /* KFAboutWindow */, 1D8FD4B618C7D7CD00D9A9FA /* Frameworks */, 1D8FD4B518C7D7CD00D9A9FA /* Products */, ); @@ -113,6 +161,7 @@ children = ( 1D8FD4B418C7D7CD00D9A9FA /* KFAboutWindowPreview.app */, 1D8FD4D518C7D7CE00D9A9FA /* KFAboutWindowPreviewTests.xctest */, + 1D998F5C1BCD90D500D56F27 /* KFAboutWindow.framework */, ); name = Products; sourceTree = ""; @@ -183,6 +232,15 @@ name = "Supporting Files"; sourceTree = ""; }; + 1D998F5D1BCD90D500D56F27 /* KFAboutWindow */ = { + isa = PBXGroup; + children = ( + 1D998F5E1BCD90D500D56F27 /* KFAboutWindow.h */, + 1D998F601BCD90D500D56F27 /* Info.plist */, + ); + path = KFAboutWindow; + sourceTree = ""; + }; FDEBCD5619F9AA7F00540776 /* Assets */ = { isa = PBXGroup; children = ( @@ -230,6 +288,23 @@ }; /* End PBXGroup section */ +/* Begin PBXHeadersBuildPhase section */ + 1D998F591BCD90D500D56F27 /* Headers */ = { + isa = PBXHeadersBuildPhase; + buildActionMask = 2147483647; + files = ( + 1D998F711BCD91E900D56F27 /* KFWebsiteButtonBundleNameTransformer.h in Headers */, + 1D998F6E1BCD91E900D56F27 /* KFAboutWindowStyleModel.h in Headers */, + 1D998F701BCD91E900D56F27 /* KFGradientScrollView.h in Headers */, + 1D998F6F1BCD91E900D56F27 /* KFAutoScrollTextView.h in Headers */, + 1D998F731BCD91E900D56F27 /* NSAttributedString+CocoaPods.h in Headers */, + 1D998F5F1BCD90D500D56F27 /* KFAboutWindow.h in Headers */, + 1D998F6D1BCD91E900D56F27 /* KFAboutWindowController.h in Headers */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXHeadersBuildPhase section */ + /* Begin PBXNativeTarget section */ 1D8FD4B318C7D7CD00D9A9FA /* KFAboutWindowPreview */ = { isa = PBXNativeTarget; @@ -238,10 +313,12 @@ 1D8FD4B018C7D7CD00D9A9FA /* Sources */, 1D8FD4B118C7D7CD00D9A9FA /* Frameworks */, 1D8FD4B218C7D7CD00D9A9FA /* Resources */, + 1D998F681BCD90D500D56F27 /* Embed Frameworks */, ); buildRules = ( ); dependencies = ( + 1D998F621BCD90D500D56F27 /* PBXTargetDependency */, ); name = KFAboutWindowPreview; productName = KFAboutWindowPreview; @@ -266,6 +343,24 @@ productReference = 1D8FD4D518C7D7CE00D9A9FA /* KFAboutWindowPreviewTests.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + 1D998F5B1BCD90D500D56F27 /* KFAboutWindow */ = { + isa = PBXNativeTarget; + buildConfigurationList = 1D998F671BCD90D500D56F27 /* Build configuration list for PBXNativeTarget "KFAboutWindow" */; + buildPhases = ( + 1D998F571BCD90D500D56F27 /* Sources */, + 1D998F581BCD90D500D56F27 /* Frameworks */, + 1D998F591BCD90D500D56F27 /* Headers */, + 1D998F5A1BCD90D500D56F27 /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = KFAboutWindow; + productName = KFAboutWindow; + productReference = 1D998F5C1BCD90D500D56F27 /* KFAboutWindow.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ @@ -273,12 +368,15 @@ isa = PBXProject; attributes = { CLASSPREFIX = KF; - LastUpgradeCheck = 0500; + LastUpgradeCheck = 0700; ORGANIZATIONNAME = "KF Interactive"; TargetAttributes = { 1D8FD4D418C7D7CE00D9A9FA = { TestTargetID = 1D8FD4B318C7D7CD00D9A9FA; }; + 1D998F5B1BCD90D500D56F27 = { + CreatedOnToolsVersion = 7.0; + }; }; }; buildConfigurationList = 1D8FD4AF18C7D7CD00D9A9FA /* Build configuration list for PBXProject "KFAboutWindowPreview" */; @@ -296,6 +394,7 @@ targets = ( 1D8FD4B318C7D7CD00D9A9FA /* KFAboutWindowPreview */, 1D8FD4D418C7D7CE00D9A9FA /* KFAboutWindowPreviewTests */, + 1D998F5B1BCD90D500D56F27 /* KFAboutWindow */, ); }; /* End PBXProject section */ @@ -322,6 +421,13 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 1D998F5A1BCD90D500D56F27 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ @@ -348,6 +454,19 @@ ); runOnlyForDeploymentPostprocessing = 0; }; + 1D998F571BCD90D500D56F27 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 1D998F6A1BCD910300D56F27 /* KFAboutWindowStyleModel.m in Sources */, + 1D998F741BCD91E900D56F27 /* NSAttributedString+CocoaPods.m in Sources */, + 1D998F721BCD91E900D56F27 /* KFWebsiteButtonBundleNameTransformer.m in Sources */, + 1D998F6B1BCD91E000D56F27 /* KFAutoScrollTextView.m in Sources */, + 1D998F6C1BCD91E300D56F27 /* KFGradientScrollView.m in Sources */, + 1D998F691BCD910300D56F27 /* KFAboutWindowController.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ @@ -356,6 +475,11 @@ target = 1D8FD4B318C7D7CD00D9A9FA /* KFAboutWindowPreview */; targetProxy = 1D8FD4D918C7D7CE00D9A9FA /* PBXContainerItemProxy */; }; + 1D998F621BCD90D500D56F27 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = 1D998F5B1BCD90D500D56F27 /* KFAboutWindow */; + targetProxy = 1D998F611BCD90D500D56F27 /* PBXContainerItemProxy */; + }; /* End PBXTargetDependency section */ /* Begin PBXVariantGroup section */ @@ -410,6 +534,7 @@ CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; COPY_PHASE_STRIP = NO; + ENABLE_TESTABILITY = YES; GCC_C_LANGUAGE_STANDARD = gnu99; GCC_DYNAMIC_NO_PIC = NO; GCC_ENABLE_OBJC_EXCEPTIONS = YES; @@ -470,6 +595,8 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "KFAboutWindowPreview/KFAboutWindowPreview-Prefix.pch"; INFOPLIST_FILE = "KFAboutWindowPreview/KFAboutWindowPreview-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.kfinteractive.osx.ui.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = app; }; @@ -483,6 +610,8 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "KFAboutWindowPreview/KFAboutWindowPreview-Prefix.pch"; INFOPLIST_FILE = "KFAboutWindowPreview/KFAboutWindowPreview-Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = "com.kfinteractive.osx.ui.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; WRAPPER_EXTENSION = app; }; @@ -504,6 +633,7 @@ "$(inherited)", ); INFOPLIST_FILE = "KFAboutWindowPreviewTests/KFAboutWindowPreviewTests-Info.plist"; + PRODUCT_BUNDLE_IDENTIFIER = "com.kfinteractive.osx.ui.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUNDLE_LOADER)"; WRAPPER_EXTENSION = xctest; @@ -522,12 +652,72 @@ GCC_PRECOMPILE_PREFIX_HEADER = YES; GCC_PREFIX_HEADER = "KFAboutWindowPreview/KFAboutWindowPreview-Prefix.pch"; INFOPLIST_FILE = "KFAboutWindowPreviewTests/KFAboutWindowPreviewTests-Info.plist"; + PRODUCT_BUNDLE_IDENTIFIER = "com.kfinteractive.osx.ui.${PRODUCT_NAME:rfc1034identifier}"; PRODUCT_NAME = "$(TARGET_NAME)"; TEST_HOST = "$(BUNDLE_LOADER)"; WRAPPER_EXTENSION = xctest; }; name = Release; }; + 1D998F651BCD90D500D56F27 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + ENABLE_TESTABILITY = YES; + FRAMEWORK_VERSION = A; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = KFAboutWindow/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = YES; + PRODUCT_BUNDLE_IDENTIFIER = "com.kf-interactive.osx.KFAboutWindow"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + 1D998F661BCD90D500D56F27 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CLANG_ENABLE_MODULES = YES; + CLANG_WARN_UNREACHABLE_CODE = YES; + COMBINE_HIDPI_IMAGES = YES; + COPY_PHASE_STRIP = NO; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_STRICT_OBJC_MSGSEND = YES; + FRAMEWORK_VERSION = A; + GCC_NO_COMMON_BLOCKS = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + INFOPLIST_FILE = KFAboutWindow/Info.plist; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @loader_path/Frameworks"; + MACOSX_DEPLOYMENT_TARGET = 10.11; + MTL_ENABLE_DEBUG_INFO = NO; + PRODUCT_BUNDLE_IDENTIFIER = "com.kf-interactive.osx.KFAboutWindow"; + PRODUCT_NAME = "$(TARGET_NAME)"; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Release; + }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ @@ -558,6 +748,14 @@ defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; + 1D998F671BCD90D500D56F27 /* Build configuration list for PBXNativeTarget "KFAboutWindow" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 1D998F651BCD90D500D56F27 /* Debug */, + 1D998F661BCD90D500D56F27 /* Release */, + ); + defaultConfigurationIsVisible = 0; + }; /* End XCConfigurationList section */ }; rootObject = 1D8FD4AC18C7D7CD00D9A9FA /* Project object */; diff --git a/Project/KFAboutWindowPreview.xcodeproj/project.xcworkspace/xcshareddata/KFAboutWindowPreview.xcscmblueprint b/Project/KFAboutWindowPreview.xcodeproj/project.xcworkspace/xcshareddata/KFAboutWindowPreview.xcscmblueprint new file mode 100644 index 0000000..d77a7d4 --- /dev/null +++ b/Project/KFAboutWindowPreview.xcodeproj/project.xcworkspace/xcshareddata/KFAboutWindowPreview.xcscmblueprint @@ -0,0 +1,30 @@ +{ + "DVTSourceControlWorkspaceBlueprintPrimaryRemoteRepositoryKey" : "C8303A5431C9171FF0540949C6B095A170B8DE2B", + "DVTSourceControlWorkspaceBlueprintWorkingCopyRepositoryLocationsKey" : { + + }, + "DVTSourceControlWorkspaceBlueprintWorkingCopyStatesKey" : { + "C8303A5431C9171FF0540949C6B095A170B8DE2B" : 0, + "982310E13E76901E4324C124A89637FCC19E0FEE" : 0 + }, + "DVTSourceControlWorkspaceBlueprintIdentifierKey" : "A614F089-24B5-44E9-B1A2-77501E198601", + "DVTSourceControlWorkspaceBlueprintWorkingCopyPathsKey" : { + "C8303A5431C9171FF0540949C6B095A170B8DE2B" : "KFAboutWindow\/", + "982310E13E76901E4324C124A89637FCC19E0FEE" : ".." + }, + "DVTSourceControlWorkspaceBlueprintNameKey" : "KFAboutWindowPreview", + "DVTSourceControlWorkspaceBlueprintVersion" : 204, + "DVTSourceControlWorkspaceBlueprintRelativePathToProjectKey" : "Project\/KFAboutWindowPreview.xcodeproj", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoriesKey" : [ + { + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "ssh:\/\/85.232.8.233:8022\/ost\/provision-buddy.git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "982310E13E76901E4324C124A89637FCC19E0FEE" + }, + { + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryURLKey" : "https:\/\/github.com\/ricobeck\/KFAboutWindow.git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositorySystemKey" : "com.apple.dt.Xcode.sourcecontrol.Git", + "DVTSourceControlWorkspaceBlueprintRemoteRepositoryIdentifierKey" : "C8303A5431C9171FF0540949C6B095A170B8DE2B" + } + ] +} \ No newline at end of file diff --git a/Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindow.xcscheme b/Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindow.xcscheme new file mode 100644 index 0000000..c51c6ed --- /dev/null +++ b/Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindow.xcscheme @@ -0,0 +1,80 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindowPreview.xcscheme b/Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindowPreview.xcscheme deleted file mode 100644 index 487ebb3..0000000 --- a/Project/KFAboutWindowPreview.xcodeproj/xcshareddata/xcschemes/KFAboutWindowPreview.xcscheme +++ /dev/null @@ -1,110 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/Project/KFAboutWindowPreview/KFAboutWindowPreview-Info.plist b/Project/KFAboutWindowPreview/KFAboutWindowPreview-Info.plist index 425e1b2..6f8499f 100644 --- a/Project/KFAboutWindowPreview/KFAboutWindowPreview-Info.plist +++ b/Project/KFAboutWindowPreview/KFAboutWindowPreview-Info.plist @@ -9,7 +9,7 @@ CFBundleIconFile CFBundleIdentifier - com.kfinteractive.osx.ui.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundleName diff --git a/Project/KFAboutWindowPreviewTests/KFAboutWindowPreviewTests-Info.plist b/Project/KFAboutWindowPreviewTests/KFAboutWindowPreviewTests-Info.plist index e25136b..169b6f7 100644 --- a/Project/KFAboutWindowPreviewTests/KFAboutWindowPreviewTests-Info.plist +++ b/Project/KFAboutWindowPreviewTests/KFAboutWindowPreviewTests-Info.plist @@ -7,7 +7,7 @@ CFBundleExecutable ${EXECUTABLE_NAME} CFBundleIdentifier - com.kfinteractive.osx.ui.${PRODUCT_NAME:rfc1034identifier} + $(PRODUCT_BUNDLE_IDENTIFIER) CFBundleInfoDictionaryVersion 6.0 CFBundlePackageType