Docker-compose Rosetta error on MacBook M1 - docker

I am using M1 MacBook and whenever I run docker-compose up, I am getting this error:
rosetta error: /var/db/oah/279281327407104_279281327407104/96e41f4a9e8ce9a3936f9793f20cc23d4cf4802260a5c9d638a6be89edb9f146/docker-compose.aot: attachment of code signature supplement failed: 1
whenever I run docker-compose up. The YAML file has basic boilerplate code that I copied from docker hub Wordpress. I wasn't getting this error 4 days ago though.

Related

com.docker.supervisor cannot start Exit code 9 on mac

I am unable to start docker desktop tool on mac Ventura 13.1, I keep getting fatal error
com.docker.supervisor cannot start Exit code 9
I tried already to uninstall and install docker again and also by manually removing docker files but nothing is working.
any help will be appreciated.

Xcode 13.4.1 error: unable to attach DB: error: accessing build database (react native)

**error** Failed to build iOS project. We ran "xcodebuild" command but it exited with error code 65. To debug build logs further, consider building your app with Xcode.app, by opening app.xcworkspace.
**error**: unable to attach DB: error: accessing build database "/Users/user/Library/Developer/Xcode/DerivedData/app-cdawdoxdzwfdgueqnyshuhonxndw/Build/Intermediates.noindex/XCBuildData/build.db": database is locked Possibly there are two concurrent builds running in the same filesystem location.
tried almost everything
build cleans, reinstalling pods etc
react native version: 0.67.3
Xcode version: 13.4.1
After almost one day of debugging this issue, came to know about this article which solves the problem for me, although article has more than one steps but I just tried the last one and it worked, mentioning the steps below,
rm -rf ~/Library/Developer/Xcode/DerivedData/
cd ios
pod deintegrate
pod update
cd..
yarn run ios or npm run ios

React-native run-ios and xcode don't work

I created an application on Windows that ran and even went up to the Play Store. This is a project for the git repository (bitbucket) and downloaded on the MacBook. The first time, the application ran normally on an iOS simulator, but it was not recognized as fonts that I used and as I'm new to working with Mac and iOS, I was unable to resolve it and ended up deleting the repository and downloading again. From that moment or application no longer runs on the macbook running reat-native run-ios.
I've already followed the guidelines here but I still haven't got anything yet. Here is the error that appears:
The following build commands have failed:
Bundle PhaseScriptExecution \ React \ Native \ code \ and \ images /Users/macbook/Library/Developer/Xcode/DerivedData/XXXXXXXXX-chaxzhqkuszomdaeoykspwqsyqbb/Build/Intermediates.noindex/doctorfitStudents.buildXXDebug1XX.
I tried to run in Xcode and I get 3 errors:
ios /../ node_modules / react-native / scripts / .packager.env: permission denied
The / bin / sh command issued errors, but did not return a non-zero exit code to indicate failure
../.node_modules/react-native/scripts/react-native-xcode.sh: this file or directory does not exist
"react": "~16.9.0",
"react-native": "~0.61.5",

cordova visual studio ios build

Hello I am trying to build my app on Mac but always get same error.
Error: An error occurred uploading to the build server
https://xxx.xxx.x.x:3000/cordova: Error: certificate is not yet
valid myAppp 1 Build
I wrote remotebuild start to command line on mac ant it is listening port 3000, What can I do to solve problem ?

ionic build ios error unrecognized command

Just testing a app. Trying to run the ios simulator. Got error message. Please help.
$ ionic build ios Running command: "C:\Program Files\nodejs\node.exe"
C:\Users\Johnson\desktop\ionic\todo\hooks\after_prepare\010_add_platform_class.js
C:/Users/Johnson/desktop/ionic/todo add to body class: platform-ios
Running command: cmd "/s /c
"C:\Users\Johnson\desktop\ionic\todo\platforms\ios\cordova\build""
'C:\Users\Johnson\desktop\ionic\todo\platforms\ios\cordova\build' is
not recognized as an internal or external command, operable program or
batch file. ERROR building one of the platforms: Error: cmd: Command
failed with exit code 1 You may not have the required environment or
OS to build this project Error: cmd: Command failed with exit code 1
As the error says
You may not have the required environment or OS to build this project
this refers to you not having iOS build tools (xcode) available on your machine. xcode is not available on windows machines.
You cannot build iOS apps on Windows machines. You may build for android, providing you have the android sdk + build tools installed.

Resources