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

Support Xcode 7: Refactor of native compilation to support separate ios vs. osx librar… #483

Merged
merged 4 commits into from
Oct 5, 2015

Conversation

advayDev1
Copy link
Contributor

…ies.

Issue #466

@advayDev1
Copy link
Contributor Author

@brunobowden - you might as well ptal.

good news: xcode 7 and unit-tests-on-osx seem to be working fine.
bad news: travis xcode 7 images are bound to java 8, where our unit-tests still won't succeed.
https://travis-ci.org/j2objc-contrib/j2objc-gradle/jobs/83634361

once we upgrade to j2objc 0.9.8.2.1 - xcode 6 no longer works at all (i think this is an acceptable tradeoff, and i do not believe we should do any further coding to make it work with xcode 6 and 7).

i have a mind just to disable the failing unit test - we haven't been able to figure it out over the last 2 months, and xcode 7 is more important. thoughts?

@advayDev1 advayDev1 assigned brunobowden and unassigned advayDev1 Oct 5, 2015
@advayDev1 advayDev1 changed the title Refactor of native compilation to support separate ios vs. osx librar… Support Xcode 7: Refactor of native compilation to support separate ios vs. osx librar… Oct 5, 2015
Refactor of native compilation to support separate ios vs. osx libraries.

Issue j2objc-contrib#466
@advayDev1
Copy link
Contributor Author

I've decided simply to @ignore that one test and get on with things. It isn't a regression, and we now have system tests to really exercise our dependency code anyway.

@@ -15,23 +15,27 @@
*/

package com.github.j2objccontrib.j2objcgradle

Copy link
Contributor

Choose a reason for hiding this comment

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

We have a blank line gap in all other files. I've seen this happen before for your PRs... is the editor doing something automatically?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

yeah IntelliJ being annoying

mkdir localJ2objcDist
mkdir common

# Fail if any command fails
set -e
set -ev
Copy link
Contributor

Choose a reason for hiding this comment

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

Another good flag to use it -u, which treats unset variables as an error when substituting.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good to know, but in this case i think we're fine as there are no conditional settings

@brunobowden
Copy link
Contributor

LGTM - this code already looks much better organized compared to what it was before. I'll experiment with this tomorrow.

@advayDev1
Copy link
Contributor Author

cool, as soon as i get a green travis with these changes i will submit. thanks!

advayDev1 added a commit that referenced this pull request Oct 5, 2015
Support Xcode 7: Refactor of native compilation to support separate ios vs. osx librar…
@advayDev1 advayDev1 merged commit d8302dc into j2objc-contrib:master Oct 5, 2015
@advayDev1 advayDev1 deleted the mac branch October 5, 2015 06:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants