Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions SystemSounds.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@

Pod::Spec.new do |s|
s.name = "SystemSounds"
s.version = "1.0.1"
s.version = "1.2.0"
s.summary = "An iOS System Sounds Player Framework."

s.description = <<-DESC
Expand All @@ -17,7 +17,7 @@ Pod::Spec.new do |s|
s.ios.deployment_target = '8.0'
s.osx.deployment_target = '10.9'

s.pod_target_xcconfig = { 'SWIFT_VERSION' => '3.0' }
s.pod_target_xcconfig = { 'SWIFT_VERSION' => '5.0' }

s.source_files = 'SystemSounds/**/*{.swift}', 'SystemSounds/**/*{.h}'
s.public_header_files = 'SystemSounds/**/*{.h}'
Expand Down
7 changes: 7 additions & 0 deletions SystemSounds/SystemSounds.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@

/* Begin PBXBuildFile section */
5CED4F1A1EC61DAB00948FC4 /* SystemSounds.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5CED4F191EC61DAB00948FC4 /* SystemSounds.swift */; };
8A716253260C576800D548DB /* SystemSounds.podspec in Resources */ = {isa = PBXBuildFile; fileRef = 8A716252260C576800D548DB /* SystemSounds.podspec */; };
/* End PBXBuildFile section */

/* Begin PBXFileReference section */
Expand All @@ -17,6 +18,7 @@
5CED4F111EC61D7A00948FC4 /* macOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = macOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
5CED4F141EC61D7A00948FC4 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
5CED4F191EC61DAB00948FC4 /* SystemSounds.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = SystemSounds.swift; sourceTree = "<group>"; };
8A716252260C576800D548DB /* SystemSounds.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = SystemSounds.podspec; path = ../SystemSounds.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
/* End PBXFileReference section */

/* Begin PBXFrameworksBuildPhase section */
Expand All @@ -40,6 +42,7 @@
5CED4EEA1EC61D5200948FC4 = {
isa = PBXGroup;
children = (
8A716252260C576800D548DB /* SystemSounds.podspec */,
5CED4EF61EC61D5200948FC4 /* SystemSounds */,
5CED4F051EC61D7400948FC4 /* iOS */,
5CED4F121EC61D7A00948FC4 /* macOS */,
Expand Down Expand Up @@ -164,6 +167,7 @@
developmentRegion = English;
hasScannedForEncodings = 0;
knownRegions = (
English,
en,
);
mainGroup = 5CED4EEA1EC61D5200948FC4;
Expand All @@ -182,6 +186,7 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8A716253260C576800D548DB /* SystemSounds.podspec in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
Expand Down Expand Up @@ -412,6 +417,7 @@
5CED4F0B1EC61D7400948FC4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
5CED4F161EC61D7A00948FC4 /* Build configuration list for PBXNativeTarget "macOS" */ = {
isa = XCConfigurationList;
Expand All @@ -420,6 +426,7 @@
5CED4F181EC61D7A00948FC4 /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
};
Expand Down
4 changes: 2 additions & 2 deletions SystemSounds/SystemSounds/SystemSounds.swift
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import AudioToolbox

// MARK: - Init

open static let shared: SystemSounds = SystemSounds()
public static let shared: SystemSounds = SystemSounds()

override init() {
self.bundle = Bundle.main
Expand All @@ -49,7 +49,7 @@ import AudioToolbox
NotificationCenter.default.addObserver(
self,
selector: sel,
name: .UIApplicationDidReceiveMemoryWarning,
name: UIApplication.didReceiveMemoryWarningNotification,
object: nil
)
#endif
Expand Down