Closed muhammadabbas001 closed 9 months ago
Hi @muhammadabbas001 - you said you're using version 1.7.1
but in your script it looks like you're still trying to use the legacy run-bundled-codegen.sh
script which is not supported anymore. You should instead use the Codegen CLI.
If you want to continue using the script you will need to go back to the 0.x
versions but I strongly recommend migrating to the latest version. The migration guides are all here.
@calvincestari Thanks for your kind support.
Summary
I got a non-zero exit code and could not create the Swift file using the
schema.json
and.graphql
files.Folder Structure
.graphql File Code
Script
If I print the directory at the end of that script then I get the following result. Command
Result:
Current Directory /Users/apple/Documents/X/X/Base
One thing more, I also tried to enable the
For install builds only
option, and then the code ran successfully but the issue remained there and the.swift
file also could not generated.So, what could be the issue there? I tried my best to resolve that issue but could not do that right now. How to resolve that issue?
Version
1.7.1
Steps to reproduce the behavior
schema.json
file.graphql
extension file and put the query in itBuild Phases
of your targetLogs
No response
Anything else?
No response