Skip to content

[0.82] Fix outputs when iOS artifacts generator is run from Xcode script phase #1159

Description

@kitten

Target Branch

0.82

Link to commit or PR to be picked

react/react-native@c029032

Description

A prior change picks up the autolinking output from an autolinking.json file, which applies the autolinking result to the artifact generator in iOS. However, the artifacts generator step is not only run in Cocoapods but also in an Xcode script phase. This Xcode script phase has different execution locations (working directory and output path differences) which means it won't necessarily be able to find the autolinking.json output

Submitted in: react/react-native#54066
Related to: react/react-native#53503

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type Pick RequestPick requests to include commits inside a React Native release

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions