Skip to content

Commit

Permalink
generate_platform_import_header is missing support for :visionos.
Browse files Browse the repository at this point in the history
  • Loading branch information
CrazyFanFan committed Nov 13, 2023
1 parent 202ce5d commit 7c89873
Showing 1 changed file with 1 addition and 0 deletions.
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

0 comments on commit 7c89873

Please sign in to comment.