'aws amplify codegen - Language swift not supported
Currently working on an iOS SwiftUI Project in combination with AWS Amplify. After a reinstall of amplify cli the amplify pull command stopped producing the swift code for my models.
Using the command amplify codegen I get the error Language swift not supported.
I can't explain why this is happening, before the reinstall it worked perfectly fine.
.graphqlconfig.yml
projects:
placeholder:
schemaPath: graphql/schema.json
includes:
- graphql/**/*.graphql
excludes:
- ./amplify/**
extensions:
amplify:
codeGenTarget: swift
generatedFileName: API.swift
docsFilePath: graphql
extensions:
amplify:
version: 3
I tried to reconfigure codegen with amplify configure codegen but it only shows languages typescript, flow and javascript ... not swift.
Thanks for your help.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
