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

[iOS][auto-linking] fix: Add missing scriptPhases config #621

Merged
merged 8 commits into from
Aug 6, 2019

Conversation

Salakar
Copy link
Member

@Salakar Salakar commented Aug 5, 2019

Summary:

This PR fixes the scriptPhases config support that was partially implemented as part of the first version of auto linking for iOS.

Test Plan:

Locally linked and tested using React Native Firebase custom script phases. Will post screenshots tomorrow, it's late here 😴

Custom script phase config used for testing:
image

Logging showing custom script phase was added:
image

Custom script phase is shown in the generated workspace:
image

@Salakar Salakar changed the title [WIP][iOS][auto-linking] fix: Add missing scriptPhases config [iOS][auto-linking] fix: Add missing scriptPhases config Aug 6, 2019
Copy link
Member

@thymikee thymikee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice! Was looking forward to it :). @orta mind double checking?

@@ -52,6 +52,7 @@ export const dependencyConfig = t
podspecPath: t.string(),
sharedLibraries: t.array().items(t.string()),
libraryFolder: t.string(),
scriptPhases: t.array().items(t.object()),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

we could be a bit more specific there to help users avoid typos

@thymikee thymikee requested a review from alloy August 6, 2019 07:46
@thymikee thymikee merged commit 7350e0e into master Aug 6, 2019
@thymikee thymikee deleted the @salakar/fix-ios-scriptphases branch August 6, 2019 13:44
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.

3 participants