Skip to content

Commit

Permalink
Xcode 14.3 fix: pod lib lint warning generation from main.m.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulb777 authored and dnkoutso committed Apr 18, 2023
1 parent b3e70a3 commit a5a8387
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,9 @@ To install release candidates run `[sudo] gem install cocoapods --pre`
[#11828](https://github.com/CocoaPods/CocoaPods/pull/11828)
[#11808](https://github.com/CocoaPods/CocoaPods/issues/11808)

# Xcode 14.3 fix: `pod lib lint` warning generation from main.m.
[Paul Beusterien](https://github.com/paulb777)
[#11846](https://github.com/CocoaPods/CocoaPods/issuess/11846)

## 1.12.0 (2023-02-27)

Expand Down
2 changes: 1 addition & 1 deletion lib/cocoapods/generator/app_target_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -203,7 +203,7 @@ def self.create_app_import_source_file(project, pod_target, platform, name = 'Ap
f << "@import Foundation;\n"
f << "@import UIKit;\n" if platform == :ios || platform == :tvos
f << "@import Cocoa;\n" if platform == :osx
f << "#{import_statement}int main() {}\n"
f << "#{import_statement}int main(void) {}\n"
end
end
source_file
Expand Down

0 comments on commit a5a8387

Please sign in to comment.