From 2567167f71129b6e068e8f97a0064946cfa4e6cc Mon Sep 17 00:00:00 2001 From: Daniel Jalkut Date: Sun, 2 Sep 2018 18:10:27 -0400 Subject: [PATCH] Stop embedding Swift libraries in the Safari App Extension, and rely upon the bundled Swift libraries in the host app instead. --- NetNewsWire.xcodeproj/project.pbxproj | 4 ++++ Safari Extension/Info.plist | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/NetNewsWire.xcodeproj/project.pbxproj b/NetNewsWire.xcodeproj/project.pbxproj index e10744d25..048294429 100644 --- a/NetNewsWire.xcodeproj/project.pbxproj +++ b/NetNewsWire.xcodeproj/project.pbxproj @@ -2192,8 +2192,10 @@ isa = XCBuildConfiguration; baseConfigurationReference = D5907CE02002F0FA005947E5 /* NetNewsWire_target.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CODE_SIGN_ENTITLEMENTS = "Safari Extension/Subscribe_to_Feed.entitlements"; INFOPLIST_FILE = "Safari Extension/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.ranchero.NetNewsWire-Evergreen.Subscribe-to-Feed"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; @@ -2204,8 +2206,10 @@ isa = XCBuildConfiguration; baseConfigurationReference = D5907CE02002F0FA005947E5 /* NetNewsWire_target.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; CODE_SIGN_ENTITLEMENTS = "Safari Extension/Subscribe_to_Feed.entitlements"; INFOPLIST_FILE = "Safari Extension/Info.plist"; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/../Frameworks @executable_path/../../../../Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.ranchero.NetNewsWire-Evergreen.Subscribe-to-Feed"; PRODUCT_NAME = "$(TARGET_NAME)"; SDKROOT = macosx; diff --git a/Safari Extension/Info.plist b/Safari Extension/Info.plist index fbbb3a265..6e2ebb904 100644 --- a/Safari Extension/Info.plist +++ b/Safari Extension/Info.plist @@ -19,7 +19,7 @@ CFBundleShortVersionString 1.0 CFBundleVersion - 1 + 2 LSMinimumSystemVersion $(MACOSX_DEPLOYMENT_TARGET) NSExtension