Skip to content

Pass -destination only when on Xcode 7.2 #1688

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

Merged
merged 1 commit into from
Apr 18, 2016

Conversation

Mitko-Kerezov
Copy link
Contributor

Keep old logic when dealing with Xcode < 7.2
In addition fix bug with detecting specific versions of Xcode - e.g. 6.3
The condition major <= 6 && minor < 3 is not met if the Xcode version is 5.9 for example (theoretically)
Re-targeted from #1687
Merge after telerik/mobile-cli-lib#645
Ping @rosen-vladimirov for a thoroguh review

@Mitko-Kerezov Mitko-Kerezov self-assigned this Apr 18, 2016
@Mitko-Kerezov Mitko-Kerezov added this to the 2.0 milestone Apr 18, 2016
@teobugslayer teobugslayer force-pushed the kerezov/destination-to-xcode-7.3 branch from 5fa860b to 303789a Compare April 18, 2016 09:51
// passing -destination apparently only works with Xcode 7.2+
if (xcodeVersion.major && xcodeVersion.minor &&
helpers.versionCompare(xcodeVersion, "7.2.0") < 0) {
additionalArgs = ["-arch", "i386", "VALID_ARCHS=\"i386\""];
Copy link
Contributor

Choose a reason for hiding this comment

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

'VALID_ARCHS="i386"'

@rosen-vladimirov
Copy link
Contributor

👍

@teobugslayer teobugslayer force-pushed the kerezov/destination-to-xcode-7.3 branch from 303789a to 0a003b9 Compare April 18, 2016 09:58
Keep old logic when dealing with Xcode < 7.2
@teobugslayer teobugslayer force-pushed the kerezov/destination-to-xcode-7.3 branch from 0a003b9 to f8bc86d Compare April 18, 2016 09:59
@Mitko-Kerezov
Copy link
Contributor Author

run ci

1 similar comment
@Mitko-Kerezov
Copy link
Contributor Author

run ci

@Mitko-Kerezov Mitko-Kerezov merged commit db0ea50 into release Apr 18, 2016
@Mitko-Kerezov Mitko-Kerezov deleted the kerezov/destination-to-xcode-7.3 branch April 18, 2016 11:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants