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

Xcode 15 - Failed to parse target info (malformed) #1217

Open
joseneves-neon opened this issue Nov 8, 2023 · 2 comments
Open

Xcode 15 - Failed to parse target info (malformed) #1217

joseneves-neon opened this issue Nov 8, 2023 · 2 comments

Comments

@joseneves-neon
Copy link

joseneves-neon commented Nov 8, 2023

After update to Xcode 15 I start to see this error when running sourcery

error: InternalError(description: "Internal error. Please file a bug at https://github.com/apple/swift-package-manager/issues with this info. Failed to parse target info (malformed).\nRaw compiler output: ")
Using configuration file at '/Users/***/Meta/Configuration/Sourcery.yml'
Scanning sources...
Found 0 types in 0 files, 0 changed from last run.
Loading templates...
Loaded 2 templates.

command to run ${SRCROOT}/Pods/Sourcery/bin/sourcery --config "$path" --buildPath ${SRCROOT}/temp/${array[6]} --prune

test with 2.0.2 and 2.1.1

@art-divin
Copy link
Collaborator

Hello @joseneves-neon 👋🏻 ,

Thank you very much for reporting the issue 👍🏻

Could you please share the configuration (.yml) file used for Sourcery invocation? You can omit internal details, I just wonder if there is something unusual there.

Thanks 🤝

@joseneves-neon
Copy link
Author

joseneves-neon commented Nov 16, 2023

sure!

sources:
    include:
        - ./../../<FeatureModuleName>API/Models
        - ./../../<FeatureModuleName>API/Web Services
    exclude:
        - ./../../<FeatureModuleName>APITestsHelper

templates:
    - ../../../../../Libraries/Meta/NeonSourcery/NeonSourcery/Templates/ModelsMock/ModelsMock.swifttemplate
    - ../../../../../Libraries/Meta/NeonSourcery/NeonSourcery/Templates/WebServicesMock/WebServicesMock.swifttemplate

output:
    ./../../<FeatureModuleName>APITestsHelper

args:
    projectName: NeonRecoveryPasswordAPI

it's weird because nothing change in this file on the last months 🤔

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