From bcf034166bd329ba157163ea142c517fab2cf5df Mon Sep 17 00:00:00 2001 From: Dan Barber Date: Wed, 13 Feb 2019 08:19:18 -0500 Subject: [PATCH] Project should build now with testable import --- Persephone.xcodeproj/project.pbxproj | 12 ++++++++++++ PersephoneTests/PersephoneTests.swift | 2 +- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/Persephone.xcodeproj/project.pbxproj b/Persephone.xcodeproj/project.pbxproj index 00f3f0f..0f2dfbc 100644 --- a/Persephone.xcodeproj/project.pbxproj +++ b/Persephone.xcodeproj/project.pbxproj @@ -697,11 +697,17 @@ "@executable_path/../Frameworks", "@loader_path/../Frameworks", ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/libmpdclient/output", + ); PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.PersephoneTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 4.0; + SYSTEM_HEADER_SEARCH_PATHS = Persephone/include; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Persephone.app/Contents/MacOS/Persephone"; + USER_HEADER_SEARCH_PATHS = libmpdclient/output; }; name = Debug; }; @@ -720,11 +726,17 @@ "@executable_path/../Frameworks", "@loader_path/../Frameworks", ); + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "$(PROJECT_DIR)/libmpdclient/output", + ); PRODUCT_BUNDLE_IDENTIFIER = me.danbarber.PersephoneTests; PRODUCT_NAME = "$(TARGET_NAME)"; PROVISIONING_PROFILE_SPECIFIER = ""; SWIFT_VERSION = 4.0; + SYSTEM_HEADER_SEARCH_PATHS = Persephone/include; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/Persephone.app/Contents/MacOS/Persephone"; + USER_HEADER_SEARCH_PATHS = libmpdclient/output; }; name = Release; }; diff --git a/PersephoneTests/PersephoneTests.swift b/PersephoneTests/PersephoneTests.swift index 725cca8..9328889 100644 --- a/PersephoneTests/PersephoneTests.swift +++ b/PersephoneTests/PersephoneTests.swift @@ -7,7 +7,7 @@ // import XCTest -//@testable import Persephone +@testable import Persephone class PersephoneTests: XCTestCase {