Title: NuGet package missing macOS executable · Issue #24663 · PowerShell/PowerShell · GitHub
Open Graph Title: NuGet package missing macOS executable · Issue #24663 · PowerShell/PowerShell
X Title: NuGet package missing macOS executable · Issue #24663 · PowerShell/PowerShell
Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerShell 5.1 and PowerShell. Steps to reprodu...
Open Graph Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
X Description: Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh...
Opengraph URL: https://github.com/PowerShell/PowerShell/issues/24663
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"NuGet package missing macOS executable","articleBody":"### Prerequisites\r\n\r\n- [X] Write a descriptive title.\r\n- [X] Make sure you are able to repro it on the [latest released version](https://github.com/PowerShell/PowerShell/releases)\r\n- [X] Search the existing issues.\r\n- [X] Refer to the [FAQ](https://github.com/PowerShell/PowerShell/blob/master/docs/FAQ.md).\r\n- [X] Refer to [Differences between Windows PowerShell 5.1 and PowerShell](https://learn.microsoft.com/powershell/scripting/whats-new/differences-from-windows-powershell).\r\n\r\n### Steps to reproduce\r\n\r\n1. Download or install the NuGet package.\\\r\n https://www.nuget.org/packages/PowerShell/7.4.6\r\n1. Extract the NuGet package.\r\n1. Try to run the PowerShell executable.\r\n ```\r\n ./tools/net8.0/any/unix/pwsh -Version\r\n ```\r\n\r\n\r\n### Expected behavior\r\n\r\n```console\r\nVersion string is printed in the terminal.\r\n\r\nPowerShell 7.4.6\r\n```\r\n\r\n\r\n### Actual behavior\r\n\r\n```console\r\nThe following error is displayed:\r\n\r\ntools/net8.0/any/unix/pwsh: cannot execute binary file\r\n```\r\n\r\n\r\n### Error details\r\n\r\n```console\r\n(See *Actual behavior*)\r\n\r\nAdditional context:\r\n\r\n$ file tools/net8.0/any/unix/pwsh\r\ntools/net8.0/any/unix/pwsh: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, for GNU/Linux 2.6.32, BuildID[sha1]=b5bea1cae27286f26751c5bee267f37810104be4, stripped\r\n```\r\n\r\nThe only non-windows `pwsh` executable is linux-only.\r\nThe \"Mach-O\" executable is missing in the NuGet package.\r\n\r\n\r\n### Environment data\r\n\r\n```powershell\r\nNone for `$PSVersionTable`. Trying to start PowerShell as distributed by the NuGet package.\r\n\r\nmacOS 15.1.1\r\nARM64 and x64\r\n```\r\n\r\n\r\n### Visuals\r\n\r\n_No response_","author":{"url":"https://github.com/JunielKatarn","@type":"Person","name":"JunielKatarn"},"datePublished":"2024-12-12T01:50:44Z","url":"https://github.com/PowerShell/PowerShell/issues/24663"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:9c40e26d-07d3-4955-ccfd-4ebfecb51753 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | B7A6:FA34E:1F0F10:297D2C:6AFD31CD |
| html-safe-nonce | 473ba92355e3157f06aa6973ac5be7b706cabcb950f3a59cb8243478b2cd9776 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCN0E2OkZBMzRFOjFGMEYxMDoyOTdEMkM6NkFGRDMxQ0QiLCJ2aXNpdG9yX2lkIjoiMTIyNTAyNjA5MTY3NjkzODcwMSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 269cbe47815c96f85d426d08e5a2fe786bfee8efcd69ca094077fcd0939dd5cc |
| hovercard-subject-tag | issue:2734486002 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/PowerShell/PowerShell/24663/issue_layout |
| twitter:image | https://opengraph.githubassets.com/5399105dc66d2bbc9a5f3865bed0889137e356dd54d66fb03c12567d92a355d2/PowerShell/PowerShell/issues/24663 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/5399105dc66d2bbc9a5f3865bed0889137e356dd54d66fb03c12567d92a355d2/PowerShell/PowerShell/issues/24663 |
| og:image:alt | Prerequisites Write a descriptive title. Make sure you are able to repro it on the latest released version Search the existing issues. Refer to the FAQ. Refer to Differences between Windows PowerSh... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | JunielKatarn |
| hostname | github.com |
| expected-hostname | github.com |
| None | 065128366c233a9d57ff68ab6c96e25b99dd1b0ab70d23b70873d3dd6b5e4f19 |
| turbo-cache-control | no-preview |
| go-import | github.com/PowerShell/PowerShell git https://github.com/PowerShell/PowerShell.git |
| octolytics-dimension-user_id | 11524380 |
| octolytics-dimension-user_login | PowerShell |
| octolytics-dimension-repository_id | 49609581 |
| octolytics-dimension-repository_nwo | PowerShell/PowerShell |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 49609581 |
| octolytics-dimension-repository_network_root_nwo | PowerShell/PowerShell |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 941021edf0c2ec58298f4a2c8f27ae507d129c92 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width