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

Bump deployment target to 10.10 #534

Merged
merged 11 commits into from
Jul 1, 2019

Conversation

zwaldowski
Copy link
Contributor

As discussed in #463 and #532.

Not much to comment on here, should be no functional change except (extremely) greasing the wheels for #532. It takes the shortest path to get to a warning-free build on the newer deployment target.

Copy link
Collaborator

@lucasderraugh lucasderraugh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great and mostly pretty straight forward. Thanks again for the effort!

@@ -485,7 +486,7 @@
E21DCAEC1B253847006424E8 /* Debug */ = {
isa = XCBuildConfiguration;
buildSettings = {
GCC_DYNAMIC_NO_PIC = YES;
CODE_SIGN_IDENTITY = "Mac Developer";
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this try and default to your current profile?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. The main app is set the same way, this is for the command-line tool.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The annoyance here though is that the Tool target will complain when I build for the Application scheme. Is this a necessary change, seems more annoying that useful, unless I'm missing something.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The annoyance here though is that the Tool target will complain when I build for the Application scheme.

What warning are you seeing, I don't see one?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

FWIW signing Command-Line Tools is now required.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

EDIT: Ah, the DEVELOPMENT_TEAM needed to be moved to the project level. I run my branches with an additional commit changing the Development Team to mine — since I'm not a member of the team and I can't build at all otherwise — and then delete it before pushing, so I did not catch it. This will be completed in one last push. :)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

@zwaldowski
Copy link
Contributor Author

Will update to address comments shortly. Thanks!

@zwaldowski zwaldowski force-pushed the bump-deployment branch 2 times, most recently from 63bb877 to c589b18 Compare June 30, 2019 01:11
@zwaldowski
Copy link
Contributor Author

Updated. Making all the projects share the same config made for a nice cleanup, so this is a win all around.

IPHONEOS_DEPLOYMENT_TARGET = 8.0

DEBUG_INFORMATION_FORMAT = dwarf-with-dsym
COMBINE_HIDPI_IMAGES = YES
TARGETED_DEVICE_FAMILY = 1,2,3,4
COPY_PHASE_STRIP = NO
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we want this moved to the base config? Don't we want to strip symbols in the release configurations?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can't run stripping on a code-signed binary (like the third-party frameworks we embed) because it breaks its code-signing, so that emits a warning without a change. COPY_PHASE_STRIP = NO is now the default on new Xcode projects in all configurations.

@lucasderraugh
Copy link
Collaborator

lucasderraugh commented Jun 30, 2019

I think that about wraps up my questions. Sorry, there's just a lot of change here. Going forward if we can try and minimize changes where possible, it would be helpful in speeding up reviews. Obviously Dark Mode is an exception to this type of thing being an all or nothing proposition. I really appreciate the effort though, really glad to see GitUp moving forward!

@zwaldowski
Copy link
Contributor Author

Updated.

@lucasderraugh
Copy link
Collaborator

Thanks! I’ll take a look tonight and will likely merge in. I’m on vacation so that’s why I’m somewhat sporadic in my responses, doing code reviews at night.

@zwaldowski
Copy link
Contributor Author

Oh my goodness, please enjoy your vacation first and foremost! You'd better be doing review with a drink in hand! 🍹

@lucasderraugh lucasderraugh merged commit 32d4171 into git-up:master Jul 1, 2019
@zwaldowski zwaldowski deleted the bump-deployment branch July 3, 2019 01:06
simpzan pushed a commit to simpzan/GitUp that referenced this pull request Oct 22, 2020
* Perform Xcode 10.2 modernization

* Update deployment target to 10.9

* Fixes libgit2 reference in GitUpKit for iOS

* Make all targets use shared config

* Adopt base localization

* Update the tools used to build on CI

* Adopt guarded availability checking

* NSViewController is part of the responder chain after 10.10

* NSViewController has native appearance callbacks after 10.10

* Fix trivial warnings

* Update deployment target to 10.10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants