Skip to content

Commit

Permalink
Fix Xcode 13 builds
Browse files Browse the repository at this point in the history
  • Loading branch information
LeonHu committed Feb 28, 2022
1 parent ddd7daf commit 8dc0f8c
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 11 deletions.
8 changes: 4 additions & 4 deletions NewPopMenu.podspec
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
Pod::Spec.new do |spec|
spec.name = 'NewPopMenu'
spec.version = '2.1.2'
spec.version = '2.1.3'
spec.license = { :type => 'MIT', :file => "LICENSE" }
spec.homepage = 'https://github.com/CaliCastle/PopMenu'
spec.authors = { 'Cali Castle' => 'cali@calicastle.com' }
spec.summary = 'A fully customizable popup style menu'
spec.source = { :git => 'https://github.com/CaliCastle/PopMenu.git', :tag => 'v2.1.2' }
spec.source = { :git => 'https://github.com/playable-cn/PopMenu.git', :tag => 'v2.1.3' }
spec.source_files = 'PopMenu/**/*.{h,swift}'

spec.module_name = "PopMenu"
spec.platform = :ios, "9.0"
spec.ios.deployment_target = "9.0"
spec.platform = :ios, "10.0"
spec.ios.deployment_target = "10.0"
spec.swift_version = '4.2'
spec.requires_arc = true
spec.frameworks = "UIKit"
Expand Down
10 changes: 6 additions & 4 deletions PopMenu.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = YES;
ONLY_ACTIVE_ARCH = YES;
SDKROOT = iphoneos;
Expand Down Expand Up @@ -409,7 +409,7 @@
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
GCC_WARN_UNUSED_FUNCTION = YES;
GCC_WARN_UNUSED_VARIABLE = YES;
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
MTL_ENABLE_DEBUG_INFO = NO;
SDKROOT = iphoneos;
SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
Expand All @@ -432,8 +432,9 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PopMenu/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.1.3;
PRODUCT_BUNDLE_IDENTIFIER = com.PopMenu.PopMenu;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand All @@ -457,8 +458,9 @@
DYLIB_INSTALL_NAME_BASE = "@rpath";
INFOPLIST_FILE = PopMenu/Info.plist;
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.1.3;
PRODUCT_BUNDLE_IDENTIFIER = com.PopMenu.PopMenu;
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
PROVISIONING_PROFILE_SPECIFIER = "";
Expand Down
2 changes: 0 additions & 2 deletions PopMenu/Classes/Helpers/Haptics.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,9 @@ import UIKit
public enum Haptic {

/// Impact style.
@available(iOS 10.0, *)
case impact(UIImpactFeedbackGenerator.FeedbackStyle)

/// Notification style.
@available(iOS 10.0, *)
case notification(UINotificationFeedbackGenerator.FeedbackType)

/// Selection style.
Expand Down
2 changes: 1 addition & 1 deletion PopMenu/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>2.1.0</string>
<string>$(MARKETING_VERSION)</string>
<key>CFBundleVersion</key>
<string>$(CURRENT_PROJECT_VERSION)</string>
<key>NSPrincipalClass</key>
Expand Down

0 comments on commit 8dc0f8c

Please sign in to comment.