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

Minimum OS versions, fixed iOS & OS X builds #522

Merged
merged 1 commit into from
Oct 21, 2015

Conversation

brunobowden
Copy link
Contributor

  • Minimum OS versions for iOS, OS X and watchOS
  • xcodeTargets => xcodeTargetsIos, xcodeTargetsOsx & xcodeTargetsWatchos
  • Extensive refactoring of Podfile updating logic
  • Extensive unit tests for all the forgoing changes
  • Fixes Fix iOS and OS X builds #520

TODO: get watchOS build working

@brunobowden
Copy link
Contributor Author

@advayDev1 - This was the main blocker I had for the 0.5 release. I will be following along with a more extensive system test for it.

@@ -638,7 +640,8 @@ class J2objcConfig {
* <p/>
* See https://developer.apple.com/library/ios/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html#//apple_ref/doc/uid/10000163i-CH1-SW2
*/
String minWatchosVersion = '1.0'
// Matches the oldest version supported in Xcode 7
String minVersionWatchos = '1.0'
Copy link
Contributor

Choose a reason for hiding this comment

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

i'm intrigued as to how this is working right now. the watch version is not used in the native build, only in the podspec. does native build not need to know about watch os?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As the title notes, this gets iOS and OS X working... I haven't got watchOS working yet. This is a necessary step, so I wanted to include it. I can comment it out for now if you want.

Copy link
Contributor

Choose a reason for hiding this comment

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

nah, keep it in. please do note in the commit that watchOS does not work though.

@advayDev1
Copy link
Contributor

lgtm with comments

- Minimum OS versions for iOS, OS X and watchOS
- xcodeTargets => xcodeTargetsIos, xcodeTargetsOsx & xcodeTargetsWatchos
- Extensive refactoring of Podfile updating logic
- Extensive unit tests for all the forgoing changes
- Fixes j2objc-contrib#520

TODO: get watchOS build working
brunobowden added a commit that referenced this pull request Oct 21, 2015
Minimum OS versions, fixed iOS & OS X builds
@brunobowden brunobowden merged commit 0d021af into j2objc-contrib:master Oct 21, 2015
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