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 iOS CI/CD build breakage #6589

Merged
merged 1 commit into from
Nov 19, 2022

Conversation

drewvolz
Copy link
Member

Context

Post adding support for Xcode 14 and macOS Ventura in #6573, the iOS build pipeline struggles to produce a build and dies in the last bit of the fastlane pipeline.

Looking closely at the build output, React-Core-AccessibilityResources (CocoaPods) is breaking our code signing.

[21:27:25]: ▸ /Users/runner/work/AAO-React-Native/AAO-React-Native/ios/Pods/Pods.xcodeproj:
error: Signing for "React-Core-AccessibilityResources" requires a development team.
Select a development team in the Signing & Capabilities editor.
(in target 'React-Core-AccessibilityResources' from project 'Pods')
...
** ARCHIVE FAILED **
[21:27:25]: Exit status: 65

Workaround

It looks like the suggested solution is to turn off signing for resource bundles. An official fix is provided in release v0.70.3 via facebook/react-native@967de03.

We can adopt a version of it from the CocoaPods repo CocoaPods/CocoaPods#11402 (comment) into our Podfile.

We should be able to remove this once CocoaPods catches up to it.

…build

pipeline struggles to produce a build and dies in the last bit of the fastlane
pipeline.

It looks like the suggested solution is to turn off signing for resource
bundles. An official fix is provided in release v0.70.3 of react native
in commit 967de03f304404ac8817936da37ca39514a09e33.

We can adopt a version of it from the CocoaPods repo into our Podfile and
should be able to remove this once Cocoapods catches up.
CocoaPods/CocoaPods#11402 (comment)
@drewvolz drewvolz added platform/ios area/ci Issues and PRs pertaining to CI labels Nov 19, 2022
@drewvolz drewvolz merged commit 5b689b3 into master Nov 19, 2022
@drewvolz drewvolz deleted the drew/cocoapods-build-breakage-workaround branch November 19, 2022 05:24
@drewvolz drewvolz added the xcode14 preparation for Xcode 14 label Jan 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/ci Issues and PRs pertaining to CI platform/ios xcode14 preparation for Xcode 14
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants