Skip to content

Commit

Permalink
Merge pull request #206 from BoltsFramework/nlutsenko.dynamic
Browse files Browse the repository at this point in the history
Add tvOS and watchOS dynamic framework targets to support Carthage.
  • Loading branch information
nlutsenko committed Dec 29, 2015
2 parents 97ac2fd + b0f2d34 commit 04c4412
Show file tree
Hide file tree
Showing 7 changed files with 408 additions and 0 deletions.
200 changes: 200 additions & 0 deletions Bolts.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

80 changes: 80 additions & 0 deletions Bolts.xcodeproj/xcshareddata/xcschemes/Bolts-tvOS-Dynamic.xcscheme
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "81E94D521C2B8BF200A6291E"
BuildableName = "Bolts.framework"
BlueprintName = "Bolts-tvOS-Dynamic"
ReferencedContainer = "container:Bolts.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "81E94D521C2B8BF200A6291E"
BuildableName = "Bolts.framework"
BlueprintName = "Bolts-tvOS-Dynamic"
ReferencedContainer = "container:Bolts.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "81E94D521C2B8BF200A6291E"
BuildableName = "Bolts.framework"
BlueprintName = "Bolts-tvOS-Dynamic"
ReferencedContainer = "container:Bolts.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0720"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "819573D91C2B8ECB00BFCA39"
BuildableName = "Bolts.framework"
BlueprintName = "Bolts-watchOS-Dynamic"
ReferencedContainer = "container:Bolts.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
<AdditionalOptions>
</AdditionalOptions>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "819573D91C2B8ECB00BFCA39"
BuildableName = "Bolts.framework"
BlueprintName = "Bolts-watchOS-Dynamic"
ReferencedContainer = "container:Bolts.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "819573D91C2B8ECB00BFCA39"
BuildableName = "Bolts.framework"
BlueprintName = "Bolts-watchOS-Dynamic"
ReferencedContainer = "container:Bolts.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
1 change: 1 addition & 0 deletions Configurations/Bolts-OSX.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ MACH_O_TYPE = mh_dylib

DEFINES_MODULE = YES
DYLIB_INSTALL_NAME_BASE = @rpath

OTHER_LD_FLAGS = -ObjC

INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/Mac-Info.plist
1 change: 1 addition & 0 deletions Configurations/Bolts-iOS-Dynamic.xcconfig
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ PRODUCT_NAME = Bolts
IPHONEOS_DEPLOYMENT_TARGET = 8.0

MACH_O_TYPE = mh_dylib
DYLIB_INSTALL_NAME_BASE = @rpath

DEFINES_MODULE = YES
MODULEMAP_FILE = $(SRCROOT)/Bolts/Resources/iOS.modulemap
Expand Down
22 changes: 22 additions & 0 deletions Configurations/Bolts-tvOS-Dynamic.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
//
// Copyright (c) 2014, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//

#include "Shared/Platform/tvOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"

PRODUCT_NAME = Bolts

MACH_O_TYPE = mh_dylib
DYLIB_INSTALL_NAME_BASE = @rpath

DEFINES_MODULE = YES

OTHER_LDFLAGS = $(inherited) -ObjC

INFOPLIST_FILE = $(SRCROOT)/Bolts/Resources/tvOS-Info.plist
24 changes: 24 additions & 0 deletions Configurations/Bolts-watchOS-Dynamic.xcconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// Copyright (c) 2014, Facebook, Inc.
// All rights reserved.
//
// This source code is licensed under the BSD-style license found in the
// LICENSE file in the root directory of this source tree. An additional grant
// of patent rights can be found in the PATENTS file in the same directory.
//

#include "Shared/Platform/watchOS.xcconfig"
#include "Shared/Product/Framework.xcconfig"

PRODUCT_NAME = Bolts
WATCHOS_DEPLOYMENT_TARGET = 2.0

MACH_O_TYPE = mh_dylib
DYLIB_INSTALL_NAME_BASE = @rpath

DEFINES_MODULE = YES
APPLICATION_EXTENSION_API_ONLY = YES

OTHER_LDFLAGS = $(inherited) -ObjC

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

0 comments on commit 04c4412

Please sign in to comment.