Skip to content

Integration With Existing iOS Project failed: 'CSSLayout/CSSLayout.h' file not found #11272

@hitbear518

Description

@hitbear518

Description

After upgrade to [email protected], Integration With Existing Empty iOS Project failed, and old workaround "postinstall": "find ./node_modules/react-native \\( -name *.h -o -name *.m \\) -print0 | xargs -0 sed -i '' -e 's:<CSSLayout/\\(.*\\)>:\"\\1\":g'" doesn't work now

[email protected] works just fine

Reproduction

  1. create an empty iOS project with swift
  2. follow the official guide of integration with existing app
  3. try run iOS app and then failed

Additional Information

  • React Native version: 0.39
  • Platform: iOS
  • Operating System: MacOS Sierra 10.12.1
  • CocoaPods: 1.1.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions