I am looking to add the Apple Health-Kit to my React-Native project. After following the instructions here: ( https://www.npmjs.com/package/react-native-apple-healthkit )
the build fails and the following error appears.
I am not sure why this error is occurring or how to fix it.
go to the file and replace this line where the error occurs
#import <React/RCTDefines.h>
with this line
#import "RCTDefines.h"
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.