You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
react-native项目中接入MJRefresh,link完,debug没问题,打包报错:
clang: error: no such file or directory: ‘***/Intermediates.noindex/ArchiveIntermediates/KnowBall/BuildProductsPath/Release-iphoneos/libRCTMJRefreshHeader.a’
按#11的办法,将 RCTMJRefreshHeader lib 加入 Build Phases -> Target Dependencies 中,并将Build Phases -> Link Binary With Libraries中的libRCTMJRefreshHeader.a删掉。
打包是成功了,然而运行起来出问题了。
2019-06-21 09:23:44.070 [error][tid:com.facebook.react.JavaScript] Invariant Violation: requireNativeComponent: "RCTMJRefreshView" was not found in the UIManager.
This error is located at:
in RCTMJRefreshView
然后找到"RCTMJRefreshView" was not found in the UIManager解决方案里,解决方法是把libRCTMJRefreshHeader.a加到Link Binary With Libraries里,
大哥我就是这一步错了才搞到Target Dependencies里的,你这不就死循环了吗?
react-native项目中接入MJRefresh,link完,debug没问题,打包报错:
clang: error: no such file or directory: ‘***/Intermediates.noindex/ArchiveIntermediates/KnowBall/BuildProductsPath/Release-iphoneos/libRCTMJRefreshHeader.a’
按#11的办法,将 RCTMJRefreshHeader lib 加入 Build Phases -> Target Dependencies 中,并将Build Phases -> Link Binary With Libraries中的libRCTMJRefreshHeader.a删掉。
打包是成功了,然而运行起来出问题了。
2019-06-21 09:23:44.070 [error][tid:com.facebook.react.JavaScript] Invariant Violation: requireNativeComponent: "RCTMJRefreshView" was not found in the UIManager.
This error is located at:
in RCTMJRefreshView
然后找到"RCTMJRefreshView" was not found in the UIManager解决方案里,解决方法是把libRCTMJRefreshHeader.a加到Link Binary With Libraries里,
大哥我就是这一步错了才搞到Target Dependencies里的,你这不就死循环了吗?
到底有没有一个完整的解决方案?
项目环境: target最低支持9.0, react-native:0.57.8
测试环境: iOS12.1.4 真机
The text was updated successfully, but these errors were encountered: