From 12039c709bf5177e5f9df86d8c9e2c52e7048fa5 Mon Sep 17 00:00:00 2001 From: John Szumski Date: Fri, 29 Sep 2023 11:39:27 -0400 Subject: [PATCH 1/3] Update ffi to fix `bundle install` failure --- Gemfile.lock | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 713750d..e214c16 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -91,7 +91,7 @@ GEM escape (0.0.4) ethon (0.12.0) ffi (>= 1.3.0) - ffi (1.13.1) + ffi (1.16.2) fourflusher (2.3.1) fuzzy_match (2.0.4) gh_inspector (1.1.3) @@ -188,4 +188,4 @@ DEPENDENCIES rubocop (~> 0.55.0) BUNDLED WITH - 2.3.26 + 2.4.19 From 63d5c28322fd8d9a787d7729c8531417cf347d8b Mon Sep 17 00:00:00 2001 From: John Szumski Date: Fri, 29 Sep 2023 11:39:36 -0400 Subject: [PATCH 2/3] Fix function prototype warning in Xcode 15 --- lib/cocoapods/generate/installer.rb | 2 +- spec/integration/fork/after/gen/Foo/App-iOS/main.m | 2 +- spec/integration/fork/after/gen/Foo/App-macOS/main.m | 2 +- spec/integration/fork/after/gen/Foo/App-tvOS/main.m | 2 +- spec/integration/fork/after/gen/Foo/App-watchOS/main.m | 2 +- .../after/gen/Foo/App-iOS/main.m | 2 +- .../after/gen/Foo/App-macOS/main.m | 2 +- .../after/gen/Foo/App-tvOS/main.m | 2 +- .../after/gen/Foo/App-watchOS/main.m | 2 +- .../after/gen/Forkable/App-iOS/main.m | 2 +- .../after/gen/Forkable/App-macOS/main.m | 2 +- .../after/gen/Forkable/App-tvOS/main.m | 2 +- .../after/gen/Forkable/App-watchOS/main.m | 2 +- spec/integration/local_sources/after/gen/E/App-iOS/main.m | 2 +- spec/integration/local_sources/after/gen/E/App-macOS/main.m | 2 +- spec/integration/local_sources/after/gen/E/App-tvOS/main.m | 2 +- spec/integration/local_sources/after/gen/E/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/A/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/A/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/A/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/A/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/B/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/B/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/B/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/B/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/C/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/C/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/C/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/C/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/D/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/D/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/D/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/D/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/E/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/E/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/E/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/E/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/F/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/F/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/F/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/F/App-watchOS/main.m | 2 +- spec/integration/monorepo/after/gen/G/App-iOS/main.m | 2 +- spec/integration/monorepo/after/gen/G/App-macOS/main.m | 2 +- spec/integration/monorepo/after/gen/G/App-tvOS/main.m | 2 +- spec/integration/monorepo/after/gen/G/App-watchOS/main.m | 2 +- spec/integration/single_podspec/after/gen/Foo/App-iOS/main.m | 2 +- spec/integration/single_podspec/after/gen/Foo/App-macOS/main.m | 2 +- spec/integration/single_podspec/after/gen/Foo/App-tvOS/main.m | 2 +- .../integration/single_podspec/after/gen/Foo/App-watchOS/main.m | 2 +- .../single_workspace/after/gen/Workspace/App-iOS/main.m | 2 +- .../single_workspace/after/gen/Workspace/App-macOS/main.m | 2 +- .../single_workspace/after/gen/Workspace/App-tvOS/main.m | 2 +- .../single_workspace/after/gen/Workspace/App-watchOS/main.m | 2 +- spec/integration/use_libraries/after/gen/Foo/App-iOS/main.m | 2 +- spec/integration/use_libraries/after/gen/Foo/App-macOS/main.m | 2 +- spec/integration/use_libraries/after/gen/Foo/App-tvOS/main.m | 2 +- spec/integration/use_libraries/after/gen/Foo/App-watchOS/main.m | 2 +- 57 files changed, 57 insertions(+), 57 deletions(-) diff --git a/lib/cocoapods/generate/installer.rb b/lib/cocoapods/generate/installer.rb index af4ced6..699edbf 100644 --- a/lib/cocoapods/generate/installer.rb +++ b/lib/cocoapods/generate/installer.rb @@ -444,7 +444,7 @@ def create_main_source_file(project, pod_targets, name) source_file.open('w') do |f| f << import_statements.join("\n") f << "\n" unless import_statements.empty? - f << "int main() { return 0; }\n" + f << "int main(void) { return 0; }\n" end source_file diff --git a/spec/integration/fork/after/gen/Foo/App-iOS/main.m b/spec/integration/fork/after/gen/Foo/App-iOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/fork/after/gen/Foo/App-iOS/main.m +++ b/spec/integration/fork/after/gen/Foo/App-iOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/fork/after/gen/Foo/App-macOS/main.m b/spec/integration/fork/after/gen/Foo/App-macOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/fork/after/gen/Foo/App-macOS/main.m +++ b/spec/integration/fork/after/gen/Foo/App-macOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/fork/after/gen/Foo/App-tvOS/main.m b/spec/integration/fork/after/gen/Foo/App-tvOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/fork/after/gen/Foo/App-tvOS/main.m +++ b/spec/integration/fork/after/gen/Foo/App-tvOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/fork/after/gen/Foo/App-watchOS/main.m b/spec/integration/fork/after/gen/Foo/App-watchOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/fork/after/gen/Foo/App-watchOS/main.m +++ b/spec/integration/fork/after/gen/Foo/App-watchOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-iOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-iOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-iOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-iOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-macOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-macOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-macOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-macOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-tvOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-tvOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-tvOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-tvOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-watchOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-watchOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-watchOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Foo/App-watchOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-iOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-iOS/main.m index 0eeb9b8..34a0078 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-iOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-iOS/main.m @@ -1,2 +1,2 @@ @import Forkable; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-macOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-macOS/main.m index 0eeb9b8..34a0078 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-macOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-macOS/main.m @@ -1,2 +1,2 @@ @import Forkable; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-tvOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-tvOS/main.m index 0eeb9b8..34a0078 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-tvOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-tvOS/main.m @@ -1,2 +1,2 @@ @import Forkable; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-watchOS/main.m b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-watchOS/main.m index 0eeb9b8..34a0078 100644 --- a/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-watchOS/main.m +++ b/spec/integration/local-version-of-published-podspec/after/gen/Forkable/App-watchOS/main.m @@ -1,2 +1,2 @@ @import Forkable; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local_sources/after/gen/E/App-iOS/main.m b/spec/integration/local_sources/after/gen/E/App-iOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/local_sources/after/gen/E/App-iOS/main.m +++ b/spec/integration/local_sources/after/gen/E/App-iOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local_sources/after/gen/E/App-macOS/main.m b/spec/integration/local_sources/after/gen/E/App-macOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/local_sources/after/gen/E/App-macOS/main.m +++ b/spec/integration/local_sources/after/gen/E/App-macOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local_sources/after/gen/E/App-tvOS/main.m b/spec/integration/local_sources/after/gen/E/App-tvOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/local_sources/after/gen/E/App-tvOS/main.m +++ b/spec/integration/local_sources/after/gen/E/App-tvOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/local_sources/after/gen/E/App-watchOS/main.m b/spec/integration/local_sources/after/gen/E/App-watchOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/local_sources/after/gen/E/App-watchOS/main.m +++ b/spec/integration/local_sources/after/gen/E/App-watchOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/A/App-iOS/main.m b/spec/integration/monorepo/after/gen/A/App-iOS/main.m index 79a77cf..e85f2f6 100644 --- a/spec/integration/monorepo/after/gen/A/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/A/App-iOS/main.m @@ -1,2 +1,2 @@ @import A; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/A/App-macOS/main.m b/spec/integration/monorepo/after/gen/A/App-macOS/main.m index 79a77cf..e85f2f6 100644 --- a/spec/integration/monorepo/after/gen/A/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/A/App-macOS/main.m @@ -1,2 +1,2 @@ @import A; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/A/App-tvOS/main.m b/spec/integration/monorepo/after/gen/A/App-tvOS/main.m index 79a77cf..e85f2f6 100644 --- a/spec/integration/monorepo/after/gen/A/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/A/App-tvOS/main.m @@ -1,2 +1,2 @@ @import A; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/A/App-watchOS/main.m b/spec/integration/monorepo/after/gen/A/App-watchOS/main.m index 79a77cf..e85f2f6 100644 --- a/spec/integration/monorepo/after/gen/A/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/A/App-watchOS/main.m @@ -1,2 +1,2 @@ @import A; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/B/App-iOS/main.m b/spec/integration/monorepo/after/gen/B/App-iOS/main.m index 0aed5c1..8c73239 100644 --- a/spec/integration/monorepo/after/gen/B/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/B/App-iOS/main.m @@ -1,2 +1,2 @@ @import B; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/B/App-macOS/main.m b/spec/integration/monorepo/after/gen/B/App-macOS/main.m index 0aed5c1..8c73239 100644 --- a/spec/integration/monorepo/after/gen/B/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/B/App-macOS/main.m @@ -1,2 +1,2 @@ @import B; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/B/App-tvOS/main.m b/spec/integration/monorepo/after/gen/B/App-tvOS/main.m index 0aed5c1..8c73239 100644 --- a/spec/integration/monorepo/after/gen/B/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/B/App-tvOS/main.m @@ -1,2 +1,2 @@ @import B; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/B/App-watchOS/main.m b/spec/integration/monorepo/after/gen/B/App-watchOS/main.m index 0aed5c1..8c73239 100644 --- a/spec/integration/monorepo/after/gen/B/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/B/App-watchOS/main.m @@ -1,2 +1,2 @@ @import B; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/C/App-iOS/main.m b/spec/integration/monorepo/after/gen/C/App-iOS/main.m index 477eeb4..ad21543 100644 --- a/spec/integration/monorepo/after/gen/C/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/C/App-iOS/main.m @@ -1,2 +1,2 @@ @import C; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/C/App-macOS/main.m b/spec/integration/monorepo/after/gen/C/App-macOS/main.m index 477eeb4..ad21543 100644 --- a/spec/integration/monorepo/after/gen/C/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/C/App-macOS/main.m @@ -1,2 +1,2 @@ @import C; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/C/App-tvOS/main.m b/spec/integration/monorepo/after/gen/C/App-tvOS/main.m index 477eeb4..ad21543 100644 --- a/spec/integration/monorepo/after/gen/C/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/C/App-tvOS/main.m @@ -1,2 +1,2 @@ @import C; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/C/App-watchOS/main.m b/spec/integration/monorepo/after/gen/C/App-watchOS/main.m index 477eeb4..ad21543 100644 --- a/spec/integration/monorepo/after/gen/C/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/C/App-watchOS/main.m @@ -1,2 +1,2 @@ @import C; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/D/App-iOS/main.m b/spec/integration/monorepo/after/gen/D/App-iOS/main.m index 9952532..7a94147 100644 --- a/spec/integration/monorepo/after/gen/D/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/D/App-iOS/main.m @@ -1,2 +1,2 @@ @import D; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/D/App-macOS/main.m b/spec/integration/monorepo/after/gen/D/App-macOS/main.m index 9952532..7a94147 100644 --- a/spec/integration/monorepo/after/gen/D/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/D/App-macOS/main.m @@ -1,2 +1,2 @@ @import D; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/D/App-tvOS/main.m b/spec/integration/monorepo/after/gen/D/App-tvOS/main.m index 9952532..7a94147 100644 --- a/spec/integration/monorepo/after/gen/D/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/D/App-tvOS/main.m @@ -1,2 +1,2 @@ @import D; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/D/App-watchOS/main.m b/spec/integration/monorepo/after/gen/D/App-watchOS/main.m index 9952532..7a94147 100644 --- a/spec/integration/monorepo/after/gen/D/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/D/App-watchOS/main.m @@ -1,2 +1,2 @@ @import D; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/E/App-iOS/main.m b/spec/integration/monorepo/after/gen/E/App-iOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/monorepo/after/gen/E/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/E/App-iOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/E/App-macOS/main.m b/spec/integration/monorepo/after/gen/E/App-macOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/monorepo/after/gen/E/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/E/App-macOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/E/App-tvOS/main.m b/spec/integration/monorepo/after/gen/E/App-tvOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/monorepo/after/gen/E/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/E/App-tvOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/E/App-watchOS/main.m b/spec/integration/monorepo/after/gen/E/App-watchOS/main.m index 3f370cc..63e3cf8 100644 --- a/spec/integration/monorepo/after/gen/E/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/E/App-watchOS/main.m @@ -1,2 +1,2 @@ @import E; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/F/App-iOS/main.m b/spec/integration/monorepo/after/gen/F/App-iOS/main.m index c1d4727..dd9301e 100644 --- a/spec/integration/monorepo/after/gen/F/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/F/App-iOS/main.m @@ -1,2 +1,2 @@ @import F; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/F/App-macOS/main.m b/spec/integration/monorepo/after/gen/F/App-macOS/main.m index c1d4727..dd9301e 100644 --- a/spec/integration/monorepo/after/gen/F/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/F/App-macOS/main.m @@ -1,2 +1,2 @@ @import F; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/F/App-tvOS/main.m b/spec/integration/monorepo/after/gen/F/App-tvOS/main.m index c1d4727..dd9301e 100644 --- a/spec/integration/monorepo/after/gen/F/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/F/App-tvOS/main.m @@ -1,2 +1,2 @@ @import F; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/F/App-watchOS/main.m b/spec/integration/monorepo/after/gen/F/App-watchOS/main.m index c1d4727..dd9301e 100644 --- a/spec/integration/monorepo/after/gen/F/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/F/App-watchOS/main.m @@ -1,2 +1,2 @@ @import F; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/G/App-iOS/main.m b/spec/integration/monorepo/after/gen/G/App-iOS/main.m index a006135..af305e0 100644 --- a/spec/integration/monorepo/after/gen/G/App-iOS/main.m +++ b/spec/integration/monorepo/after/gen/G/App-iOS/main.m @@ -1,2 +1,2 @@ @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/G/App-macOS/main.m b/spec/integration/monorepo/after/gen/G/App-macOS/main.m index a006135..af305e0 100644 --- a/spec/integration/monorepo/after/gen/G/App-macOS/main.m +++ b/spec/integration/monorepo/after/gen/G/App-macOS/main.m @@ -1,2 +1,2 @@ @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/G/App-tvOS/main.m b/spec/integration/monorepo/after/gen/G/App-tvOS/main.m index a006135..af305e0 100644 --- a/spec/integration/monorepo/after/gen/G/App-tvOS/main.m +++ b/spec/integration/monorepo/after/gen/G/App-tvOS/main.m @@ -1,2 +1,2 @@ @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/monorepo/after/gen/G/App-watchOS/main.m b/spec/integration/monorepo/after/gen/G/App-watchOS/main.m index a006135..af305e0 100644 --- a/spec/integration/monorepo/after/gen/G/App-watchOS/main.m +++ b/spec/integration/monorepo/after/gen/G/App-watchOS/main.m @@ -1,2 +1,2 @@ @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_podspec/after/gen/Foo/App-iOS/main.m b/spec/integration/single_podspec/after/gen/Foo/App-iOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/single_podspec/after/gen/Foo/App-iOS/main.m +++ b/spec/integration/single_podspec/after/gen/Foo/App-iOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_podspec/after/gen/Foo/App-macOS/main.m b/spec/integration/single_podspec/after/gen/Foo/App-macOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/single_podspec/after/gen/Foo/App-macOS/main.m +++ b/spec/integration/single_podspec/after/gen/Foo/App-macOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_podspec/after/gen/Foo/App-tvOS/main.m b/spec/integration/single_podspec/after/gen/Foo/App-tvOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/single_podspec/after/gen/Foo/App-tvOS/main.m +++ b/spec/integration/single_podspec/after/gen/Foo/App-tvOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_podspec/after/gen/Foo/App-watchOS/main.m b/spec/integration/single_podspec/after/gen/Foo/App-watchOS/main.m index e997a1c..18a32d8 100644 --- a/spec/integration/single_podspec/after/gen/Foo/App-watchOS/main.m +++ b/spec/integration/single_podspec/after/gen/Foo/App-watchOS/main.m @@ -1,2 +1,2 @@ @import Foo; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_workspace/after/gen/Workspace/App-iOS/main.m b/spec/integration/single_workspace/after/gen/Workspace/App-iOS/main.m index 1b3daac..fd9e444 100644 --- a/spec/integration/single_workspace/after/gen/Workspace/App-iOS/main.m +++ b/spec/integration/single_workspace/after/gen/Workspace/App-iOS/main.m @@ -5,4 +5,4 @@ @import E; @import F; @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_workspace/after/gen/Workspace/App-macOS/main.m b/spec/integration/single_workspace/after/gen/Workspace/App-macOS/main.m index 1b3daac..fd9e444 100644 --- a/spec/integration/single_workspace/after/gen/Workspace/App-macOS/main.m +++ b/spec/integration/single_workspace/after/gen/Workspace/App-macOS/main.m @@ -5,4 +5,4 @@ @import E; @import F; @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_workspace/after/gen/Workspace/App-tvOS/main.m b/spec/integration/single_workspace/after/gen/Workspace/App-tvOS/main.m index 1b3daac..fd9e444 100644 --- a/spec/integration/single_workspace/after/gen/Workspace/App-tvOS/main.m +++ b/spec/integration/single_workspace/after/gen/Workspace/App-tvOS/main.m @@ -5,4 +5,4 @@ @import E; @import F; @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/single_workspace/after/gen/Workspace/App-watchOS/main.m b/spec/integration/single_workspace/after/gen/Workspace/App-watchOS/main.m index 1b3daac..fd9e444 100644 --- a/spec/integration/single_workspace/after/gen/Workspace/App-watchOS/main.m +++ b/spec/integration/single_workspace/after/gen/Workspace/App-watchOS/main.m @@ -5,4 +5,4 @@ @import E; @import F; @import G; -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/use_libraries/after/gen/Foo/App-iOS/main.m b/spec/integration/use_libraries/after/gen/Foo/App-iOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/use_libraries/after/gen/Foo/App-iOS/main.m +++ b/spec/integration/use_libraries/after/gen/Foo/App-iOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/use_libraries/after/gen/Foo/App-macOS/main.m b/spec/integration/use_libraries/after/gen/Foo/App-macOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/use_libraries/after/gen/Foo/App-macOS/main.m +++ b/spec/integration/use_libraries/after/gen/Foo/App-macOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/use_libraries/after/gen/Foo/App-tvOS/main.m b/spec/integration/use_libraries/after/gen/Foo/App-tvOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/use_libraries/after/gen/Foo/App-tvOS/main.m +++ b/spec/integration/use_libraries/after/gen/Foo/App-tvOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } diff --git a/spec/integration/use_libraries/after/gen/Foo/App-watchOS/main.m b/spec/integration/use_libraries/after/gen/Foo/App-watchOS/main.m index 76e8197..78f2de1 100644 --- a/spec/integration/use_libraries/after/gen/Foo/App-watchOS/main.m +++ b/spec/integration/use_libraries/after/gen/Foo/App-watchOS/main.m @@ -1 +1 @@ -int main() { return 0; } +int main(void) { return 0; } From bd8f825e2bdf77473f67e16c421727a9907358c5 Mon Sep 17 00:00:00 2001 From: John Szumski Date: Fri, 29 Sep 2023 12:18:22 -0400 Subject: [PATCH 3/3] Bump version --- VERSION | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/VERSION b/VERSION index 530cdd9..21bb5e1 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -2.2.4 +2.2.5