Shopify/react-native-performance

Missing "ReactNativePerformance-Swift.h" after installation

fivecar opened this issue · 1 comments

Current behavior

Installed according to installation docs, then tried to build in Xcode 14.1. When building, you get an error in ReactNativePerformance.m that says "ReactNativePerformance-Swift.h" file not found

Expected behavior

Successful build.

To Reproduce

Follow installation instructions (i.e. yarn add, then pod install, then edit the .m file, and finally build).

Platform:

  • iOS
  • Android

Packages

Which packages are affected by the issue?

  • @shopify/react-native-performance
  • @shopify/react-native-performance-lists-profiler
  • flipper-plugin-shopify-react-native-performance
  • @shopify/react-native-performance-navigation
  • @shopify/react-native-performance-navigation-bottom-tabs
  • @shopify/react-native-performance-navigation-drawer

Environment

  • I've removed the packages that I don't use
package version
@shopify/react-native-performance 4.1.2
react-native 0.69.3

For anyone else hitting this issue, see #118, which you can do in your own installation (after pod install) to work around this issue until the fix is merged/released.