From 5a5791bf75e7f18f6f030dac9c7308847386e5c7 Mon Sep 17 00:00:00 2001 From: Kerr Marin Miller Date: Wed, 10 Jul 2024 11:50:35 +0100 Subject: [PATCH] Update podspec + workflows --- .github/workflows/lint.yml | 4 ++-- .github/workflows/swift.yml | 6 +++--- nmbr-icu.podspec | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml index c3b0252..2a0b3ab 100644 --- a/.github/workflows/lint.yml +++ b/.github/workflows/lint.yml @@ -10,12 +10,12 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup environment - uses: ruby/setup-ruby@v1.110.0 + uses: ruby/setup-ruby@v1.182.0 with: ruby-version: '3.0.1' bundler-cache: true - name: Setup Xcode - uses: maxim-lobanov/setup-xcode@v1.4.1 + uses: maxim-lobanov/setup-xcode@v1.6.0 with: xcode-version: latest-stable - name: Lint the pod diff --git a/.github/workflows/swift.yml b/.github/workflows/swift.yml index d6f99ef..983da01 100644 --- a/.github/workflows/swift.yml +++ b/.github/workflows/swift.yml @@ -12,15 +12,15 @@ jobs: steps: - uses: actions/checkout@v3 - name: Setup environment - uses: ruby/setup-ruby@v1.110.0 + uses: ruby/setup-ruby@v1.182.0 with: ruby-version: '3.0.1' bundler-cache: true - name: Setup Xcode - uses: maxim-lobanov/setup-xcode@v1.4.1 + uses: maxim-lobanov/setup-xcode@v1.6.0 with: xcode-version: latest-stable - name: Build and test run: | bundle - xcodebuild test -workspace "Example/nmbr.xcworkspace" -scheme "nmbr-Example" -destination "platform=iOS Simulator,name=iPhone 13" + xcodebuild test -workspace ".swiftpm/xcode/package.xcworkspace" -scheme "nmbr-icu" -destination "platform=iOS Simulator,name=iPhone 15" diff --git a/nmbr-icu.podspec b/nmbr-icu.podspec index a787f6f..18d5739 100644 --- a/nmbr-icu.podspec +++ b/nmbr-icu.podspec @@ -24,9 +24,9 @@ Pod::Spec.new do |s| s.source = { :git => 'https://github.com/kerrmarin/nmbr-icu.git', :tag => s.version.to_s } s.ios.deployment_target = '14.0' - s.source_files = 'nmbr/Classes/**/*' + s.source_files = 'Sources/**/*' s.library = 'c++' - s.public_header_files = [ "nmbr/Classes/NMBRFormatter.h" ] + s.public_header_files = [ "Sources/nmbr-icu/include/NMBRFormatter.h" ] s.vendored_frameworks = 'ICU.xcframework' end