Skip to content

fix: remove unsupported macOS codesign flag - #5

Merged
Alpaca233114514 merged 1 commit into
mainfrom
codex/fix-macos-release-codesign
Jul 11, 2026
Merged

fix: remove unsupported macOS codesign flag#5
Alpaca233114514 merged 1 commit into
mainfrom
codex/fix-macos-release-codesign

Conversation

@Alpaca233114514

Copy link
Copy Markdown
Contributor

Root cause: Flutter 3.41.9 rejects --no-codesign for flutter build macos, causing run 29160250839 to exit 64. This change removes the flag only from the macOS build; the iOS build remains unchanged with --no-codesign. Verification: git diff --check passed; exact diff contains only the macOS flag removal; macOS and iOS build commands were searched and confirmed.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: a136c792e1

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".


- name: Build macOS release
run: flutter build macos --release --no-codesign --build-name "$BUILD_NAME" --build-number "$BUILD_NUMBER"
run: flutter build macos --release --build-name "$BUILD_NAME" --build-number "$BUILD_NUMBER"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Add macOS network entitlement before signing releases

In the macOS release job, removing --no-codesign means Xcode now signs the CI artifact and applies macos/Runner/Release.entitlements; that file only enables com.apple.security.app-sandbox, while the app’s AI providers make outbound http requests (openai_compatible_provider.dart / ollama_provider.dart). Apple documents com.apple.security.network.client as the App Sandbox “Outgoing Connections (Client)” entitlement, so the downloadable macOS release will block configured AI calls unless the release entitlements are completed before signing.

Useful? React with 👍 / 👎.

@Alpaca233114514
Alpaca233114514 merged commit 850931a into main Jul 11, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant