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

generate_platform_import_header is missing support for :visionos. #12146

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
5 changes: 3 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`

##### Bug Fixes

* None.

* `generate_platform_import_header` is missing support for `:visionos`.
[CrazyFanFan](https://github.com/CrazyFanFan)
[#12148](https://github.com/CocoaPods/CocoaPods/issues/12148)

## 1.14.1 (2023-10-26)

Expand Down
1 change: 1 addition & 0 deletions lib/cocoapods/generator/header.rb
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,7 @@ def generate_platform_import_header
case platform.name
when :ios then "#import <UIKit/UIKit.h>\n"
when :tvos then "#import <UIKit/UIKit.h>\n"
when :visionos then "#import <UIKit/UIKit.h>\n"
when :osx then "#import <Cocoa/Cocoa.h>\n"
else "#import <Foundation/Foundation.h>\n"
end
Expand Down