graphql apollo fails to run script - swift

i followed the tutorial provided by apollo and each time i build to run the script that generate the api file ,i get the following massage:
iphonesimulator/Apollo/Apollo.framework/check-and-run-apollo-cli.sh: No such file or directory
Command PhaseScriptExecution failed with a nonzero exit code
this is the project:https://github.com/mkamal13/graphqlapollo
can any body help?

In new versions it's called run-bundled-codegen.sh, change it in the script you added to Build Phases

Related

Swift error on Windows: invalidManifestFormat: Missing or empty JSON output from manifest compilation

I've installed Swift 5.6.1 on my Windows 10 machine, including all the necessary Visual Studio components, but I can't seem to build anything. Even just running the following set of commands in git bash results in an error:
mkdir swiftTest
cd swiftTest
swift package init --type executable
swift build
Specifically, the swift build command gives the following errors:
warning: Failed creating default cache location, Error Domain=NSCocoaErrorDomain Code=256 "(null)"
'swiftTest': error: invalidManifestFormat("Missing or empty JSON output from manifest compilation for swiftTest", diagnosticFile: nil)
The error message seems surprisingly rare -- the top google results were the source of the program that generated that error, and an unrelated error with similar wording from a ReactJS application.
Do I just have to add some flags to the swift build command, or is there something else wrong with my setup?
In my case what fixed it was invoking the command from a Visual Studio Developer Command prompt.

Pytest Github Action failed in Django REST API project

I have updated my workflow action from simple super-linter to PYTEST. I get the following error in github
Run pipenv install --deploy --dev
ERROR: Pipfile not found! Aborting! Please ensure that the file exists and is located in your project root directory.
Error: Process completed with exit code 1.
Super linter is really lazy and fails unnecessarily even if the code is correctly formatted?
I have not added any file in my project? Do I need to?

VSTFS build failed at Publish step

I am using the VSTFS CI/CD pipeline to automate my .NET Core 5.0 with Angular 12 web application.
It failing the build at Publish step (see below screenshot) with error:
'npm' is not recognized as an internal or external command,
2021-12-13T20:19:46.9855025Z operable program or batch file.
2021-12-13T20:19:46.9917349Z D:\TFSBuildAgent\_work\58\s\src\WebUI\WebUI.csproj(85,5): error MSB3073: The command "npm install" exited with code 9009.
2021-12-13T20:19:47.0482106Z ##[error]Error: C:\Program Files\dotnet\dotnet.exe failed with return code: 1
2021-12-13T20:19:47.0496257Z ##[error]Dotnet command failed with non-zero exit code on the following projects :
What could be the issue?
Thanks
It looks like npm is not found by the agent. Make sure Node is installed globally on the machine and npm has been added to the system wide path environment variable.
Or add the Node Tool Installer task to your workflows.
I fixed the issue by deleting the npm publish tag in WebUI project file.

Unable to use FirebaseUI pod on a new project - AppAuth.framework not found

I am trying to setup a new Xcode project with cocoapod FirebaseUI. When I compile and run the project, I get this error:
Frameworks/AppAuth.framework: No such file or directory Command PhaseScriptExecution failed with a nonzero exit code
This was because I had a ' in the App name.

New Flutter Project not opening in VS Code

I have been trying to open a new Flutter Project in VS Code using the command palette. The output shows:
"flutter create --ios-language swift --android-language kotlin .
/usr/bin/env: ‘bash’: No such file or directory
exit code 127
"
How to solve it?
/usr/bin/env: ‘bash’: No such file or directory exit code 127
The VS Code extension tries to spawn Flutter using shell execution, and is trying to run bash. I suspect your PATH environment variable has been set incorrectly and no longer contains a valid bash binary.