Skip to content

Build error #288

@martin-matousek-salacia

Description

Hi guys, I'm trying to switch over here from react-native-health, but my builds keep failing because of this, couldn't find anything similar in other issues. Does anyone know how to resolve this?

❌  (ios/Pods/Target Support Files/ReactNativeHealthkit/ReactNativeHealthkit-umbrella.h:13:9)

  11 | #endif
  12 | 
> 13 | #import "Bridge.h"
     |         ^ 'Bridge.h' file not found
  14 | #import "ExceptionCatcher.h"
  15 | #import "AggregationStyle.hpp"
  16 | #import "AuthDataTypes.hpp"

› Compiling react-native-nitro-modules Pods/NitroModules » Promise.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » ObjectUtils.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » NitroTypeInfo.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » NitroLogger.mm
› Compiling react-native-nitro-modules Pods/NitroModules » NativeNitroModules+OldArch.mm
› Compiling react-native-nitro-modules Pods/NitroModules » NativeNitroModules+NewArch.mm
› Compiling react-native-nitro-modules Pods/NitroModules » JSICache.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » InstallNitro.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » HybridObjectRegistry.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » HybridObjectPrototype.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » HybridObject.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » HybridNitroModulesProxy.cpp
› Compiling react-native-nitro-modules Pods/NitroModules » Dispatcher.cpp
    Run script build phase '[CP-User] [RNFB] Core Configuration' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'Kalqulate' from project 'Kalqulate')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RNWorklets' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'ReactCodegen' from project 'Pods')
    Run script build phase 'Create Symlinks to Header Folders' will be run during every build because it does not specify any outputs. To address this issue, either add output dependencies to the script phase, or configure it to run in every build by unchecking "Based on dependency analysis" in the script phase. (in target 'RNReanimated' from project 'Pods')

› 1 error(s), and 5 warning(s)

CommandError: Failed to build iOS project. "xcodebuild" exited with error code 65.
# package.json
"dependencies": {
    "@kingstinct/react-native-healthkit": "^13.0.1",
    "react": "19.1.0",
    "react-native": "0.81.5",
    "react-native-nitro-modules": "^0.31.10",
  }

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions