taro-native-shell
taro-native-shell copied to clipboard
Taro 原生 React Native 壳子
xcode下打开错误,怎么改啊
解决 ios archive 时,报错问题,报错信息如下: Multiple commands produce '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a': Target 'yoga' has a command with output '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a' Target 'yoga' has a command with output '/Users/tu/Library/Developer/Xcode/DerivedData/Tituk-fndmfujccqhdareyswrxhslqzyvn/Build/Intermediates.noindex/ArchiveIntermediates/Tituk/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/libyoga.a' 解决方案: 更新 podfile 内容: ``` post_install...
ios 编译成功后,白屏报错。
android经过 BUNDLE [android, dev] rn_temp/index.js ▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓ 100.0% (1086/1086), done. 这步以后,react-native run-android的时候提示红字:找不到index.android.bundle; iOS同样经过如上的步骤后,提示无法自动打开iPhone6虚拟机 环境为macbook,系统版本10.15,xcode版本11.1
1. 建议ios那里使用cocoapods来管理第三方依赖 2. taro-rn默认使用了一些第三方依赖库,如`react-native-image-crop-picker`,那么在shell这里应该默认配置并link好,要不一些新入手的人会很难解决
2024-12-11T11:25:01.034+0800 [DEBUG] [org.gradle.launcher.daemon.bootstrap.DaemonMain] Assuming the daemon was started with following jvm opts: [-XX:MaxMetaspaceSize=512m, --add-opens=java.base/java.util=ALL-UNNAMED, --add-opens=java.base/java.lang=ALL-UNNAMED, --add-opens=java.base/java.lang.invoke=ALL-UNNAMED, --add-opens=java.prefs/java.util.prefs=ALL-UNNAMED, --add-opens=java.base/java.nio.charset=ALL-UNNAMED, --add-opens=java.base/java.net=ALL-UNNAMED, --add-opens=java.base/java.util.concurrent.atomic=ALL-UNNAMED, -Xmx2048m, -Dfile.encoding=GBK, -Duser.country=CN, -Duser.language=zh, -Duser.variant] 2024-12-11T11:25:01.224+0800 [DEBUG] [org.gradle.internal.nativeintegration.services.NativeServices] Native-platform posix...
Command `pod install` failed. └─ Cause: Invalid `Podfile` file: [!] Invalid `RNScreens.podspec` file: undefined method `install_modules_dependencies' for Pod:Module Did you mean? install_flipper_dependencies. ###### from /Users/yujunmiao/Documents/new-century-work/taro-native-shell/node_modules/react-native-screens/RNScreens.podspec:25 ###### ------------------------------------------- ###### > install_modules_dependencies(s)...