Skip to content

[ios][precompile] fixed issue with xcconfig being overwritten#54838

Closed
chrfalch wants to merge 1 commit into
mainfrom
chrfalch/react-precompile-fix-order-of-calling-add-rncore-dependency
Closed

[ios][precompile] fixed issue with xcconfig being overwritten#54838
chrfalch wants to merge 1 commit into
mainfrom
chrfalch/react-precompile-fix-order-of-calling-add-rncore-dependency

Conversation

@chrfalch

@chrfalch chrfalch commented Dec 10, 2025

Copy link
Copy Markdown
Collaborator

Summary:

To be able to change the target xcconfig from within add_rn_core, we need to make sure it is not overwritten by the line that sets the config.

This commit fixes this by moving it after the line:

spec.pod_target_xcconfig = current_config

Next PR: #54839

Changelog:

[IOS] [FIXED] - Moved setting xcconfig to after add_rn_core pod function is called.

Test Plan:

Run RNTester with precompiled binaries.

To be able to change the target xcconfig from within `add_rn_core`, we need to make sure it is not overwritten by the line that sets the config.

This commit fixes this by moving it after the line:

`spec.pod_target_xcconfig = current_config`
@chrfalch chrfalch requested a review from cipolleschi December 10, 2025 14:15
@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Dec 10, 2025
@facebook-github-bot facebook-github-bot added p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Dec 10, 2025
@github-actions

Copy link
Copy Markdown

Job Summary for Gradle

Test All :: run_fantom_tests
Gradle Root Project Requested Tasks Gradle Version Build Outcome Build Scan®
react-native-github :private:react-native-fantom:buildFantomTester 9.0.0 Build Scan not published

@meta-codesync

meta-codesync Bot commented Dec 10, 2025

Copy link
Copy Markdown

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this in D88849730.

@cipolleschi

Copy link
Copy Markdown
Contributor

/rebase - this comment automatically rebase on top of main

@cipolleschi

Copy link
Copy Markdown
Contributor

automatic rebase failed... @chrfalch could you rebase the stack on top of main, please?

@meta-codesync meta-codesync Bot closed this in 73d3429 Dec 16, 2025
@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Dec 16, 2025
@meta-codesync

meta-codesync Bot commented Dec 16, 2025

Copy link
Copy Markdown

@cipolleschi merged this pull request in 73d3429.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @chrfalch in 73d3429

When will my fix make it into a release? | How to file a pick request?

@chrfalch

Copy link
Copy Markdown
Collaborator Author

automatic rebase failed... @chrfalch could you rebase the stack on top of main, please?

Is it still required?

meta-codesync Bot pushed a commit that referenced this pull request Jan 14, 2026
Summary:
A small cleanup to make the directory structure of the header file template when building xcframeworks.

Umbrella and module map templates are now moved into a templates folder in the scripts/iOS-prebuilt folder

Prev PR: #54838
Next PR: #54840

## Changelog:
[INTERNAL] [FIXED] - Moved iOS prebuild scripts to templates folder.

Pull Request resolved: #54839

Test Plan: Run RNTester with prebuilds

Reviewed By: cortinico

Differential Revision: D89376964

Pulled By: cipolleschi

fbshipit-source-id: d3c5cdb1dda8c30df563b57533b40efbf29ff67e
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Expo Partner: Expo Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants