Skip to content

Commit

Permalink
bump version 2.2.1 with MonkeyKingBinary.xcframework
Browse files Browse the repository at this point in the history
  • Loading branch information
nixzhu committed Jun 14, 2021
1 parent 7f7c43e commit e23f43a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
16 changes: 8 additions & 8 deletions China.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -534,11 +534,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = China/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = com.nixWork.China;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand All @@ -553,11 +553,11 @@
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
CODE_SIGN_IDENTITY = "iPhone Developer";
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEVELOPMENT_TEAM = "";
INFOPLIST_FILE = China/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = com.nixWork.China;
PRODUCT_NAME = "$(TARGET_NAME)";
PROVISIONING_PROFILE = "";
Expand All @@ -571,7 +571,7 @@
APPLICATION_EXTENSION_API_ONLY = NO;
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -580,7 +580,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = com.nixWork.MonkeyKing;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand All @@ -599,7 +599,7 @@
APPLICATION_EXTENSION_API_ONLY = NO;
CLANG_ENABLE_MODULES = YES;
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
CURRENT_PROJECT_VERSION = 48;
CURRENT_PROJECT_VERSION = 49;
DEFINES_MODULE = YES;
DYLIB_COMPATIBILITY_VERSION = 1;
DYLIB_CURRENT_VERSION = 1;
Expand All @@ -608,7 +608,7 @@
INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
MARKETING_VERSION = 2.2.0;
MARKETING_VERSION = 2.2.1;
PRODUCT_BUNDLE_IDENTIFIER = com.nixWork.MonkeyKing;
PRODUCT_NAME = "$(TARGET_NAME)";
SKIP_INSTALL = YES;
Expand Down
2 changes: 1 addition & 1 deletion MonkeyKing.podspec
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
Pod::Spec.new do |s|

s.name = "MonkeyKing"
s.version = "2.2.0"
s.version = "2.2.1"
s.summary = "MonkeyKing helps you to post messages to Chinese Social Networks, or do OAuth and Payment."

s.description = <<-DESC
Expand Down
4 changes: 2 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ let package = Package(
),
.binaryTarget(
name: "MonkeyKingBinary",
url: "https://github.com/nixzhu/MonkeyKing/releases/download/2.2.0/MonkeyKing.xcframework.zip",
checksum: "9b456c3a79382f06243f7ac6dde6aaf30bfc7207d580e3aafae40dfa43be873c"
url: "https://github.com/nixzhu/MonkeyKing/releases/download/2.2.1/MonkeyKingBinary.xcframework.zip",
checksum: "0b9b13b7fc53136eb5e323a92a3c5fc8d273f8d4d85c6731605b8a534da027fb"
),
]
)
6 changes: 3 additions & 3 deletions Scripts/xcframework.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ xcodebuild archive -project "China.xcodeproj" \
xcodebuild -create-xcframework \
-framework build/MonkeyKing/Simulator.xcarchive/Products/Library/Frameworks/MonkeyKing.framework \
-framework build/MonkeyKing/iOS.xcarchive/Products/Library/Frameworks/MonkeyKing.framework \
-output build/MonkeyKing.xcframework
-output build/MonkeyKingBinary.xcframework

cd Build && find . -name "*.swiftinterface" -exec sed -i -e 's/MonkeyKing\.MonkeyKing/MonkeyKing/g' {} \;

zip -vry MonkeyKing.xcframework.zip MonkeyKing.xcframework/ -x "*.DS_Store"
zip -vry MonkeyKingBinary.xcframework.zip MonkeyKingBinary.xcframework/ -x "*.DS_Store"

echo "\n-----"
swift package compute-checksum MonkeyKing.xcframework.zip
swift package compute-checksum MonkeyKingBinary.xcframework.zip
echo "-----"

open .

0 comments on commit e23f43a

Please sign in to comment.