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

XcodeTask must distinguish ios vs osx for Xcode 7 #488

Closed
advayDev1 opened this issue Oct 5, 2015 · 1 comment
Closed

XcodeTask must distinguish ios vs osx for Xcode 7 #488

advayDev1 opened this issue Oct 5, 2015 · 1 comment

Comments

@advayDev1
Copy link
Contributor

@brunobowden - can the pod config specify:

  • different j2objc library directories for ios vs. osx (j2objcDist/lib and j2objcDist/lib/macosx respectively)
  • different project library directories for ios vs. osx (project/build/j2objcOutputs/lib/ios{Debug|Release} vs project/build/j2objcOutputs/lib/x86_64{Debug|Release})
  • one additional framework for osx (ExceptionHandling)?
@brunobowden
Copy link
Contributor

I believe this is how it could be done.

spec.ios.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '/J2OBJC_HOME/lib' }
spec.osx.xcconfig = { 'LIBRARY_SEARCH_PATHS' => '/J2OBJC_HOME/lib/macosx' }

I'll experiment to make sure this works.

Podspec Documentation:
https://guides.cocoapods.org/syntax/podspec.html#group_multi_platform_support

brunobowden added a commit to brunobowden/j2objc-gradle that referenced this issue Oct 13, 2015
- separate iOS and OS X libraries for j2objc
- separate iOS and OS X libraries built libraries

TODO: - ExceptionHandling library for OS X

Fixes j2objc-contrib#488
brunobowden added a commit to brunobowden/j2objc-gradle that referenced this issue Oct 13, 2015
- separate iOS and OS X libraries for j2objc
- separate iOS and OS X libraries built libraries
- min deployment target (default): iOS (8.3), OS X (10.8) & watchOS (2.0)
- Standardize buildType on uppercase ‘Debug’ and ‘Release’

Fixes j2objc-contrib#488
brunobowden added a commit to brunobowden/j2objc-gradle that referenced this issue Oct 13, 2015
- separate iOS and OS X libraries for j2objc
- separate iOS and OS X libraries built libraries
- min deployment target (default): iOS (8.3), OS X (10.8) & watchOS (2.0)
- Standardize buildType on uppercase ‘Debug’ and ‘Release’

Fixes j2objc-contrib#488
brunobowden added a commit to brunobowden/j2objc-gradle that referenced this issue Oct 13, 2015
- separate iOS and OS X libraries for j2objc
- separate iOS and OS X libraries built libraries
- min deployment target (default): iOS (8.3), OS X (10.8) & watchOS (2.0)
- Standardize buildType on uppercase ‘Debug’ and ‘Release’
- Link to ExceptionHandling library only on OS X

Fixes j2objc-contrib#488
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants