我把我的笔记本电脑升级到了这些规格。我在iOS上现有的React Native应用程序无法构建,我不知道为什么。一个区别,我看到我的新的和旧的笔记本电脑是框架文件夹似乎失踪,我不知道这是如何创建的。
System:
OS: macOS 13.4.1
CPU: (10) arm64 Apple M1 Pro
Memory: 3.85 GB / 32.00 GB
Shell: 5.9 - /bin/zsh
Binaries:
Node: 20.4.0 - ~/.nvm/versions/node/v20.4.0/bin/node
Yarn: 1.22.19 - ~/.nvm/versions/node/v20.4.0/bin/yarn
npm: 9.7.2 - ~/.nvm/versions/node/v20.4.0/bin/npm
Watchman: 2023.07.10.00 - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/username/.rvm/gems/ruby-2.7.4/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 22.4, iOS 16.4, macOS 13.3, tvOS 16.4, watchOS 9.4
Android SDK:
API Levels: 28, 29, 30, 31, 32, 33, 34
Build Tools: 30.0.2, 30.0.3, 33.0.0, 33.0.1, 33.0.2, 34.0.0
System Images: android-34 | Google APIs ARM 64 v8a
Android NDK: Not Found
IDEs:
Android Studio: 2022.2 AI-222.4459.24.2221.10121639
Xcode: 14.3.1/14E300c - /usr/bin/xcodebuild
Languages:
Java: 17.0.7 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: 17.0.2 => 17.0.2
react-native: 0.67.5 => 0.67.5
react-native-macos: Not Found
npmGlobalPackages:
*react-native*: Not Found
字符串
我已经尝试重新安装pod和一切似乎安装正确。任何线索或参考都是有用的。如下图所示,Pods_hp_移动的丢失了,但在我的旧笔记本电脑上,该文件夹实际存在。- 谢谢-谢谢
x1c 0d1x的数据
Pod似乎也安装正确。
npx pod-install
Scanning for pods...
1.11.2
> pod install
Adding a custom script phase for Pod RNFBApp: [RNFB] Core Configuration
Auto-linking React Native modules for target `hp_mobile`: RNAWSCognito, RNBluetoothStateManager, RNCAsyncStorage, RNCPicker, RNDateTimePicker, RNDeviceInfo, RNFBApp, RNFBMessaging, RNGestureHandler, RNNotifee, RNReanimated, RNSVG, RNScreens, RNSensors, react-native-biometrics, react-native-geolocation-service, react-native-get-random-values, react-native-netinfo, react-native-notifications, react-native-safe-area-context, and react-native-version-info
Analyzing dependencies
Downloading dependencies
Generating Pods project
Integrating client project
Pod installation complete! There are 54 dependencies from the Podfile and 63 total pods installed.
型
1条答案
按热度按时间bejyjqdl1#
某些原生模块未针对最新的Apple CPU架构(M1、M2)进行优化。
建议通过Rosetta运行的模拟器编译应用程序,以实现向后兼容性:https://sarunw.com/posts/open-using-rosetta-in-xcode-14-3