Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Podspec #18

Merged
merged 6 commits into from
Aug 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
52 changes: 28 additions & 24 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,30 +9,6 @@ on:
- '*'

jobs:
build-big-sur:
strategy:
matrix:
xcode:
- '12.5.1'
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Build
run: swift build
unit_test-big-sur:
strategy:
matrix:
xcode:
- '12.5.1'
runs-on: macos-11
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: swift test --enable-test-discovery --enable-code-coverage | xcpretty
build-monterey:
strategy:
matrix:
Expand Down Expand Up @@ -70,6 +46,7 @@ jobs:
matrix:
xcode:
- '14.3.1'
- '15.2'
runs-on: macos-13
steps:
- uses: actions/checkout@v2
Expand All @@ -82,7 +59,34 @@ jobs:
matrix:
xcode:
- '14.3.1'
- '15.2'
runs-on: macos-13
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run tests
run: swift test --enable-test-discovery --enable-code-coverage | xcpretty
build-sonoma:
strategy:
matrix:
xcode:
- '15.4'
- '16.1'
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
run: sudo xcode-select -s /Applications/Xcode_${{ matrix.xcode }}.app
- name: Run Build
run: swift build
unit_test-sonoma:
strategy:
matrix:
xcode:
- '15.4'
- '16.1'
runs-on: macos-14
steps:
- uses: actions/checkout@v2
- name: Select Xcode ${{ matrix.xcode }}
Expand Down
8 changes: 2 additions & 6 deletions .github/workflows/podspec.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
name: Podspec

on:
push:
branches:
- main
pull_request:
branches:
- '*'
release:
types: [created, published]

jobs:
linting:
Expand Down
30 changes: 18 additions & 12 deletions TPTweak.podspec
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
Pod::Spec.new do |spec|
spec.name = "TPTweak"
spec.version = "2.0.2"
spec.summary = "TPTweak is a debugging tool to help adjust your iOS app on the fly without recompile"
spec.name = "TPTweak"
spec.version = "2.0.2"
spec.summary = "TPTweak is a debugging tool to help adjust your iOS app on the fly without recompile"

spec.license = { :type => "Apache 2.0", :file => "LICENSE.md" }
spec.author = { "Wendy Liga" => "[email protected]" }
spec.homepage = "https://github.com/tokopedia/ios-tptweak"
spec.license = { :type => "Apache 2.0", :file => "LICENSE.md" }
spec.author = { "Wendy Liga" => "[email protected]" }
spec.homepage = "https://github.com/tokopedia/ios-tptweak"

spec.platform = :ios, "11.0"
spec.swift_versions = ["5.4"]
spec.source = { :git => "https://github.com/tokopedia/ios-tptweak.git", :tag => "#{spec.version}" }
spec.source_files = "Sources/TPTweak/**/*.swift"
spec.platform = :ios, "11.0"
spec.swift_versions = ["5.4"]
spec.source = { :git => "https://github.com/tokopedia/ios-tptweak.git", :tag => "#{spec.version}" }
spec.source_files = "Sources/TPTweak/**/*.swift"
spec.default_subspec = "Core"

spec.subspec 'DevTools' do |sp|
sp.compiler_flags = '-DUSE_DEVTOOLS'
spec.subspec 'Core' do |ss|
ss.source_files = "Sources/TPTweak/"
end

spec.subspec 'DevTools' do |ss|
ss.compiler_flags = "-DUSE_DEVTOOLS"
ss.source_files = "Sources/TPTweak/"
end
end
Loading