Skip to content

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

Merged
lucasfernog merged 1 commit into
devfrom
fix/ios-codesigning-ci
Sep 1, 2024
Merged

fix(cli): iOS code signing failing on CI#10854
lucasfernog merged 1 commit into
devfrom
fix/ios-codesigning-ci

Conversation

@lucasfernog
Copy link
Copy Markdown
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
@github-actions
Copy link
Copy Markdown
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
@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