-
Notifications
You must be signed in to change notification settings - Fork 413
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
[0.13.3] Could not parse compiler [...] - codesign disable flags missing #1183
[0.13.3] Could not parse compiler [...] - codesign disable flags missing #1183
Comments
If I clone that project and run
Could you check the log file & see what xcodebuild is upset about? The sourcekitten CLI it's |
I have the same problem on my side. note: Using new build system ** BUILD FAILED ** Any idea ? Because I spent my days trying to sort it out, and I am about to give up on Jazzy... |
@Yannick-91 thanks for this - latest jazzy has a bug for projects that need code signing. I don't know where the As a workaround, try: |
@pjcau your project needs The CODE_SIGNING stuff is a temp workaround, but you will always need to pass |
Much better :-). Thanks for the suggestion. However (I know that I will sound like a dummy): jazzy --build-tool-arguments CODE_SIGN_IDENTITY=,CODE_SIGNING_REQUIRED=NO,CODE_SIGNING_ALLOWED=NO And Build settings from command line: xcodebuild: error: The project named "ChessGameTutorial" does not contain a scheme named "POC_C-MVVM-RX". The "-list" option can be used to find the names of the schemes in the project. |
@Yannick-91 the POC_ stuff was addressed to another user. Can you post the full output from running the jazzy command? Not producing any content is a new one... |
Hi to the team... Command line and its output iMac-de-Yannick:ChessGameTutorial famille$ jazzy --build-tool-arguments CODE_SIGN_IDENTITY=,CODE_SIGNING_REQUIRED=NO,CODE_SIGNING_ALLOWED=NO,-scheme,POC_C-MVVM-RX xcodebuild: error: The project named "ChessGameTutorial" does not contain a scheme named "POC_C-MVVM-RX". The "-list" option can be used to find the names of the schemes in the project. Running xcodebuild Could not successfully run Please check the build arguments. Saved Failed to generate documentationAnd the associated log : Command line invocation: Build settings from command line: xcodebuild: error: The project named "ChessGameTutorial" does not contain a scheme named "POC_C-MVVM-RX". The "-list" option can be used to find the names of the schemes in the project. |
@Yannick-91 the -scheme,POC_ stuff is not for your project. We need the output of the command that you said is running OK but not producing any content, you wrote that this was |
Here it is: iMac-de-Yannick:ChessGameTutorial famille$ jazzy --build-tool-arguments CODE_SIGN_IDENTITY=,CODE_SIGNING_REQUIRED=NO,CODE_SIGNING_ALLOWED=NO |
Great, all is working fine. You don't have any |
Working perfectly. Many thanks for your support :-) |
I know "could not parse compiler arguments from..." is a generic error. I can't get jazzy to work on an aggregated target. Target is in a separate project, added to a workspace. Even if i delete all dependencies and it's an empty target I receive the following error:
config:
Could anybody give some hints on how to debug that further? |
SourceKitten always adds in You need to figure out what So find the scheme in Xcode that includes the Swift target Root you want to document and build that scheme instead? Or just the target, if it has no dependencies. |
Thanks @johnfairh 💯 for your quick reply -- I apologize for my delayed response. It appears that everything is working for me now (without any changes). I can't remember which Xcode version I was using when I opened this, but I'm on 11.4.1 now and it's working. I guess Xcode was just being Xcode? 🤷♂️ 😅 Sorry for the false alarm! |
That's great, thanks. Keeping this issue to track the genuine codesign-related regression. |
xcodebuild
output.
I use this
and I'll see this
but if I see on logs
|
This error message is from |
Yes, infact I think the issue is SPM and RXSwift. So I try to launch it from terminal after. |
I launched from terminal but It's the same and same issue |
I changed to use Carthage but I have the same issue. I tried on other project and I have the same issue. So I use Xcode Version 11.4.1 (11E503a) and Mac OSX 10.15.4 (19E287).
|
So, I tried to call jazzy after the build, but not from xcode. In this way it works, but I cannot understand because doesn't work inside the xcode |
This was auto-closed early by GitHub magic, fix now in master via #1224. |
Version
0.13.3
broke for my project: https://github.com/jessesquires/PresenterKitVersion
0.13.2
works. So this seems to be a regression.Script (also here)
Output using
0.13.3
The text was updated successfully, but these errors were encountered: