diff --git a/FloatingPanel.podspec b/FloatingPanel.podspec index 67116621..9d0eb7f8 100644 --- a/FloatingPanel.podspec +++ b/FloatingPanel.podspec @@ -14,7 +14,6 @@ The new interface displays the related contents and utilities in parallel as a u s.source = { :git => "https://github.com/SCENEE/FloatingPanel.git", :tag => "v#{s.version}" } s.source_files = "Framework/Sources/*.swift" s.swift_version = "4.0" - s.pod_target_xcconfig = { 'APPLICATION_EXTENSION_API_ONLY' => 'YES' } s.framework = "UIKit" diff --git a/Framework/FloatingPanel.xcodeproj/project.pbxproj b/Framework/FloatingPanel.xcodeproj/project.pbxproj index 5b0d6e94..10e685ef 100644 --- a/Framework/FloatingPanel.xcodeproj/project.pbxproj +++ b/Framework/FloatingPanel.xcodeproj/project.pbxproj @@ -471,6 +471,7 @@ 545DB9D62151169500CA77B8 /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; @@ -490,6 +491,7 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; @@ -499,6 +501,7 @@ 545DB9D72151169500CA77B8 /* Release */ = { isa = XCBuildConfiguration; buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; @@ -517,6 +520,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.scenee.FloatingPanel; PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; + SWIFT_COMPILATION_MODE = wholemodule; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; }; @@ -667,6 +671,7 @@ 54E79AE0224F6C9800717BC6 /* Test */ = { isa = XCBuildConfiguration; buildSettings = { + APPLICATION_EXTENSION_API_ONLY = YES; CLANG_ENABLE_MODULES = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; @@ -686,6 +691,7 @@ PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "DEBUG __FP_LOG"; + SWIFT_COMPILATION_MODE = wholemodule; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2";