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 multiple versions of MacOS and Xcode #23

Closed
greensky01 opened this issue Dec 6, 2019 · 8 comments
Closed

Support multiple versions of MacOS and Xcode #23

greensky01 opened this issue Dec 6, 2019 · 8 comments

Comments

@greensky01
Copy link
Contributor

greensky01 commented Dec 6, 2019

Update:

I have noticed xcbueatify cannot properly handle output from Xcode 11.2.1. So it may be a good idea to support different format of Xcode.

#################################

Could xcbeautify support different versions of OS and Xcode? If not yet, could these be implemented as new command line options?

Thanks!

@thii
Copy link
Contributor

thii commented Dec 6, 2019

What is preventing it from supporting different versions of OS and Xcode? I suppose it runs on multiple OSes and can be built with different versions of Xcode.

@greensky01
Copy link
Contributor Author

Hi @thii, I find it cannot give us as "beautiful" output on Xcode 11 as it can on Xcode 10. Do you have plan to work out a patch on this?

@thii
Copy link
Contributor

thii commented Dec 6, 2019

Could you give me a reproducible example?

@greensky01
Copy link
Contributor Author

greensky01 commented Dec 6, 2019

It's fairly easy to reproduce.

  1. Create a Cocoa application in Xcode (either 10 or 11 will do, and I name the project as FirstStep)
  2. Navigate to the project folder, and do the following:
    /path/to/Xcode10_2_1.app/Contents/Developer/usr/bin/xcodebuild | xcbeautify
    You would see output similar to the following:
[FirstStep] Compiling AppDelegate.m
[FirstStep] Compiling main.m
[FirstStep] Linking FirstStep
[FirstStep] Compiling MainMenu.xib
[FirstStep] Processing Info.plist
[FirstStep] Generating FirstStep.app.dSYM
Signing FirstStep.app (in target: FirstStep)
[FirstStep] Touching FirstStep.app
Build Succeeded
  1. Clean and build with Xcode 11:
    /path/to/Xcode11_2_1.app/Contents/Developer/usr/bin/xcodebuild | xcbeautify
    You would see:
Processing Info.plist
Signing FirstStep.app (in target 'FirstStep' from project 'FirstStep')
Build Succeeded

We lost many outputs.

@thii
Copy link
Contributor

thii commented Dec 8, 2019

@greensky01 Could you try the version built from the xcode11-outputs branch to see if it works for you?

@greensky01
Copy link
Contributor Author

@thii I've tried your code and can confirm the issue's been fixed. Thanks!

@thii
Copy link
Contributor

thii commented Dec 8, 2019

Thanks. I merged it.

@thii thii closed this as completed Dec 8, 2019
@thii
Copy link
Contributor

thii commented Dec 9, 2019

I've released version 0.7.0 that includes the fixes.

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

No branches or pull requests

2 participants