美文网首页
xcode12.5 ReactNative bug汇总

xcode12.5 ReactNative bug汇总

作者: 半个木头人 | 来源:发表于2021-05-07 16:16 被阅读0次

react-native xcode12.5 bug汇总
issue:
https://github.com/facebook/react-native/issues/31179#issuecomment-829536845

https://github.com/facebook/react-native/issues/31480

1.# Swift._ArrayBuffer._copyContents on Xcode
https://stackoverflow.com/questions/67311980/swift-arraybuffer-copycontents-on-xcode

清理重新下载脚本:

!/usr/bin/env bash

echo "Cleaning all the things";
watchman watch-del-all;
rm -rf node_modules;
rm -rf TMPDIR/react-* rm -rfTMPDIR/npm-*
cd ios
rm -rf Pods;
rm -rf Podfile.lock;
rm -rf build;
npm cache clean --force
pod cache clean --all
cd ../android
rm -rf build
cd ..
rm -rf ~/Library/Developer/Xcode/DerivedData

echo "Installing things again";
npm install;
cd ios
pod install
cd ..;

npm start -- --reset-cache;

2.Folly

use_flipper!({
'Flipper' => '0.85.0',
'Flipper-DoubleConversion' => '1.1.7',
'Flipper-Folly' => '2.5.3',
'Flipper-Glog' => '0.3.6',
'Flipper-PeerTalk' => '0.0.4',
'Flipper-RSocket' => '1.3.1',
'FlipperKit' => '0.75.1',
'FlipperKit/Core' => '0.75.1',
'FlipperKit/CppBridge' => '0.75.1',
'FlipperKit/FBCxxFollyDynamicConvert' => '0.75.1',
'FlipperKit/FBDefines' => '0.75.1',
'FlipperKit/FKPortForwarding' => '0.75.1',
'FlipperKit/FlipperKitHighlightOverlay' => '0.75.1',
'FlipperKit/FlipperKitLayoutPlugin' => '0.75.1',
'FlipperKit/FlipperKitLayoutTextSearchable' => '0.75.1',
'FlipperKit/FlipperKitNetworkPlugin' => '0.75.1',
'FlipperKit/FlipperKitReactPlugin' => '0.75.1',
'FlipperKit/FlipperKitUserDefaultsPlugin' => '0.75.1',
'FlipperKit/SKIOSNetworkPlugin' => '0.75.1',
}) # should match the version of your Flipper client app

  1. lottie
    升级到"lottie-react-native": "^4.0.2",

4.Swift._ArrayBuffer._copyContents...

https://github.com/danielgindi/Charts/issues/4636

https://github.com/Iterable/react-native-sdk/issues/86

Hi all, I apologize for the delays in fixing this. We think we have a fix which is as follows:

open the iOS project/workspace project file
select the application target on the left side of the project filee
go to the Build Settings tab
toggle Levels on
search for Library Search Paths
double click the project level text box that applies to both build configurations
remove "(TOOLCHAIN_DIR)/usr/lib/swift-5.0/(PLATFORM_NAME)" (NOTE: not the .../lib/swift/... entry; that's the one that's needed!)
We've tested this on our minimal project that reproduced this issue, and archiving was successful, with the default React Native 0.63 project (and a blank Swift file and bridging header).

Please let us know if this works, and if this does NOT work, please file a ticket with your CSM so we can diagnose your specific setup.

Lastly, I'd like to add my personal apology; I was the primary driver of trying to solve this issue, and any delays were purely on me, not anyone else at Iterable.

相关文章

  • xcode12.5 ReactNative bug汇总

    react-native xcode12.5 bug汇总issue:https://github.com/face...

  • XCode12.5 ReactNative环境报错:Cannot

    今天发现,XCode12.5上,打开RN某工程,环境报错,有两个方法,第一个方法在podfile文件里替换: 然后...

  • 通过git比对定位bug

    一、bug描述: 点击某ReactNative页闪退,而上个版本是正常的。 二、bug修复全程回顾: 全局断点,定...

  • Xcode12.5 问题

    xcode12.5 问题 广播权限问题:xcode12.5版本,iOS >= 14.5以上开发环境,如果你的项目涉...

  • React-native tabs组件开发以及问题记录

    ReactNative中有个bug问题就是在Android6.0中scrollView中使用TextInput时设...

  • bug汇总

    1111

  • bug汇总

    Hide status bar 如果旋转隐藏statasBar 那么在程序启动的开始 获取到的statubar高度...

  • BUG汇总

    echarts:div 默认 display:none,改为 display:block 时,echarts 无法...

  • Bug汇总

    autoResize 1 .只支持横线的felx布局,纵向的不行.2 .需要加个这个操作.container-in...

  • ReactNative错误汇总

    1. Android 报错 react native syntaxError:Attempted to redef...

网友评论

      本文标题:xcode12.5 ReactNative bug汇总

      本文链接:https://www.haomeiwen.com/subject/nztedltx.html