-
Notifications
You must be signed in to change notification settings - Fork 17
Description
Question
我的项目是RN开发,适配安卓/苹果/鸿蒙三端,在鸿蒙端引入,运行是没有问题,在iOS进行拉去插件提示下面的错误
ios % pod install
Found 3 modules for target zeeray
link_native_modules! {ios_packages: [{configurations: [], name: "react-native-screens", root: "/Users/Desktop/project/zeeray4all/node_modules/react-native-screens", path: "../node_modules/react-native-screens", podspec_path: "/Users/Desktop/project/zeeray4all/node_modules/react-native-screens/RNScreens.podspec", script_phases: []}, {configurations: [], name: "react-native-gesture-handler", root: "/Users/Desktop/project/zeeray4all/node_modules/react-native-gesture-handler", path: "../node_modules/react-native-gesture-handler", podspec_path: "/Users/Desktop/project/zeeray4all/node_modules/react-native-gesture-handler/RNGestureHandler.podspec", script_phases: []}, {configurations: [], name: "react-native-safe-area-context", root: "/Users/Desktop/project/zeeray4all/node_modules/react-native-safe-area-context", path: "../node_modules/react-native-safe-area-context", podspec_path: "/Users/Desktop/project/zeeray4all/node_modules/react-native-safe-area-context/react-native-safe-area-context.podspec", script_phases: []}], ios_project_root_path: "/Users/Desktop/project/zeeray4all/ios", react_native_path: "../node_modules/react-native"}
Auto-linking React Native modules for target zeeray: RNGestureHandler, RNScreens, and react-native-safe-area-context
Framework build type is static library
[Codegen] warn: using experimental new codegen integration
[Codegen] Adding script_phases to ReactCodegen.
[Codegen] Generating ./build/generated/ios/ReactCodegen.podspec.json
[!] Invalid Podfile file: [!] /Users/.nvm/versions/node/v20.12.1/bin/node ./../node_modules/react-native/scripts/generate-codegen-artifacts.js -p /Users/Desktop/project/zeeray4all/ios/.. -o /Users/Desktop/project/zeeray4all/ios -t ios
[Codegen] Analyzing /Users/Desktop/project/zeeray4all/package.json
[Codegen] Searching for codegen-enabled libraries in the app.
[Codegen] The "codegenConfig" field is not defined in package.json. Assuming there is nothing to generate at the app level.
[Codegen] Searching for codegen-enabled libraries in the project dependencies.
[Codegen] Found @react-native-ohos/react-native-skia
[Codegen] Found react-native
[Codegen] Found react-native-screens
[Codegen] Found react-native-gesture-handler
[Codegen] Found react-native-safe-area-context
[Codegen] Searching for codegen-enabled libraries in react-native.config.js
[Codegen] Processing rnskia
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Error: ENOENT: no such file or directory, lstat '/Users/Desktop/project/zeeray4all/node_modules/@react-native-ohos/react-native-skia/src/specs'
[Codegen] Done.
.
from /Users/Desktop/project/zeeray4all/ios/Podfile:24
-------------------------------------------
use_react_native!(