Skip to content

Allow install-helper.sh to register the build Mac - #292

Merged
mattt merged 1 commit into
mattt:mainfrom
redreceipt:install-helper-device-registration
Oct 26, 2026
Merged

mattt merged 1 commit into
mattt:mainfrom
redreceipt:install-helper-device-registration

Conversation

@redreceipt

Copy link
Copy Markdown
Contributor

Fixes #291.

install-helper.sh passes -allowProvisioningUpdates, but xcodebuild only registers the build Mac with the team when -allowProvisioningDeviceRegistration is also passed. Without it, the first build on an unregistered Mac fails with "Device … isn't registered in your developer account."

Proof

Ran the patched script on an unregistered Mac (macOS 27.0.1, Xcode 27.1, iMCP 1.7.1):

  • Before: build failed with the device-registration error in install-helper.sh fails when the Mac isn't registered with the team #291.
  • After: build succeeded and installed /Applications/iMCP Helper.app. Its embedded profile is "Mac Catalyst Team Provisioning Profile: local.imcp.helper.…" with 1 provisioned device and com.apple.developer.homekit = true; the app is signed with the HomeKit entitlement.
  • iMCP then read 1 home and 13 accessories through the helper, with 13/13 live characteristic reads succeeding.

@mattt
mattt marked this pull request as ready for review October 26, 2026 16:19
@mattt
mattt merged commit 3814738 into mattt:main Oct 26, 2026
2 checks passed
@mattt

mattt commented Oct 26, 2026

Copy link
Copy Markdown
Owner

Thanks, @redreceipt! This is merged, so install-helper.sh can now register a Mac that isn't in the team yet.

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.

install-helper.sh fails when the Mac isn't registered with the team

2 participants