-
Notifications
You must be signed in to change notification settings - Fork 48
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
Update project and installation methods (CocoaPods and Swift Package Manager) for Xcode 15 #56
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,22 +1,25 @@ | ||
Pod::Spec.new do |s| | ||
s.name = 'PINOperation' | ||
s.version = '1.2.2' | ||
s.version = '1.2.3' | ||
s.homepage = 'https://github.com/pinterest/PINOperation' | ||
s.summary = 'Fast, concurrency-limited task queue for iOS and OS X.' | ||
s.authors = { 'Garrett Moon' => '[email protected]' } | ||
s.source = { :git => 'https://github.com/pinterest/PINOperation.git', :tag => "#{s.version}" } | ||
s.license = { :type => 'Apache 2.0', :file => 'LICENSE.txt' } | ||
s.requires_arc = true | ||
s.frameworks = 'Foundation' | ||
s.ios.deployment_target = '8.0' | ||
s.osx.deployment_target = '10.8' | ||
s.tvos.deployment_target = '9.0' | ||
s.watchos.deployment_target = '2.0' | ||
s.cocoapods_version = '>= 1.13.0' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is a common pattern used across other popular open source libraries, ensuring the VisionOS platform is recognized and Resource Bundles are properly generated. |
||
s.ios.deployment_target = '12.0' | ||
s.osx.deployment_target = '10.13' | ||
s.tvos.deployment_target = '12.0' | ||
s.visionos.deployment_target = '1.0' | ||
s.watchos.deployment_target = '4.0' | ||
pch_PIN = <<-EOS | ||
#ifndef TARGET_OS_WATCH | ||
#define TARGET_OS_WATCH 0 | ||
#endif | ||
EOS | ||
s.prefix_header_contents = pch_PIN | ||
s.source_files = 'Source/**/*.{h,m,mm}' | ||
s.source_files = 'Source/*.{h,m}' | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This matches the format used in PINCache. I figured it was best to keep things simple and consistent with PINCache. |
||
s.resource_bundles = { 'PINOperation' => ['Source/PrivacyInfo.xcprivacy'] } | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is an important line. Adding a Privacy Manifest to |
||
end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I can update the version number and release date before merging, per guidance from the maintainers.