Coder Social home page Coder Social logo

Apple M1 Compatibility about pashua HOT 7 OPEN

adhuston avatar adhuston commented on August 15, 2024
Apple M1 Compatibility

from pashua.

Comments (7)

ics-dan-snelson-zz avatar ics-dan-snelson-zz commented on August 15, 2024

Happy Tuesday, @adhuston!

Pashua 0.11 is working as expected for me with macOS 11.1 (20C69) running on Apple M1.

If you recursively change the owner of Pashua.app to root, do your results change?

Also, the following may help:
sudo xattr -r -v -d com.apple.quarantine /path/to/Pashua.app

from pashua.

BlueM avatar BlueM commented on August 15, 2024

So far, I haven’t tested Pashua on an M1 Mac, but – except your issue – haven’t heard of any problems. Have you tried the usual approach for launching unsigned applications? I.e. right-click ➔ ”Open” in context menu?

from pashua.

najk avatar najk commented on August 15, 2024

Its working well for us with the latest release, we do codesign our production app though, using this:
sudo codesign -f --deep -s "identifier" "Yourapp.app"
So all seems well with pashua and rosetta.

from pashua.

paulashbrook avatar paulashbrook commented on August 15, 2024

Hello,

I have a situation where Pashua won't run on an M1 Mac.

I built a "bootstrap" package that runs some initial build and setup for my site, on new and reinstalled Macs. The package sets up a network location and installs the Munki client tools. It then runs Pashua to ask the technician for a device hostname and for the name of a Munki manifest to be used. Pashua isn't actually installed on the Mac, just copied over temporarily and deleted at the end of the process.

On a new M1 Macbook Air, the Install.log file shows:

2021-01-28 16:37:55+00 MacBook-Air package_script_service[1664]: ./postinstall: /tmp/PKInstallSandbox.z3CWhx/Scripts/uk.co.mysite-MunkiBootstrap.nf4FLc/install-files/Pashua/pashua.sh: line 56: /tmp/PKInstallSandbox.z3CWhx/Scripts/uk.co.mysite-MunkiBootstrap.nf4FLc/install-files/Pashua/Pashua.app/Contents/MacOS/Pashua: Bad CPU type in executable

Line 56 is in the "Run Pashua" function.

from pashua.

BlueM avatar BlueM commented on August 15, 2024

@paulashbrook: I don’t have an M1 Mac yet myself, and therefore cannot experiment with this. But anyways, this is a rather unusual usage scenario – don’t you run into other problems, too, as Pashua is not code-signed?

from pashua.

nblom avatar nblom commented on August 15, 2024

@paulashbrook Im using Pashua with Rosetta2 and its working just fine on Big Sur 11.0-11.2 on M1. The latest release. Using "softwareupdate --install-rosetta --agree-to-license" in our bootstrap works as expected. I should also notice that we sign our app.

from pashua.

jkeller13 avatar jkeller13 commented on August 15, 2024

Pashua has been running fine under Rosetta2, but the issue with Bad CPU type in executable is the lack of arm64 support. I recompiled the project in Xcode and added support for arm64, which also enabled dark mode. I have tested my existing Pashua workflows on the two M1 hosts which I have and haven't encountered any issues. I will submit a PR shortly so these changes can hopefully be merged to add these two big features.

from pashua.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.