reactnativecn / react-native-website

React Native 中文网
https://reactnative.cn
MIT License
216 stars 327 forks source link

ios编译报错 #655

Closed liuzhenjie0311 closed 1 year ago

liuzhenjie0311 commented 1 year ago

我在Build Setting里的Exclude Architectures 加了 Any IOS Simulator SDK = arm64之后就会报'FBSDKCoreKit/FBSDKCoreKit.h' file not found这个错,

image image

如果不加 Any IOS Simulator SDK = arm64 就会报 'limits' file not found , RCT-Folly和react-native-material-kit都会报这个错,

image

如果把react-native-material-kit里的TickView.m文件中的 #import <math.h>改成#import "math.h"之后,又会报 No known instance method for selector 'sendInputEventWithName:body:'

image

有人遇到过类似的问题吗?

liuzhenjie0311 commented 1 year ago

主要原因是我使用了react-native-wechat这个包,不支持ios模拟器编译导致的报错,换成真机就可以了