Skip to content

Commit

Permalink
Allow usage of only app extension APIs in all schemes.
Browse files Browse the repository at this point in the history
  • Loading branch information
nlutsenko committed Jan 1, 2018
1 parent 5c59875 commit 8015263
Show file tree
Hide file tree
Showing 7 changed files with 14 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Configurations/Bolts-iOS-Dynamic.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,8 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0
MODULEMAP_FILE = $(SRCROOT)/Bolts/Resources/iOS.modulemap
INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

APPLICATION_EXTENSION_API_ONLY = YES

OTHER_LDFLAGS = $(inherited) -framework CoreGraphics -framework UIKit

// Use the 1.0.0 to avoid breaking changes with older version of Bolts.
Expand Down
2 changes: 2 additions & 0 deletions Configurations/Bolts-iOS.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,3 +17,5 @@ IPHONEOS_DEPLOYMENT_TARGET = 8.0

MODULEMAP_FILE = $(SRCROOT)/Bolts/Resources/iOS.modulemap
INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

APPLICATION_EXTENSION_API_ONLY = YES
2 changes: 2 additions & 0 deletions Configurations/Bolts-macOS.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

// Use the 1.0.0 to avoid breaking changes with older version of Bolts.
DYLIB_COMPATIBILITY_VERSION = 1

APPLICATION_EXTENSION_API_ONLY = YES
2 changes: 2 additions & 0 deletions Configurations/Bolts-tvOS-Dynamic.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -18,3 +18,5 @@ INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

// Use the 1.0.0 to avoid breaking changes with older version of Bolts.
DYLIB_COMPATIBILITY_VERSION = 1

APPLICATION_EXTENSION_API_ONLY = YES
2 changes: 2 additions & 0 deletions Configurations/Bolts-tvOS.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,5 @@ PRODUCT_NAME = Bolts
PRODUCT_BUNDLE_IDENTIFIER = com.bolts.tvos

INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

APPLICATION_EXTENSION_API_ONLY = YES
4 changes: 2 additions & 2 deletions Configurations/Bolts-watchOS-Dynamic.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ PRODUCT_NAME = Bolts
PRODUCT_BUNDLE_IDENTIFIER = com.bolts.watchos
WATCHOS_DEPLOYMENT_TARGET = 2.0

APPLICATION_EXTENSION_API_ONLY = YES

INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

// Use the 1.0.0 to avoid breaking changes with older version of Bolts.
DYLIB_COMPATIBILITY_VERSION = 1

APPLICATION_EXTENSION_API_ONLY = YES
4 changes: 2 additions & 2 deletions Configurations/Bolts-watchOS.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@ PRODUCT_NAME = Bolts
PRODUCT_BUNDLE_IDENTIFIER = com.bolts.watchos
WATCHOS_DEPLOYMENT_TARGET = 2.0

APPLICATION_EXTENSION_API_ONLY = YES

INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Info.plist

APPLICATION_EXTENSION_API_ONLY = YES

0 comments on commit 8015263

Please sign in to comment.