Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Inte-based Macs #63

Open
1 task
Fr0z3nRebel opened this issue Aug 23, 2024 · 4 comments
Open
1 task

Add support for Inte-based Macs #63

Fr0z3nRebel opened this issue Aug 23, 2024 · 4 comments
Assignees
Labels
bug Something isn't working

Comments

@Fr0z3nRebel
Copy link

Fr0z3nRebel commented Aug 23, 2024

As a developer using an Intel Mac, I would like to be able to seamlessly install and use rbxcloud via Aftman to avoid having to build from source.

Currently, I cannot develop with any of the available assets for release 0.14.0 on my Intel-based MacBook Pro. I receive the following error:

Aftman error: Failed to run tool Sleitnick/[email protected], your installation may be corrupt.

Caused by:
    0: could not spawn /Users/fr0z3nrebel/.aftman/tool-storage/Sleitnick/rbxcloud/0.14.0/rbxcloud
    1: Bad CPU type in executable (os error 86)

However, after building from source locally using cargo then manually copying the release over to Aftman, I was able to get rbxcloud working.

Acceptance Criteria:

  • Add support for macos-x86_64
@Sleitnick
Copy link
Owner

Are you grabbing the correct binary? The releases contain both ARM and x86 binaries.

@Fr0z3nRebel
Copy link
Author

Fr0z3nRebel commented Aug 23, 2024

I'm using Aftman to manage the installation:

game git:(develop) ✗ aftman install
[INFO  aftman::tool_storage] Installing tool: Sleitnick/[email protected]
[INFO  aftman::tool_storage] Downloading Sleitnick/rbxcloud v0.14.0 (rbxcloud-0.14.0-macos.zip)...
[INFO  aftman::tool_storage] Sleitnick/rbxcloud v0.14.0 installed successfully.
➜  game git:(develop) ✗ rbxcloud
Aftman error: Failed to run tool Sleitnick/[email protected], your installation may be corrupt.

Caused by:
    0: could not spawn /Users/fr0z3nrebel/.aftman/tool-storage/Sleitnick/rbxcloud/0.14.0/rbxcloud
    1: Bad CPU type in executable (os error 86)
➜  game git:(develop) ✗ uname -m
x86_64
image

aftman.toml

# This file lists tools managed by Aftman, a cross-platform toolchain manager.
# For more information, see https://github.com/LPGhatguy/aftman

# To add a new tool, add an entry to this table.
[tools]
rojo = "rojo-rbx/[email protected]"
selene = "Kampfkarren/[email protected]"
stylua = "JohnnyMorganz/[email protected]"
rbxcloud = "Sleitnick/[email protected]"

Am I doing something wrong? If I build from source using cargo and replace what aftman installed, it works without issue.

@Turolatias
Copy link

I have the same issue on a 2019 MacBook, I also tried rokit to install rbxcloud. This is what I get, no matter what I run in the CLI.

ERROR Bad CPU type in executable (os error 86)

Processor: 1,4 GHz Intel Core i5 quad-core
Graphics: Intel Iris Plus Graphics 645 1536 MB
Memory: 8 GB 2133 MHz LPDDR3

@Sleitnick Sleitnick added the bug Something isn't working label Jan 13, 2025
@Sleitnick
Copy link
Owner

@Fr0z3nRebel @Turolatias Please try v0.15.0 and let me know if it works now. I made a change to the release build process, which should hopefully resolve the issue. I unfortunately don't have an Intel-based Mac, so I can't test this on my end.
https://github.com/Sleitnick/rbxcloud/releases/tag/v0.15.0

@Sleitnick Sleitnick self-assigned this Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants