升级Xcode10遇到的问题

升级Xcode10遇到的问题以及最近解决的问题。

项目升级到Xcode10 以后报错:

React-Native ‘config.h’ file not found

解决方法:

cd node_modules/react-native/third-party/glog-0.3.4
../../scripts/ios-configure-glog.sh

Xcode 10 libfishhook.a cannot be found

解决方法:

在LIbrary下面的RCTWebSocket中的Target中的Build Phases中的Link Binary With Libraries 中的libfishhook.a文件删了重新导入就好了。

Multiple commands produce

Showing Recent Messages

2) Target ‘YAORecordProject’ (project ‘YAORecordProject’) has process command with output ‘/Users/peilinghui/Library/Developer/Xcode/DerivedData/YAORecordProject-frlkqcmjttdqtdandttwzrmfhjnt/Build/Products/Debug-iphonesimulator/YAORecordProject.app/Info.plist’

解决方法:

This issue might occur just because of multiple Plist/other files within App-
Solution -> Open target -> Build phases > Copy Bundle Resources and remove info.plist from there.

文章目录
  1. 1. React-Native ‘config.h’ file not found
  2. 2. Xcode 10 libfishhook.a cannot be found
  3. 3. Multiple commands produce
本站总访问量 本站访客数人次 ,