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

Add deployment target for iOS and macOS in podspec #227

Merged
merged 2 commits into from
Nov 27, 2024

Conversation

MacTHEgenius
Copy link
Contributor

Description

Added deployment target for macOS (OS X). I still needed to add a deployment target for iOS in the main spec, not sure if it's the right way to do it since some subspec has one.

Motivation and Context

Need macOS target support for the Pod.

How Has This Been Tested?

It has been tested in an Xcode project with an iOS and a macOS target with a Podfile as this:

require_relative 'podspec_versions.rb'

ENV['TRIKOT_FRAMEWORK_NAME']='Shared'

target 'AppForiOS' do
  use_frameworks!
  platform :ios, '15.0'
  trikotVersion = properties['versions']['trikot']
  pod 'Trikot/kword', :path => '../../trikot', :inhibit_warnings => true
end

target 'AppForMac' do
  use_frameworks!
  platform :macos, '12.0'
  trikotVersion = properties['versions']['trikot']
  pod 'Trikot/kword', :path => '../../trikot', :inhibit_warnings => true
end

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@MacTHEgenius MacTHEgenius merged commit fd044d4 into master Nov 27, 2024
1 check failed
@MacTHEgenius MacTHEgenius deleted the task/apple-deployment-target branch November 27, 2024 21:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant