From 867efc06dfd2ab53be343cea47180c71abccb208 Mon Sep 17 00:00:00 2001 From: Kare Morstol Date: Fri, 23 Sep 2016 22:27:27 +0200 Subject: [PATCH] =?UTF-8?q?Set=20minimum=20deployment=20target=20to=2010.9?= =?UTF-8?q?=20=E2=80=93=20see=20#23.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit " Running 10.12. Framework installed in ~/Library/Frameworks/. Whenever I run a swift script importing SwiftShell, I get the following error: ./swifttest:4:8: error: module file's minimum deployment target is OS X v10.11: /Users/xxxxx/Library/Frameworks/SwiftShell.framework/Modules/SwiftShell.swiftmodule/x86_64.swiftmodule " --- SwiftShell.xcodeproj/project.pbxproj | 2 ++ 1 file changed, 2 insertions(+) diff --git a/SwiftShell.xcodeproj/project.pbxproj b/SwiftShell.xcodeproj/project.pbxproj index 9bbdc9c..652e98e 100644 --- a/SwiftShell.xcodeproj/project.pbxproj +++ b/SwiftShell.xcodeproj/project.pbxproj @@ -339,6 +339,7 @@ ENABLE_TESTABILITY = YES; INFOPLIST_FILE = SwiftShell.xcodeproj/SwiftShell_Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; + MACOSX_DEPLOYMENT_TARGET = 10.9; OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)"; @@ -375,6 +376,7 @@ ENABLE_TESTABILITY = YES; INFOPLIST_FILE = SwiftShell.xcodeproj/SwiftShell_Info.plist; LD_RUNPATH_SEARCH_PATHS = "$(TOOLCHAIN_DIR)/usr/lib/swift/macosx"; + MACOSX_DEPLOYMENT_TARGET = 10.9; OTHER_LDFLAGS = "$(inherited)"; OTHER_SWIFT_FLAGS = "$(inherited)"; PRODUCT_MODULE_NAME = "$(TARGET_NAME:c99extidentifier)";