Skip to content

Commit

Permalink
add tvOS support. close #23.
Browse files Browse the repository at this point in the history
  • Loading branch information
jessesquires committed Nov 30, 2015
1 parent 2a4c44e commit ee99870
Show file tree
Hide file tree
Showing 9 changed files with 244 additions and 18 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ DerivedData
.idea/
*.hmap
*.xccheckout

_docs/
2 changes: 1 addition & 1 deletion JSQSystemSoundPlayer.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = 'JSQSystemSoundPlayer'
s.version = '4.2.0'
s.version = '4.3.0'
s.license = 'MIT'

s.summary = 'A fancy Obj-C wrapper for Cocoa System Sound Services'
Expand Down
2 changes: 1 addition & 1 deletion JSQSystemSoundPlayer/JSQSystemSoundPlayer-OSX/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0</string>
<string>4.3.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
26 changes: 26 additions & 0 deletions JSQSystemSoundPlayer/JSQSystemSoundPlayer-tvOS/Info.plist
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>en</string>
<key>CFBundleExecutable</key>
<string>$(EXECUTABLE_NAME)</string>
<key>CFBundleIdentifier</key>
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
<key>CFBundleInfoDictionaryVersion</key>
<string>6.0</string>
<key>CFBundleName</key>
<string>$(PRODUCT_NAME)</string>
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.3.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
<string></string>
</dict>
</plist>
120 changes: 118 additions & 2 deletions JSQSystemSoundPlayer/JSQSystemSoundPlayer.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@
8892FAAA1AF6E4DA00F2D347 /* JSQSystemSoundPlayer.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8892FA9E1AF6E4DA00F2D347 /* JSQSystemSoundPlayer.framework */; };
8892FAB11AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 8892FAB01AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests.m */; };
8892FABB1AF6E4F500F2D347 /* JSQSystemSoundPlayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 8892FABA1AF6E4F500F2D347 /* JSQSystemSoundPlayer.m */; };
88F469371C0BE3A2001F70F4 /* JSQSystemSoundPlayer.h in Headers */ = {isa = PBXBuildFile; fileRef = 8892FAA31AF6E4DA00F2D347 /* JSQSystemSoundPlayer.h */; settings = {ATTRIBUTES = (Public, ); }; };
88F469381C0BE3A2001F70F4 /* JSQSystemSoundPlayer.m in Sources */ = {isa = PBXBuildFile; fileRef = 8892FABA1AF6E4F500F2D347 /* JSQSystemSoundPlayer.m */; };
/* End PBXBuildFile section */

/* Begin PBXContainerItemProxy section */
Expand All @@ -41,6 +43,8 @@
8892FAAF1AF6E4DA00F2D347 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
8892FAB01AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JSQSystemSoundPlayerTests.m; sourceTree = "<group>"; };
8892FABA1AF6E4F500F2D347 /* JSQSystemSoundPlayer.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JSQSystemSoundPlayer.m; sourceTree = "<group>"; };
88F4692F1C0BE399001F70F4 /* JSQSystemSoundPlayer.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = JSQSystemSoundPlayer.framework; sourceTree = BUILT_PRODUCTS_DIR; };
88F469331C0BE399001F70F4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -66,6 +70,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
88F4692B1C0BE399001F70F4 /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXFrameworksBuildPhase section */

/* Begin PBXGroup section */
Expand Down Expand Up @@ -93,6 +104,7 @@
8892FAA01AF6E4DA00F2D347 /* JSQSystemSoundPlayer */,
8892FAAD1AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests */,
884DF6641AF6E96700D97D16 /* JSQSystemSoundPlayer-OSX */,
88F469301C0BE399001F70F4 /* JSQSystemSoundPlayer-tvOS */,
8892FA9F1AF6E4DA00F2D347 /* Products */,
);
sourceTree = "<group>";
Expand All @@ -103,6 +115,7 @@
8892FA9E1AF6E4DA00F2D347 /* JSQSystemSoundPlayer.framework */,
8892FAA91AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests.xctest */,
884DF6631AF6E96700D97D16 /* JSQSystemSoundPlayer.framework */,
88F4692F1C0BE399001F70F4 /* JSQSystemSoundPlayer.framework */,
);
name = Products;
sourceTree = "<group>";
Expand All @@ -127,6 +140,14 @@
path = JSQSystemSoundPlayerTests;
sourceTree = "<group>";
};
88F469301C0BE399001F70F4 /* JSQSystemSoundPlayer-tvOS */ = {
isa = PBXGroup;
children = (
88F469331C0BE399001F70F4 /* Info.plist */,
);
path = "JSQSystemSoundPlayer-tvOS";
sourceTree = "<group>";
};
/* End PBXGroup section */

/* Begin PBXHeadersBuildPhase section */
Expand All @@ -146,6 +167,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
88F4692C1C0BE399001F70F4 /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
88F469371C0BE3A2001F70F4 /* JSQSystemSoundPlayer.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXHeadersBuildPhase section */

/* Begin PBXNativeTarget section */
Expand Down Expand Up @@ -203,6 +232,24 @@
productReference = 8892FAA91AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
};
88F4692E1C0BE399001F70F4 /* JSQSystemSoundPlayer-tvOS */ = {
isa = PBXNativeTarget;
buildConfigurationList = 88F469341C0BE399001F70F4 /* Build configuration list for PBXNativeTarget "JSQSystemSoundPlayer-tvOS" */;
buildPhases = (
88F4692A1C0BE399001F70F4 /* Sources */,
88F4692B1C0BE399001F70F4 /* Frameworks */,
88F4692C1C0BE399001F70F4 /* Headers */,
88F4692D1C0BE399001F70F4 /* Resources */,
);
buildRules = (
);
dependencies = (
);
name = "JSQSystemSoundPlayer-tvOS";
productName = "JSQSystemSoundPlayer-tvOS";
productReference = 88F4692F1C0BE399001F70F4 /* JSQSystemSoundPlayer.framework */;
productType = "com.apple.product-type.framework";
};
/* End PBXNativeTarget section */

/* Begin PBXProject section */
Expand All @@ -222,6 +269,9 @@
8892FAA81AF6E4DA00F2D347 = {
CreatedOnToolsVersion = 6.3.1;
};
88F4692E1C0BE399001F70F4 = {
CreatedOnToolsVersion = 7.1.1;
};
};
};
buildConfigurationList = 8892FA981AF6E4DA00F2D347 /* Build configuration list for PBXProject "JSQSystemSoundPlayer" */;
Expand All @@ -239,6 +289,7 @@
8892FA9D1AF6E4DA00F2D347 /* JSQSystemSoundPlayer-iOS */,
8892FAA81AF6E4DA00F2D347 /* JSQSystemSoundPlayerTests */,
884DF6621AF6E96700D97D16 /* JSQSystemSoundPlayer-OSX */,
88F4692E1C0BE399001F70F4 /* JSQSystemSoundPlayer-tvOS */,
);
};
/* End PBXProject section */
Expand Down Expand Up @@ -268,6 +319,13 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
88F4692D1C0BE399001F70F4 /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXResourcesBuildPhase section */

/* Begin PBXSourcesBuildPhase section */
Expand Down Expand Up @@ -295,6 +353,14 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
88F4692A1C0BE399001F70F4 /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
88F469381C0BE3A2001F70F4 /* JSQSystemSoundPlayer.m in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
/* End PBXSourcesBuildPhase section */

/* Begin PBXTargetDependency section */
Expand Down Expand Up @@ -389,7 +455,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.7;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
Expand Down Expand Up @@ -431,7 +497,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 6.0;
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
MACOSX_DEPLOYMENT_TARGET = 10.7;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
Expand All @@ -451,6 +517,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = JSQSystemSoundPlayer/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = JSQSystemSoundPlayer;
Expand All @@ -467,6 +534,7 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = JSQSystemSoundPlayer/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 8.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.$(PRODUCT_NAME:rfc1034identifier)";
PRODUCT_NAME = JSQSystemSoundPlayer;
Expand Down Expand Up @@ -500,6 +568,46 @@
};
name = Release;
};
88F469351C0BE399001F70F4 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEBUG_INFORMATION_FORMAT = dwarf;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "JSQSystemSoundPlayer-tvOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.JSQSystemSoundPlayer-tvOS";
PRODUCT_NAME = JSQSystemSoundPlayer;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.0;
};
name = Debug;
};
88F469361C0BE399001F70F4 /* Release */ = {
isa = XCBuildConfiguration;
buildSettings = {
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = "JSQSystemSoundPlayer-tvOS/Info.plist";
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = "com.hexedbits.JSQSystemSoundPlayer-tvOS";
PRODUCT_NAME = JSQSystemSoundPlayer;
SDKROOT = appletvos;
SKIP_INSTALL = YES;
TARGETED_DEVICE_FAMILY = 3;
TVOS_DEPLOYMENT_TARGET = 9.0;
};
name = Release;
};
/* End XCBuildConfiguration section */

/* Begin XCConfigurationList section */
Expand Down Expand Up @@ -539,6 +647,14 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
88F469341C0BE399001F70F4 /* Build configuration list for PBXNativeTarget "JSQSystemSoundPlayer-tvOS" */ = {
isa = XCConfigurationList;
buildConfigurations = (
88F469351C0BE399001F70F4 /* Debug */,
88F469361C0BE399001F70F4 /* Release */,
);
defaultConfigurationIsVisible = 0;
};
/* End XCConfigurationList section */
};
rootObject = 8892FA951AF6E4DA00F2D347 /* Project object */;
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,80 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "0710"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "88F4692E1C0BE399001F70F4"
BuildableName = "JSQSystemSoundPlayer.framework"
BlueprintName = "JSQSystemSoundPlayer-tvOS"
ReferencedContainer = "container:JSQSystemSoundPlayer.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 = "88F4692E1C0BE399001F70F4"
BuildableName = "JSQSystemSoundPlayer.framework"
BlueprintName = "JSQSystemSoundPlayer-tvOS"
ReferencedContainer = "container:JSQSystemSoundPlayer.xcodeproj">
</BuildableReference>
</MacroExpansion>
<AdditionalOptions>
</AdditionalOptions>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "88F4692E1C0BE399001F70F4"
BuildableName = "JSQSystemSoundPlayer.framework"
BlueprintName = "JSQSystemSoundPlayer-tvOS"
ReferencedContainer = "container:JSQSystemSoundPlayer.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>
2 changes: 1 addition & 1 deletion JSQSystemSoundPlayer/JSQSystemSoundPlayer/Info.plist
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<key>CFBundlePackageType</key>
<string>FMWK</string>
<key>CFBundleShortVersionString</key>
<string>4.2.0</string>
<string>4.3.0</string>
<key>CFBundleSignature</key>
<string>????</string>
<key>CFBundleVersion</key>
Expand Down
Loading

0 comments on commit ee99870

Please sign in to comment.