Skip to content

Commit c1683cd

Browse files
committed
Add env setting
1 parent 8f404ac commit c1683cd

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

UserAgency.podspec

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Pod::Spec.new do |spec|
1616
#
1717

1818
spec.name = "UserAgency"
19-
spec.version = "0.1"
19+
spec.version = "0.2"
2020
spec.summary = "User-Agent generator library written in swift"
2121

2222
# This description is used to generate tags and improve search results.
@@ -67,7 +67,8 @@ Pod::Spec.new do |spec|
6767
# spec.platform = :ios
6868
# spec.platform = :ios, "5.0"
6969

70-
spec.ios.deployment_target = "14.3"
70+
spec.ios.deployment_target = "9.0"
71+
spec.osx.deployment_target = "10.15"
7172
spec.swift_version = "5.3"
7273

7374
# When using multiple platforms

UserAgency.xcodeproj/project.pbxproj

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -523,6 +523,8 @@
523523
DYLIB_INSTALL_NAME_BASE = "@rpath";
524524
INFOPLIST_FILE = UserAgency/Info.plist;
525525
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
526+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
527+
"IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*]" = 13.1;
526528
LD_RUNPATH_SEARCH_PATHS = (
527529
"$(inherited)",
528530
"@executable_path/Frameworks",
@@ -549,6 +551,8 @@
549551
DYLIB_INSTALL_NAME_BASE = "@rpath";
550552
INFOPLIST_FILE = UserAgency/Info.plist;
551553
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
554+
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
555+
"IPHONEOS_DEPLOYMENT_TARGET[sdk=macosx*]" = 13.1;
552556
LD_RUNPATH_SEARCH_PATHS = (
553557
"$(inherited)",
554558
"@executable_path/Frameworks",

0 commit comments

Comments
 (0)