Skip to content

Commit

Permalink
Update podspec + workflows
Browse files Browse the repository at this point in the history
  • Loading branch information
kerrmarin committed Jul 10, 2024
1 parent 41db710 commit 5a5791b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/swift.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
4 changes: 2 additions & 2 deletions nmbr-icu.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 5a5791b

Please sign in to comment.