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

fix(cli): iOS code signing failing on CI #10854

Merged
merged 1 commit into from
Sep 1, 2024
Merged

Conversation

lucasfernog
Copy link
Member

Looks like Apple cannot handle development profile automatic provisioning well

With this change we now skip code signing for build() and archive(), and let the export() function handle signing

see fastlane/fastlane#19973 (comment) for more information

Looks like Apple cannot handle development profile automatic provisioning well

With this change we now skip code signing for build() and archive(), and let the export() function handle signing

see fastlane/fastlane#19973 (comment) for more information
@lucasfernog lucasfernog requested a review from a team as a code owner September 1, 2024 12:25
Copy link
Contributor

github-actions bot commented Sep 1, 2024

Package Changes Through 423abcb

There are 2 changes which include tauri-cli with prerelease, @tauri-apps/cli with prerelease

Planned Package Versions

The following package releases are the planned based on the context of changes in this pull request.

package current next
@tauri-apps/cli 2.0.0-rc.9 2.0.0-rc.10
tauri-cli 2.0.0-rc.8 2.0.0-rc.9

Add another change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@lucasfernog lucasfernog merged commit 6faa032 into dev Sep 1, 2024
14 of 17 checks passed
@lucasfernog lucasfernog deleted the fix/ios-codesigning-ci branch September 1, 2024 12:29
lucasfernog added a commit that referenced this pull request Sep 30, 2024
The IPA does not retain the entitlements as a regression from #10854 which removed the signing step from the build() and archive(), deferring to the export() call

To retain the entitlements we need to force sign one of the files in the app bundle. The most reliable way to do this is to use a self signed certificate as a dummy signature - it is replaced by the export() call so we do not rely on any user provided certificate

Additionally the export options are incorrectly configuring a manual signing, preventing Xcode from properly managing provisioning profiles, which is also part of the fix
lucasfernog added a commit that referenced this pull request Oct 1, 2024
…#11184)

* fix(cli): iOS app signature not retaining entitlements, closes #11089

The IPA does not retain the entitlements as a regression from #10854 which removed the signing step from the build() and archive(), deferring to the export() call

To retain the entitlements we need to force sign one of the files in the app bundle. The most reliable way to do this is to use a self signed certificate as a dummy signature - it is replaced by the export() call so we do not rely on any user provided certificate

Additionally the export options are incorrectly configuring a manual signing, preventing Xcode from properly managing provisioning profiles, which is also part of the fix

* fix header
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