From 62d6c4dd6363bc6cf5426ce47569fd1519265f4b Mon Sep 17 00:00:00 2001 From: Robin Malhotra Date: Thu, 15 Feb 2018 16:03:38 +0530 Subject: [PATCH 1/3] Added breaking test --- BumbleBee.xcodeproj/project.pbxproj | 705 ++++++++++++------ .../contents.xcworkspacedata | 11 +- ...eTests.xcscheme => Bumblebee_iOS.xcscheme} | 51 +- ...eOSX.xcscheme => Bumblebee_macOS.xcscheme} | 53 +- ...ee.xcscheme => Bumblebee_watchOS.xcscheme} | 48 +- Tests/EmojiTests.swift | 57 ++ Tests/bumblebeeTests.swift | 5 +- project.yml | 29 + 8 files changed, 674 insertions(+), 285 deletions(-) rename BumbleBee.xcodeproj/xcshareddata/xcschemes/{BumbleBeeTests.xcscheme => Bumblebee_iOS.xcscheme} (68%) rename BumbleBee.xcodeproj/xcshareddata/xcschemes/{BumbleBeeOSX.xcscheme => Bumblebee_macOS.xcscheme} (68%) rename BumbleBee.xcodeproj/xcshareddata/xcschemes/{BumbleBee.xcscheme => Bumblebee_watchOS.xcscheme} (63%) create mode 100644 Tests/EmojiTests.swift create mode 100644 project.yml diff --git a/BumbleBee.xcodeproj/project.pbxproj b/BumbleBee.xcodeproj/project.pbxproj index 3872992..96163c4 100644 --- a/BumbleBee.xcodeproj/project.pbxproj +++ b/BumbleBee.xcodeproj/project.pbxproj @@ -7,237 +7,471 @@ objects = { /* Begin PBXBuildFile section */ - 5C4AC9EB1F82F4290068320C /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5C4AC9EA1F82F4180068320C /* bumblebee.swift */; }; - 5CF6900019EEF93A00AE0B2F /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CF68FFC19EEF8FD00AE0B2F /* bumblebeeTests.swift */; }; + BF_106046297315 /* Bumblebee.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_526567392730 /* Bumblebee.framework */; }; + BF_110315273102 /* EmojiTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_616239973998 /* EmojiTests.swift */; }; + BF_275924708092 /* EmojiTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_616239973998 /* EmojiTests.swift */; }; + BF_343655923077 /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_768980951973 /* bumblebeeTests.swift */; }; + BF_359335301727 /* Bumblebee.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_919963003752 /* Bumblebee.framework */; }; + BF_377132814360 /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_768980951973 /* bumblebeeTests.swift */; }; + BF_525206097606 /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_768980951973 /* bumblebeeTests.swift */; }; + BF_630092758418 /* Bumblebee.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_458247305677 /* Bumblebee.framework */; }; + BF_696100807664 /* EmojiTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_616239973998 /* EmojiTests.swift */; }; + BF_785914417868 /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_385710148880 /* bumblebee.swift */; }; + BF_795594604760 /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_385710148880 /* bumblebee.swift */; }; + BF_796503813307 /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_385710148880 /* bumblebee.swift */; }; /* End PBXBuildFile section */ +/* Begin PBXContainerItemProxy section */ + CIP_53314274065 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = P_1986150985591 /* Project object */; + proxyType = 1; + remoteGlobalIDString = NT_919963003752; + remoteInfo = Bumblebee_iOS; + }; + CIP_53743132914 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = P_1986150985591 /* Project object */; + proxyType = 1; + remoteGlobalIDString = NT_526567392730; + remoteInfo = Bumblebee_macOS; + }; + CIP_66191923667 /* PBXContainerItemProxy */ = { + isa = PBXContainerItemProxy; + containerPortal = P_1986150985591 /* Project object */; + proxyType = 1; + remoteGlobalIDString = NT_458247305677; + remoteInfo = Bumblebee_watchOS; + }; +/* End PBXContainerItemProxy section */ + /* Begin PBXFileReference section */ - 5C3BE81D19EEF85700FEDF2B /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 5C3BE82819EEF85700FEDF2B /* BumbleBee.temp_caseinsensitive_renameTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = BumbleBee.temp_caseinsensitive_renameTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - 5C3BE82B19EEF85700FEDF2B /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 5C4AC9EA1F82F4180068320C /* bumblebee.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = bumblebee.swift; sourceTree = ""; }; - 5CF68FFC19EEF8FD00AE0B2F /* bumblebeeTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = bumblebeeTests.swift; path = Tests/bumblebeeTests.swift; sourceTree = SOURCE_ROOT; }; - 5CF68FFD19EEF8FD00AE0B2F /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = Tests/Info.plist; sourceTree = SOURCE_ROOT; }; + FR_385710148880 /* bumblebee.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = bumblebee.swift; sourceTree = ""; }; + FR_458247305677 /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_526567392730 /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_533142740653 /* BumblebeeTests_iOS.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = file; name = BumblebeeTests_iOS.xctest; path = BumblebeeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_537431329142 /* BumblebeeTests_macOS.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = file; name = BumblebeeTests_macOS.xctest; path = BumblebeeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_616239973998 /* EmojiTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiTests.swift; sourceTree = ""; }; + FR_661919236675 /* BumblebeeTests_watchOS.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = file; name = BumblebeeTests_watchOS.xctest; path = BumblebeeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_768980951973 /* bumblebeeTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = bumblebeeTests.swift; sourceTree = ""; }; + FR_897679332474 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + FR_919963003752 /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 5C3BE81919EEF85700FEDF2B /* Frameworks */ = { + FBP_53314274065 /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + BF_359335301727 /* Bumblebee.framework in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + FBP_53743132914 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + BF_106046297315 /* Bumblebee.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5C3BE82519EEF85700FEDF2B /* Frameworks */ = { + FBP_66191923667 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + BF_630092758418 /* Bumblebee.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 5C3BE81319EEF85700FEDF2B = { + G_4799464745106 /* Tests */ = { isa = PBXGroup; children = ( - 5C4AC9E91F82F4180068320C /* Sources */, - 5C3BE82919EEF85700FEDF2B /* Tests */, - 5C3BE81E19EEF85700FEDF2B /* Products */, + FR_616239973998 /* EmojiTests.swift */, + FR_897679332474 /* Info.plist */, + FR_768980951973 /* bumblebeeTests.swift */, ); + path = Tests; sourceTree = ""; }; - 5C3BE81E19EEF85700FEDF2B /* Products */ = { + G_8448771205358 = { isa = PBXGroup; children = ( - 5C3BE81D19EEF85700FEDF2B /* Bumblebee.framework */, - 5C3BE82819EEF85700FEDF2B /* BumbleBee.temp_caseinsensitive_renameTests.xctest */, + G_8620238527590 /* Products */, + G_8934779235101 /* Sources */, + G_4799464745106 /* Tests */, ); - name = Products; sourceTree = ""; }; - 5C3BE82919EEF85700FEDF2B /* Tests */ = { + G_8620238527590 /* Products */ = { isa = PBXGroup; children = ( - 5CF68FFC19EEF8FD00AE0B2F /* bumblebeeTests.swift */, - 5CF68FFD19EEF8FD00AE0B2F /* Info.plist */, - 5C3BE82A19EEF85700FEDF2B /* Supporting Files */, + FR_533142740653 /* BumblebeeTests_iOS.xctest */, + FR_537431329142 /* BumblebeeTests_macOS.xctest */, + FR_661919236675 /* BumblebeeTests_watchOS.xctest */, + FR_919963003752 /* Bumblebee.framework */, + FR_526567392730 /* Bumblebee.framework */, + FR_458247305677 /* Bumblebee.framework */, ); - name = Tests; - path = bumblebeeTests; - sourceTree = ""; - }; - 5C3BE82A19EEF85700FEDF2B /* Supporting Files */ = { - isa = PBXGroup; - children = ( - 5C3BE82B19EEF85700FEDF2B /* Info.plist */, - ); - name = "Supporting Files"; + name = Products; sourceTree = ""; }; - 5C4AC9E91F82F4180068320C /* Sources */ = { + G_8934779235101 /* Sources */ = { isa = PBXGroup; children = ( - 5C4AC9EA1F82F4180068320C /* bumblebee.swift */, + FR_385710148880 /* bumblebee.swift */, ); path = Sources; sourceTree = ""; }; /* End PBXGroup section */ -/* Begin PBXHeadersBuildPhase section */ - 5C3BE81A19EEF85700FEDF2B /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( +/* Begin PBXNativeTarget section */ + NT_458247305677 /* Bumblebee_watchOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = CL_458247305677 /* Build configuration list for PBXNativeTarget "Bumblebee_watchOS" */; + buildPhases = ( + SBP_45824730567 /* Sources */, ); - runOnlyForDeploymentPostprocessing = 0; + buildRules = ( + ); + dependencies = ( + ); + name = Bumblebee_watchOS; + productName = Bumblebee_watchOS; + productReference = FR_458247305677 /* Bumblebee.framework */; + productType = "com.apple.product-type.framework"; }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 5C3BE81C19EEF85700FEDF2B /* Bumblebee */ = { + NT_526567392730 /* Bumblebee_macOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 5C3BE83019EEF85700FEDF2B /* Build configuration list for PBXNativeTarget "Bumblebee" */; + buildConfigurationList = CL_526567392730 /* Build configuration list for PBXNativeTarget "Bumblebee_macOS" */; buildPhases = ( - 5C3BE81819EEF85700FEDF2B /* Sources */, - 5C3BE81919EEF85700FEDF2B /* Frameworks */, - 5C3BE81A19EEF85700FEDF2B /* Headers */, - 5C3BE81B19EEF85700FEDF2B /* Resources */, + SBP_52656739273 /* Sources */, ); buildRules = ( ); dependencies = ( ); - name = Bumblebee; - productName = bumblebee; - productReference = 5C3BE81D19EEF85700FEDF2B /* Bumblebee.framework */; + name = Bumblebee_macOS; + productName = Bumblebee_macOS; + productReference = FR_526567392730 /* Bumblebee.framework */; productType = "com.apple.product-type.framework"; }; - 5C3BE82719EEF85700FEDF2B /* BumblebeeTests */ = { + NT_533142740653 /* BumblebeeTests_iOS */ = { isa = PBXNativeTarget; - buildConfigurationList = 5C3BE83319EEF85700FEDF2B /* Build configuration list for PBXNativeTarget "BumblebeeTests" */; + buildConfigurationList = CL_533142740653 /* Build configuration list for PBXNativeTarget "BumblebeeTests_iOS" */; buildPhases = ( - 5C3BE82419EEF85700FEDF2B /* Sources */, - 5C3BE82519EEF85700FEDF2B /* Frameworks */, - 5C3BE82619EEF85700FEDF2B /* Resources */, + SBP_53314274065 /* Sources */, + FBP_53314274065 /* Frameworks */, ); buildRules = ( ); dependencies = ( + TD_602520571381 /* PBXTargetDependency */, ); - name = BumblebeeTests; - productName = bumblebeeTests; - productReference = 5C3BE82819EEF85700FEDF2B /* BumbleBee.temp_caseinsensitive_renameTests.xctest */; + name = BumblebeeTests_iOS; + productName = BumblebeeTests_iOS; + productReference = FR_533142740653 /* BumblebeeTests_iOS.xctest */; productType = "com.apple.product-type.bundle.unit-test"; }; + NT_537431329142 /* BumblebeeTests_macOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = CL_537431329142 /* Build configuration list for PBXNativeTarget "BumblebeeTests_macOS" */; + buildPhases = ( + SBP_53743132914 /* Sources */, + FBP_53743132914 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + TD_271416717720 /* PBXTargetDependency */, + ); + name = BumblebeeTests_macOS; + productName = BumblebeeTests_macOS; + productReference = FR_537431329142 /* BumblebeeTests_macOS.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + NT_661919236675 /* BumblebeeTests_watchOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = CL_661919236675 /* Build configuration list for PBXNativeTarget "BumblebeeTests_watchOS" */; + buildPhases = ( + SBP_66191923667 /* Sources */, + FBP_66191923667 /* Frameworks */, + ); + buildRules = ( + ); + dependencies = ( + TD_576284539579 /* PBXTargetDependency */, + ); + name = BumblebeeTests_watchOS; + productName = BumblebeeTests_watchOS; + productReference = FR_661919236675 /* BumblebeeTests_watchOS.xctest */; + productType = "com.apple.product-type.bundle.unit-test"; + }; + NT_919963003752 /* Bumblebee_iOS */ = { + isa = PBXNativeTarget; + buildConfigurationList = CL_919963003752 /* Build configuration list for PBXNativeTarget "Bumblebee_iOS" */; + buildPhases = ( + SBP_91996300375 /* Sources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = Bumblebee_iOS; + productName = Bumblebee_iOS; + productReference = FR_919963003752 /* Bumblebee.framework */; + productType = "com.apple.product-type.framework"; + }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - 5C3BE81419EEF85700FEDF2B /* Project object */ = { + P_1986150985591 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0700; - LastUpgradeCheck = 0810; - ORGANIZATIONNAME = vluxe; - TargetAttributes = { - 5C3BE81C19EEF85700FEDF2B = { - CreatedOnToolsVersion = 6.0.1; - LastSwiftMigration = 0810; - }; - 5C3BE82719EEF85700FEDF2B = { - CreatedOnToolsVersion = 6.0.1; - }; - }; + LastUpgradeCheck = 0920; }; - buildConfigurationList = 5C3BE81719EEF85700FEDF2B /* Build configuration list for PBXProject "BumbleBee" */; + buildConfigurationList = CL_198615098559 /* Build configuration list for PBXProject "BumbleBee" */; compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + developmentRegion = en; hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 5C3BE81319EEF85700FEDF2B; - productRefGroup = 5C3BE81E19EEF85700FEDF2B /* Products */; + mainGroup = G_8448771205358; projectDirPath = ""; projectRoot = ""; targets = ( - 5C3BE81C19EEF85700FEDF2B /* Bumblebee */, - 5C3BE82719EEF85700FEDF2B /* BumblebeeTests */, + NT_533142740653 /* BumblebeeTests_iOS */, + NT_537431329142 /* BumblebeeTests_macOS */, + NT_661919236675 /* BumblebeeTests_watchOS */, + NT_919963003752 /* Bumblebee_iOS */, + NT_526567392730 /* Bumblebee_macOS */, + NT_458247305677 /* Bumblebee_watchOS */, ); }; /* End PBXProject section */ -/* Begin PBXResourcesBuildPhase section */ - 5C3BE81B19EEF85700FEDF2B /* Resources */ = { - isa = PBXResourcesBuildPhase; +/* Begin PBXSourcesBuildPhase section */ + SBP_45824730567 /* Sources */ = { + isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + BF_785914417868 /* bumblebee.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5C3BE82619EEF85700FEDF2B /* Resources */ = { - isa = PBXResourcesBuildPhase; + SBP_52656739273 /* Sources */ = { + isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( + BF_795594604760 /* bumblebee.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; -/* End PBXResourcesBuildPhase section */ - -/* Begin PBXSourcesBuildPhase section */ - 5C3BE81819EEF85700FEDF2B /* Sources */ = { + SBP_53314274065 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BF_275924708092 /* EmojiTests.swift in Sources */, + BF_525206097606 /* bumblebeeTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + SBP_53743132914 /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + BF_696100807664 /* EmojiTests.swift in Sources */, + BF_377132814360 /* bumblebeeTests.swift in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + SBP_66191923667 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 5C4AC9EB1F82F4290068320C /* bumblebee.swift in Sources */, + BF_110315273102 /* EmojiTests.swift in Sources */, + BF_343655923077 /* bumblebeeTests.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 5C3BE82419EEF85700FEDF2B /* Sources */ = { + SBP_91996300375 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 5CF6900019EEF93A00AE0B2F /* bumblebeeTests.swift in Sources */, + BF_796503813307 /* bumblebee.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ +/* Begin PBXTargetDependency section */ + TD_271416717720 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = NT_526567392730 /* Bumblebee_macOS */; + targetProxy = CIP_53743132914 /* PBXContainerItemProxy */; + }; + TD_576284539579 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = NT_458247305677 /* Bumblebee_watchOS */; + targetProxy = CIP_66191923667 /* PBXContainerItemProxy */; + }; + TD_602520571381 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + target = NT_919963003752 /* Bumblebee_iOS */; + targetProxy = CIP_53314274065 /* PBXContainerItemProxy */; + }; +/* End PBXTargetDependency section */ + /* Begin XCBuildConfiguration section */ - 5C3BE82E19EEF85700FEDF2B /* Debug */ = { + BC_166834087475 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; + PRODUCT_NAME = Bumblebee; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + BC_233999095554 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = BumblebeeTests; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + }; + name = Release; + }; + BC_236285796897 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = BumblebeeTests; + SDKROOT = macosx; + }; + name = Release; + }; + BC_247920773909 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; + PRODUCT_NAME = Bumblebee; + SDKROOT = macosx; + SKIP_INSTALL = YES; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + BC_317881260744 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; + PRODUCT_NAME = Bumblebee; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Debug; + }; + BC_427557533418 /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; + PRODUCT_NAME = Bumblebee; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + }; + name = Release; + }; + BC_479945831424 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; CLANG_CXX_LIBRARY = "libc++"; CLANG_ENABLE_MODULES = YES; CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; CLANG_WARN_CONSTANT_CONVERSION = YES; CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; CLANG_WARN_EMPTY_BODY = YES; CLANG_WARN_ENUM_CONVERSION = YES; CLANG_WARN_INFINITE_RECURSION = YES; CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; COPY_PHASE_STRIP = NO; - CURRENT_PROJECT_VERSION = 1; + DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_C_LANGUAGE_STANDARD = gnu11; GCC_DYNAMIC_NO_PIC = NO; GCC_NO_COMMON_BLOCKS = YES; GCC_OPTIMIZATION_LEVEL = 0; GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", "$(inherited)", + "DEBUG=1", ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; GCC_WARN_64_TO_32_BIT_CONVERSION = YES; GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; GCC_WARN_UNDECLARED_SELECTOR = YES; @@ -245,173 +479,226 @@ GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MACOSX_DEPLOYMENT_TARGET = 10.11; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; - SDKROOT = iphoneos; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; + WATCHOS_DEPLOYMENT_TARGET = 2.0; + }; + name = Debug; + }; + BC_577687424669 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = BumblebeeTests; + SDKROOT = watchos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = 4; + }; + name = Debug; + }; + BC_630295121171 /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = BumblebeeTests; + SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 5C3BE82F19EEF85700FEDF2B /* Release */ = { + BC_689224141709 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - 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 = YES; - CURRENT_PROJECT_VERSION = 1; - 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; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; + BUNDLE_LOADER = "$(TEST_HOST)"; + INFOPLIST_FILE = Tests/Info.plist; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + PRODUCT_NAME = BumblebeeTests; SDKROOT = iphoneos; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; }; name = Release; }; - 5C3BE83119EEF85700FEDF2B /* Debug */ = { + BC_709427369840 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - BITCODE_GENERATION_MODE = marker; - CLANG_ENABLE_MODULES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; + BUNDLE_LOADER = "$(TEST_HOST)"; + COMBINE_HIDPI_IMAGES = YES; + INFOPLIST_FILE = Tests/Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.vluxe.io.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = ""; - SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvsimulator appletvos watchos watchsimulator"; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2,3,4"; - VALID_ARCHS = "i386 x86_64 arm64 armv7s armv7 armv7k"; + PRODUCT_NAME = BumblebeeTests; + SDKROOT = macosx; }; name = Debug; }; - 5C3BE83219EEF85700FEDF2B /* Release */ = { + BC_747670736091 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - BITCODE_GENERATION_MODE = bitcode; - CLANG_ENABLE_MODULES = YES; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + CODE_SIGN_IDENTITY = ""; + COMBINE_HIDPI_IMAGES = YES; + CURRENT_PROJECT_VERSION = 1; DEFINES_MODULE = YES; DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "$(SRCROOT)/Info.plist"; + ENABLE_TESTABILITY = YES; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.vluxe.io.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = ""; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; + PRODUCT_NAME = Bumblebee; + SDKROOT = macosx; SKIP_INSTALL = YES; - SUPPORTED_PLATFORMS = "macosx iphoneos iphonesimulator appletvsimulator appletvos watchos watchsimulator"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2,3,4"; - VALID_ARCHS = "i386 x86_64 arm64 armv7s armv7 armv7k"; + VERSIONING_SYSTEM = "apple-generic"; }; name = Release; }; - 5C3BE83419EEF85700FEDF2B /* Debug */ = { + BC_772435397944 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - GCC_PREPROCESSOR_DEFINITIONS = ( - "DEBUG=1", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.vluxe.io.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = BumbleBee.temp_caseinsensitive_renameTests; + CODE_SIGN_IDENTITY = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + ENABLE_TESTABILITY = YES; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; + PRODUCT_NAME = Bumblebee; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; }; name = Debug; }; - 5C3BE83519EEF85700FEDF2B /* Release */ = { + BC_881114754245 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { - FRAMEWORK_SEARCH_PATHS = ( - "$(SDKROOT)/Developer/Library/Frameworks", - "$(inherited)", - ); - INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = "com.vluxe.io.$(PRODUCT_NAME:rfc1034identifier)"; - PRODUCT_NAME = BumbleBee.temp_caseinsensitive_renameTests; + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + 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; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MACOSX_DEPLOYMENT_TARGET = 10.11; + PRODUCT_NAME = "$(TARGET_NAME)"; + SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; + VALIDATE_PRODUCT = YES; + WATCHOS_DEPLOYMENT_TARGET = 2.0; }; name = Release; }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 5C3BE81719EEF85700FEDF2B /* Build configuration list for PBXProject "BumbleBee" */ = { + CL_198615098559 /* Build configuration list for PBXProject "BumbleBee" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BC_479945831424 /* Debug */, + BC_881114754245 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Debug; + }; + CL_458247305677 /* Build configuration list for PBXNativeTarget "Bumblebee_watchOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BC_317881260744 /* Debug */, + BC_166834087475 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; + CL_526567392730 /* Build configuration list for PBXNativeTarget "Bumblebee_macOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BC_247920773909 /* Debug */, + BC_747670736091 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; + CL_533142740653 /* Build configuration list for PBXNativeTarget "BumblebeeTests_iOS" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + BC_630295121171 /* Debug */, + BC_689224141709 /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = ""; + }; + CL_537431329142 /* Build configuration list for PBXNativeTarget "BumblebeeTests_macOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - 5C3BE82E19EEF85700FEDF2B /* Debug */, - 5C3BE82F19EEF85700FEDF2B /* Release */, + BC_709427369840 /* Debug */, + BC_236285796897 /* Release */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = ""; }; - 5C3BE83019EEF85700FEDF2B /* Build configuration list for PBXNativeTarget "Bumblebee" */ = { + CL_661919236675 /* Build configuration list for PBXNativeTarget "BumblebeeTests_watchOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - 5C3BE83119EEF85700FEDF2B /* Debug */, - 5C3BE83219EEF85700FEDF2B /* Release */, + BC_577687424669 /* Debug */, + BC_233999095554 /* Release */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = ""; }; - 5C3BE83319EEF85700FEDF2B /* Build configuration list for PBXNativeTarget "BumblebeeTests" */ = { + CL_919963003752 /* Build configuration list for PBXNativeTarget "Bumblebee_iOS" */ = { isa = XCConfigurationList; buildConfigurations = ( - 5C3BE83419EEF85700FEDF2B /* Debug */, - 5C3BE83519EEF85700FEDF2B /* Release */, + BC_772435397944 /* Debug */, + BC_427557533418 /* Release */, ); defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; + defaultConfigurationName = ""; }; /* End XCConfigurationList section */ }; - rootObject = 5C3BE81419EEF85700FEDF2B /* Project object */; + rootObject = P_1986150985591 /* Project object */; } diff --git a/BumbleBee.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/BumbleBee.xcodeproj/project.xcworkspace/contents.xcworkspacedata index b7f7bd5..e2b2881 100644 --- a/BumbleBee.xcodeproj/project.xcworkspace/contents.xcworkspacedata +++ b/BumbleBee.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -1,7 +1,4 @@ - - - - - + + + + \ No newline at end of file diff --git a/BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBeeTests.xcscheme b/BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_iOS.xcscheme similarity index 68% rename from BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBeeTests.xcscheme rename to BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_iOS.xcscheme index 17926c4..b9be371 100644 --- a/BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBeeTests.xcscheme +++ b/BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_iOS.xcscheme @@ -1,6 +1,6 @@ @@ -26,15 +26,17 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES"> + language = "" + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> @@ -42,9 +44,9 @@ @@ -55,21 +57,23 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -79,15 +83,16 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + - + diff --git a/BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBeeOSX.xcscheme b/BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_macOS.xcscheme similarity index 68% rename from BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBeeOSX.xcscheme rename to BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_macOS.xcscheme index b4d9720..d60f897 100644 --- a/BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBeeOSX.xcscheme +++ b/BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_macOS.xcscheme @@ -1,6 +1,6 @@ - - - - @@ -40,15 +26,17 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES"> + language = "" + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> @@ -56,9 +44,9 @@ @@ -69,21 +57,23 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -93,15 +83,16 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + - + diff --git a/BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBee.xcscheme b/BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_watchOS.xcscheme similarity index 63% rename from BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBee.xcscheme rename to BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_watchOS.xcscheme index e998f2b..4ce5141 100644 --- a/BumbleBee.xcodeproj/xcshareddata/xcschemes/BumbleBee.xcscheme +++ b/BumbleBee.xcodeproj/xcshareddata/xcschemes/Bumblebee_watchOS.xcscheme @@ -1,6 +1,6 @@ @@ -26,9 +26,30 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" - shouldUseLaunchSchemeArgsEnv = "YES"> + language = "" + shouldUseLaunchSchemeArgsEnv = "YES" + codeCoverageEnabled = "YES"> + + + + + + + + @@ -36,21 +57,23 @@ buildConfiguration = "Debug" selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB" selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB" + language = "" launchStyle = "0" useCustomWorkingDirectory = "NO" ignoresPersistentStateOnLaunch = "NO" debugDocumentVersioning = "YES" debugServiceExtension = "internal" allowLocationSimulation = "YES"> - + - + @@ -60,15 +83,16 @@ savedToolIdentifier = "" useCustomWorkingDirectory = "NO" debugDocumentVersioning = "YES"> - + - + diff --git a/Tests/EmojiTests.swift b/Tests/EmojiTests.swift new file mode 100644 index 0000000..2a139c9 --- /dev/null +++ b/Tests/EmojiTests.swift @@ -0,0 +1,57 @@ +// +// EmojiTests.swift +// BumblebeeTests +// +// Created by Robin Malhotra on 15/02/18. +// Copyright © 2018 vluxe. All rights reserved. +// + +import XCTest +import Bumblebee + +class EmojiTests: XCTestCase { + + override func setUp() { + super.setUp() + // Put setup code here. This method is called before the invocation of each test method in the class. + } + + override func tearDown() { + // Put teardown code here. This method is called after the invocation of each test method in the class. + super.tearDown() + } + + func testEmojiExample() { + let breakingString = " *hello* . *hello* cncnc cncnc *hello* hmm\n *hello* 🦌🐎🦌🐎\n *hello* Screen Shot 2017-10-12 at 11.04.58 AM.png *hello* vVe2keakU8.gif *hello* *hello* " + + + let parser = Parser() + + let parseExpectation = expectation(description: "parsing expectation") + + parser.add(pattern: MDEmphasisPattern()) { (str, attributes) in + return MatchedResponse(string: str, attributes: [:]) + } + + parser.process(text: breakingString) { (attrString) in + guard let _ = attrString else { + return + } + parseExpectation.fulfill() + } + + wait(for: [parseExpectation], timeout: 10.0) + + + // This is an example of a functional test case. + // Use XCTAssert and related functions to verify your tests produce the correct results. + } + + func testPerformanceExample() { + // This is an example of a performance test case. + self.measure { + // Put the code you want to measure the time of here. + } + } + +} diff --git a/Tests/bumblebeeTests.swift b/Tests/bumblebeeTests.swift index 34a67f1..fc70f84 100644 --- a/Tests/bumblebeeTests.swift +++ b/Tests/bumblebeeTests.swift @@ -6,7 +6,6 @@ // Copyright (c) 2014 vluxe. All rights reserved. // -import UIKit import XCTest class bumblebeeTests: XCTestCase { @@ -20,7 +19,7 @@ class bumblebeeTests: XCTestCase { // Put teardown code here. This method is called after the invocation of each test method in the class. super.tearDown() } - + func testExample() { // This is an example of a functional test case. XCTAssert(true, "Pass") @@ -28,7 +27,7 @@ class bumblebeeTests: XCTestCase { func testPerformanceExample() { // This is an example of a performance test case. - self.measureBlock() { + self.measure() { // Put the code you want to measure the time of here. } } diff --git a/project.yml b/project.yml new file mode 100644 index 0000000..949c0c2 --- /dev/null +++ b/project.yml @@ -0,0 +1,29 @@ +name: Bumblebee +options: + deploymentTarget: + macOS: 10.11 + iOS: 8.0 + watchOS: 2.0 +targets: + Bumblebee: + scheme: + gatherCoverageData: true + testTargets: + - KayakoSDKSwiftTest_$platform + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: com.vluxe.io.Bumblebee + type: framework + platform: [iOS, macOS, watchOS] + sources: Sources + scheme: + gatherCoverageData: true + testTargets: + - BumblebeeTests_$platform + BumblebeeTests: + type: bundle.unit-test + platform: [iOS, macOS, watchOS] + sources: Tests + dependencies: + - target: Bumblebee_$platform + From a88a4e30f0881bbf890f55e75893f1e4ff29710f Mon Sep 17 00:00:00 2001 From: Robin Malhotra Date: Thu, 15 Feb 2018 17:18:43 +0530 Subject: [PATCH 2/3] Fixed + added emoji test case --- Sources/bumblebee.swift | 39 +++++++++++++++++++-------------------- Tests/EmojiTests.swift | 20 ++++++++++++-------- 2 files changed, 31 insertions(+), 28 deletions(-) diff --git a/Sources/bumblebee.swift b/Sources/bumblebee.swift index 1234e08..8b2b2b1 100644 --- a/Sources/bumblebee.swift +++ b/Sources/bumblebee.swift @@ -78,7 +78,7 @@ open class Parser { let regex = try opt.pattern.regex() var diff = 0 let mutText = mutStr.string - let matches = regex.matches(in: mutText, range: NSMakeRange(0, mutStr.string.utf16.count)) + let matches = regex.matches(in: mutText, range: NSMakeRange(0, mutStr.string.count)) for result in matches { if result.numberOfRanges > 0 { let range = result.range(at: 0) @@ -88,25 +88,24 @@ open class Parser { } let start = mutText.index(mutText.startIndex, offsetBy: range.location) let end = mutText.index(mutText.startIndex, offsetBy: range.location + range.length) - - if let str = String(mutText.utf16[start.. Date: Fri, 16 Feb 2018 13:33:16 +0530 Subject: [PATCH 3/3] Fixed info.plist --- BumbleBee.xcodeproj/project.pbxproj | 106 +++++++++++++++++++--------- Info.plist => Sources/Info.plist | 0 project.yml | 10 +-- 3 files changed, 77 insertions(+), 39 deletions(-) rename Info.plist => Sources/Info.plist (100%) diff --git a/BumbleBee.xcodeproj/project.pbxproj b/BumbleBee.xcodeproj/project.pbxproj index 96163c4..a9f24e9 100644 --- a/BumbleBee.xcodeproj/project.pbxproj +++ b/BumbleBee.xcodeproj/project.pbxproj @@ -7,18 +7,24 @@ objects = { /* Begin PBXBuildFile section */ - BF_106046297315 /* Bumblebee.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_526567392730 /* Bumblebee.framework */; }; + BF_106046297315 /* Bumblebee_macOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_526567392730 /* Bumblebee_macOS.framework */; }; BF_110315273102 /* EmojiTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_616239973998 /* EmojiTests.swift */; }; BF_275924708092 /* EmojiTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_616239973998 /* EmojiTests.swift */; }; + BF_334643629608 = {isa = PBXBuildFile; fileRef = FR_661919236675 /* BumblebeeTests_watchOS.xctest */; }; BF_343655923077 /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_768980951973 /* bumblebeeTests.swift */; }; - BF_359335301727 /* Bumblebee.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_919963003752 /* Bumblebee.framework */; }; + BF_359335301727 /* Bumblebee_iOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_919963003752 /* Bumblebee_iOS.framework */; }; + BF_370065185541 = {isa = PBXBuildFile; fileRef = FR_526567392730 /* Bumblebee_macOS.framework */; }; BF_377132814360 /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_768980951973 /* bumblebeeTests.swift */; }; + BF_494566846231 = {isa = PBXBuildFile; fileRef = FR_537431329142 /* BumblebeeTests_macOS.xctest */; }; BF_525206097606 /* bumblebeeTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_768980951973 /* bumblebeeTests.swift */; }; - BF_630092758418 /* Bumblebee.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_458247305677 /* Bumblebee.framework */; }; + BF_541773765746 = {isa = PBXBuildFile; fileRef = FR_458247305677 /* Bumblebee_watchOS.framework */; }; + BF_630092758418 /* Bumblebee_watchOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = FR_458247305677 /* Bumblebee_watchOS.framework */; }; BF_696100807664 /* EmojiTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_616239973998 /* EmojiTests.swift */; }; + BF_780160517364 = {isa = PBXBuildFile; fileRef = FR_533142740653 /* BumblebeeTests_iOS.xctest */; }; BF_785914417868 /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_385710148880 /* bumblebee.swift */; }; BF_795594604760 /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_385710148880 /* bumblebee.swift */; }; BF_796503813307 /* bumblebee.swift in Sources */ = {isa = PBXBuildFile; fileRef = FR_385710148880 /* bumblebee.swift */; }; + BF_843539276101 = {isa = PBXBuildFile; fileRef = FR_919963003752 /* Bumblebee_iOS.framework */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ @@ -46,16 +52,17 @@ /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - FR_385710148880 /* bumblebee.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = bumblebee.swift; sourceTree = ""; }; - FR_458247305677 /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FR_526567392730 /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - FR_533142740653 /* BumblebeeTests_iOS.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = file; name = BumblebeeTests_iOS.xctest; path = BumblebeeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - FR_537431329142 /* BumblebeeTests_macOS.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = file; name = BumblebeeTests_macOS.xctest; path = BumblebeeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - FR_616239973998 /* EmojiTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = EmojiTests.swift; sourceTree = ""; }; - FR_661919236675 /* BumblebeeTests_watchOS.xctest */ = {isa = PBXFileReference; includeInIndex = 0; lastKnownFileType = file; name = BumblebeeTests_watchOS.xctest; path = BumblebeeTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; - FR_768980951973 /* bumblebeeTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = bumblebeeTests.swift; sourceTree = ""; }; - FR_897679332474 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - FR_919963003752 /* Bumblebee.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Bumblebee.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_129992608725 /* Info.plist */ = {isa = PBXFileReference; path = Info.plist; sourceTree = ""; }; + FR_385710148880 /* bumblebee.swift */ = {isa = PBXFileReference; path = bumblebee.swift; sourceTree = ""; }; + FR_458247305677 /* Bumblebee_watchOS.framework */ = {isa = PBXFileReference; explicitFileType = framework; includeInIndex = 0; path = Bumblebee_watchOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_526567392730 /* Bumblebee_macOS.framework */ = {isa = PBXFileReference; explicitFileType = framework; includeInIndex = 0; path = Bumblebee_macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_533142740653 /* BumblebeeTests_iOS.xctest */ = {isa = PBXFileReference; explicitFileType = xctest; includeInIndex = 0; path = BumblebeeTests_iOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_537431329142 /* BumblebeeTests_macOS.xctest */ = {isa = PBXFileReference; explicitFileType = xctest; includeInIndex = 0; path = BumblebeeTests_macOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_616239973998 /* EmojiTests.swift */ = {isa = PBXFileReference; path = EmojiTests.swift; sourceTree = ""; }; + FR_661919236675 /* BumblebeeTests_watchOS.xctest */ = {isa = PBXFileReference; explicitFileType = xctest; includeInIndex = 0; path = BumblebeeTests_watchOS.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; + FR_768980951973 /* bumblebeeTests.swift */ = {isa = PBXFileReference; path = bumblebeeTests.swift; sourceTree = ""; }; + FR_897679332474 /* Info.plist */ = {isa = PBXFileReference; path = Info.plist; sourceTree = ""; }; + FR_919963003752 /* Bumblebee_iOS.framework */ = {isa = PBXFileReference; explicitFileType = framework; includeInIndex = 0; path = Bumblebee_iOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ @@ -63,7 +70,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BF_359335301727 /* Bumblebee.framework in Frameworks */, + BF_359335301727 /* Bumblebee_iOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -71,7 +78,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BF_106046297315 /* Bumblebee.framework in Frameworks */, + BF_106046297315 /* Bumblebee_macOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -79,7 +86,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - BF_630092758418 /* Bumblebee.framework in Frameworks */, + BF_630092758418 /* Bumblebee_watchOS.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; @@ -93,6 +100,7 @@ FR_897679332474 /* Info.plist */, FR_768980951973 /* bumblebeeTests.swift */, ); + name = Tests; path = Tests; sourceTree = ""; }; @@ -111,9 +119,9 @@ FR_533142740653 /* BumblebeeTests_iOS.xctest */, FR_537431329142 /* BumblebeeTests_macOS.xctest */, FR_661919236675 /* BumblebeeTests_watchOS.xctest */, - FR_919963003752 /* Bumblebee.framework */, - FR_526567392730 /* Bumblebee.framework */, - FR_458247305677 /* Bumblebee.framework */, + FR_919963003752 /* Bumblebee_iOS.framework */, + FR_526567392730 /* Bumblebee_macOS.framework */, + FR_458247305677 /* Bumblebee_watchOS.framework */, ); name = Products; sourceTree = ""; @@ -121,8 +129,10 @@ G_8934779235101 /* Sources */ = { isa = PBXGroup; children = ( + FR_129992608725 /* Info.plist */, FR_385710148880 /* bumblebee.swift */, ); + name = Sources; path = Sources; sourceTree = ""; }; @@ -141,7 +151,7 @@ ); name = Bumblebee_watchOS; productName = Bumblebee_watchOS; - productReference = FR_458247305677 /* Bumblebee.framework */; + productReference = FR_458247305677 /* Bumblebee_watchOS.framework */; productType = "com.apple.product-type.framework"; }; NT_526567392730 /* Bumblebee_macOS */ = { @@ -156,7 +166,7 @@ ); name = Bumblebee_macOS; productName = Bumblebee_macOS; - productReference = FR_526567392730 /* Bumblebee.framework */; + productReference = FR_526567392730 /* Bumblebee_macOS.framework */; productType = "com.apple.product-type.framework"; }; NT_533142740653 /* BumblebeeTests_iOS */ = { @@ -222,7 +232,7 @@ ); name = Bumblebee_iOS; productName = Bumblebee_iOS; - productReference = FR_919963003752 /* Bumblebee.framework */; + productReference = FR_919963003752 /* Bumblebee_iOS.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ @@ -233,10 +243,12 @@ attributes = { LastUpgradeCheck = 0920; }; - buildConfigurationList = CL_198615098559 /* Build configuration list for PBXProject "BumbleBee" */; + buildConfigurationList = CL_198615098559 /* Build configuration list for PBXProject "Bumblebee" */; compatibilityVersion = "Xcode 3.2"; developmentRegion = en; hasScannedForEncodings = 0; + knownRegions = ( + ); mainGroup = G_8448771205358; projectDirPath = ""; projectRoot = ""; @@ -334,6 +346,7 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_TESTABILITY = YES; + INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; PRODUCT_NAME = Bumblebee; @@ -349,7 +362,10 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks @loader_path/Frameworks", + ); PRODUCT_NAME = BumblebeeTests; SDKROOT = watchos; SKIP_INSTALL = YES; @@ -363,7 +379,10 @@ BUNDLE_LOADER = "$(TEST_HOST)"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks @loader_path/Frameworks", + ); PRODUCT_NAME = BumblebeeTests; SDKROOT = macosx; }; @@ -380,6 +399,7 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_TESTABILITY = YES; + INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; @@ -400,6 +420,7 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_TESTABILITY = YES; + INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; PRODUCT_NAME = Bumblebee; @@ -420,8 +441,12 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_TESTABILITY = YES; + INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; PRODUCT_NAME = Bumblebee; SDKROOT = iphoneos; @@ -495,7 +520,10 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks @loader_path/Frameworks", + ); PRODUCT_NAME = BumblebeeTests; SDKROOT = watchos; SKIP_INSTALL = YES; @@ -508,7 +536,10 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks @loader_path/Frameworks", + ); PRODUCT_NAME = BumblebeeTests; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -520,7 +551,10 @@ buildSettings = { BUNDLE_LOADER = "$(TEST_HOST)"; INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks @loader_path/Frameworks", + ); PRODUCT_NAME = BumblebeeTests; SDKROOT = iphoneos; TARGETED_DEVICE_FAMILY = "1,2"; @@ -533,7 +567,10 @@ BUNDLE_LOADER = "$(TEST_HOST)"; COMBINE_HIDPI_IMAGES = YES; INFOPLIST_FILE = Tests/Info.plist; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks @loader_path/Frameworks", + ); PRODUCT_NAME = BumblebeeTests; SDKROOT = macosx; }; @@ -550,6 +587,7 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_TESTABILITY = YES; + INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; @@ -570,8 +608,12 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; ENABLE_TESTABILITY = YES; + INFOPLIST_FILE = Sources/Info.plist; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + ); PRODUCT_BUNDLE_IDENTIFIER = com.vluxe.io.Bumblebee; PRODUCT_NAME = Bumblebee; SDKROOT = iphoneos; @@ -635,7 +677,7 @@ /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - CL_198615098559 /* Build configuration list for PBXProject "BumbleBee" */ = { + CL_198615098559 /* Build configuration list for PBXProject "Bumblebee" */ = { isa = XCConfigurationList; buildConfigurations = ( BC_479945831424 /* Debug */, diff --git a/Info.plist b/Sources/Info.plist similarity index 100% rename from Info.plist rename to Sources/Info.plist diff --git a/project.yml b/project.yml index 949c0c2..c442385 100644 --- a/project.yml +++ b/project.yml @@ -6,16 +6,12 @@ options: watchOS: 2.0 targets: Bumblebee: - scheme: - gatherCoverageData: true - testTargets: - - KayakoSDKSwiftTest_$platform - settings: - base: - PRODUCT_BUNDLE_IDENTIFIER: com.vluxe.io.Bumblebee type: framework platform: [iOS, macOS, watchOS] sources: Sources + settings: + base: + PRODUCT_BUNDLE_IDENTIFIER: com.vluxe.io.Bumblebee scheme: gatherCoverageData: true testTargets: