-
Notifications
You must be signed in to change notification settings - Fork 2.7k
Add option to app host installer whether or not ot add a main #8235
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
Add option to app host installer whether or not ot add a main #8235
Conversation
- App specs should not add main
CHANGELOG.md
Outdated
* Add documentation for the Podfile installation options | ||
[Eric Amorde](https://github.com/amorde) | ||
[#8198](https://github.com/CocoaPods/CocoaPods/issues/8198) | ||
[guides.cocoapods.org #142](https://github.com/CocoaPods/guides.cocoapods.org/issues/142) | ||
|
||
* Adds app spec project integration. |
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.
ha I think I already took care of that in another PR
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.
👍
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.
you do not need this change at all.
@@ -33,6 +33,10 @@ class AppHostInstaller | |||
# | |||
attr_reader :app_target_label | |||
|
|||
# @return [Boolean] whether the app host installer should add main |
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.
should add a main.m
file
737e88b
to
75cfde8
Compare
# | ||
def initialize(sandbox, project, platform, subgroup_name, group_name, app_target_label) | ||
def initialize(sandbox, project, platform, subgroup_name, group_name, app_target_label, add_main = true) |
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.
nit: add_main_file: true
- App specs should not add main
75cfde8
to
b36ed84
Compare
e04dfff
to
566fd47
Compare