Skip to content

Commit

Permalink
version 76.1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
apotocki committed Nov 8, 2024
1 parent 50ecfe7 commit 7c55701
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on:
types: [published]
push:
tags:
- 75.**
- 76.**
workflow_dispatch:
jobs:
Build:
Expand Down
2 changes: 1 addition & 1 deletion .gitmodules
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[submodule "icu"]
path = icu
url = https://github.com/unicode-org/icu
branch = maint/maint-75
branch = maint/maint-76
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
## ICU for iOS, visionOS, macOS (Intel & Apple Silicon M1) & Catalyst - arm64 / x86_64

Supported versions: 75.1
Supported versions: 76.1

This repo provides a universal script for building static ICU libraries for use in iOS, visionOS, and macOS applications. The actual ICU library version is taken from https://github.com/unicode-org/icu . The repo branches correspond to the suitable branches of ICU repo. E.g. "75" branch corresponds to "maint/maint-75" branch.
This repo provides a universal script for building static ICU libraries for use in iOS, visionOS, and macOS applications. The actual ICU library version is taken from https://github.com/unicode-org/icu . The repo branches correspond to the suitable branches of ICU repo. E.g. "76" branch corresponds to "maint/maint-76" branch.

## Prerequisites
1) Xcode must be installed because xcodebuild is used to create xcframeworks
Expand All @@ -13,7 +13,7 @@ This repo provides a universal script for building static ICU libraries for use
- Manually
```
# clone the repo
git clone -b 75 https://github.com/apotocki/icu4c-iosx
git clone -b 76 https://github.com/apotocki/icu4c-iosx
# build libraries
cd icu4c-iosx
Expand All @@ -24,9 +24,9 @@ This repo provides a universal script for building static ICU libraries for use
- Use cocoapods. Add the following lines into your project's Podfile:
```
use_frameworks!
pod 'icu4c-iosx', '~> 75.1'
pod 'icu4c-iosx', '~> 76.1'
# or optionally more precisely
# pod 'icu4c-iosx', :git => 'https://github.com/apotocki/icu4c-iosx', :tag => '75.1.3'
# pod 'icu4c-iosx', :git => 'https://github.com/apotocki/icu4c-iosx', :tag => '76.1.0'
```
install new dependency:
```
Expand Down
2 changes: 1 addition & 1 deletion icu4c-iosx.podspec
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Pod::Spec.new do |s|
s.name = "icu4c-iosx"
s.version = "75.1.3"
s.version = "76.1.0"
s.summary = "ICU XCFramework for macOS, iOS, and visionOS, including both arm64 and x86_64 builds for macOS, Mac Catalyst, iOS Simulator, and visionOS Simulator."
s.homepage = "https://github.com/apotocki/icu4c-iosx"
s.license = "BSD"
Expand Down
8 changes: 4 additions & 4 deletions scripts/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ set -e
THREAD_COUNT=$(sysctl hw.ncpu | awk '{print $2}')
HOST_ARC=$( uname -m )
XCODE_ROOT=$( xcode-select -print-path )
ICU_VER=maint/maint-75
ICU_VER=maint/maint-76
#MACOSX_VERSION_ARM=12.3
#MACOSX_VERSION_X86_64=10.13
IOS_VERSION=13.4
Expand Down Expand Up @@ -46,10 +46,10 @@ if [ ! -d icu ]; then
git clone --depth 1 -b $ICU_VER https://github.com/unicode-org/icu icu
fi

#explicit 75.1
#explicit 76.1
pushd icu
git fetch --depth=1 origin 7750081bda4b3bc1768ae03849ec70f67ea10625
git reset --hard 7750081bda4b3bc1768ae03849ec70f67ea10625
git fetch --depth=1 origin 8eca245c7484ac6cc179e3e5f7c1ea7680810f39
git reset --hard 8eca245c7484ac6cc179e3e5f7c1ea7680810f39
popd

COMMON_CONFIGURE_ARGS="--enable-static --disable-shared prefix=$INSTALL_DIR --with-data-packaging=$WITH_DATA_PACKAGING"
Expand Down

0 comments on commit 7c55701

Please sign in to comment.