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
HI there..
i'm having an issue with pod install, i'm using fresh clean app with expo sdk 51. and then run npx expo prebuild to be able to add native modules.
and then i added the package along with dev client: npx expo install expo-dev-client react-native-vosk
and then i downloaded the model (vosk-model-ar-mgb2-0.4 | 318M) . unzip it, copied over to ./android/app/assets/vosk-model-ar.
and then on xcode for ios, i opened the ios folder in xcode. and then from left panel project folder i right click and "add files to [project]" and selected the project as target and there are two dropdowns -there is no "copy files if needed" check- but anyway i tried "copy files to distination" & also tried "referece files in place", the model is added, but from this point the pod install is failing in ios folder here are screen shots of the process and followed by the full log of failed pod install
...
here is a full log of failed pod install
Using Expo modules
[Expo] Enabling modular headers for pod ExpoModulesCore
[Expo] Enabling modular headers for pod React-Core
[Expo] Enabling modular headers for pod React-RCTAppDelegate
[Expo] Enabling modular headers for pod expo-dev-menu-interface
[Expo] Enabling modular headers for pod EXManifests
[Expo] Enabling modular headers for pod EXUpdatesInterface
[Expo] Enabling modular headers for pod expo-dev-menu
[Expo] Enabling modular headers for pod React-jsinspector
[Expo] Enabling modular headers for pod RCT-Folly
[Expo] Enabling modular headers for pod glog
[Expo] Enabling modular headers for pod React-RCTFabric
[Expo] Enabling modular headers for pod React-Codegen
[Expo] Enabling modular headers for pod RCTRequired
[Expo] Enabling modular headers for pod RCTTypeSafety
[Expo] Enabling modular headers for pod ReactCommon
[Expo] Enabling modular headers for pod React-NativeModulesApple
[Expo] Enabling modular headers for pod Yoga
[Expo] Enabling modular headers for pod React-Fabric
[Expo] Enabling modular headers for pod React-graphics
[Expo] Enabling modular headers for pod React-utils
[Expo] Enabling modular headers for pod React-featureflags
[Expo] Enabling modular headers for pod React-debug
[Expo] Enabling modular headers for pod React-ImageManager
[Expo] Enabling modular headers for pod React-rendererdebug
[Expo] Enabling modular headers for pod DoubleConversion
[Expo] Enabling modular headers for pod hermes-engine
[Expo] Enabling modular headers for pod expo-dev-launcher
Auto-linking React Native modules for target `demo`: RNGestureHandler, RNReanimated, RNScreens, react-native-safe-area-context, and react-native-vosk
Framework build type is static library
[Codegen] Adding script_phases to React-Codegen.
[Codegen] Generating ./build/generated/ios/React-Codegen.podspec.json
[Codegen] Analyzing /Users/.../demo/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
[Codegen] Found react-native-gesture-handler
[Codegen] Found react-native-reanimated
[Codegen] Found react-native-safe-area-context
[Codegen] Found react-native-screens
[Codegen] >>>>> Searching for codegen-enabled libraries in react-native.config.js
[Codegen] Processing FBReactNativeSpec
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Processing rncore
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Processing rngesturehandler_codegen
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rngesturehandler_codegen
[Codegen] Processing rnreanimated
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, macos, tvos, visionos for rnreanimated
[Codegen] Processing safeareacontext
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for safeareacontext
[Codegen] Processing rnscreens
[Codegen] Searching for podspec in the project dependencies.
[Codegen] Supported Apple platforms: ios, tvos, visionos for rnscreens
[Codegen] Generating Native Code for ios
[Codegen] Generated artifacts: /Users/.../demo/ios/build/generated/ios
[Codegen] Generating Native Code for ios
[Codegen] Generated artifacts: /Users/.../demo/node_modules/react-native/ReactCommon
[Codegen] Generating Native Code for ios
[Codegen] Generated artifacts: /Users/.../demo/ios/build/generated/ios
[Codegen] Generating Native Code for ios
[Codegen] Generated artifacts: /Users/.../demo/ios/build/generated/ios
[Codegen] Generating Native Code for ios
[Codegen] Generated artifacts: /Users/.../demo/ios/build/generated/ios
[Codegen] Generating Native Code for ios
[Codegen] Generated artifacts: /Users/.../ios/build/generated/ios
[Codegen] Creating component provider.
[Codegen] Generated provider in: /Users/.../demo/node_modules/react-native/React/Fabric
[Codegen] Done.
Analyzing dependencies
――― MARKDOWN TEMPLATE ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
### Command
It seems more related to CocoaPods or XCode than this package. Have you took a look at this for example ? CocoaPods/CocoaPods#12456 (comment)
We just updated the documentation with screenshots from the latest XCode, may you try again by following the install steps in the README ? It may fix the problem.
HI there..
i'm having an issue with
pod install
, i'm using fresh clean app with expo sdk 51. and then runnpx expo prebuild
to be able to add native modules.and then i added the package along with dev client:
npx expo install expo-dev-client react-native-vosk
and then i downloaded the model (vosk-model-ar-mgb2-0.4 | 318M) . unzip it, copied over to
./android/app/assets/vosk-model-ar
.and then on xcode for ios, i opened the ios folder in xcode. and then from left panel project folder i right click and
"add files to [project]"
and selected the project as target and there are two dropdowns -there is no "copy files if needed" check- but anyway i tried "copy files to distination" & also tried "referece files in place", the model is added, but from this point thepod install
is failing inios
folder here are screen shots of the process and followed by the full log of failedpod install
...
here is a full log of failed
pod install
/opt/homebrew/Cellar/cocoapods/1.15.2_1/libexec/bin/pod install
CocoaPods : 1.15.2
Ruby : ruby 3.3.5 (2024-09-03 revision ef084cc8f4) [arm64-darwin24]
RubyGems : 3.5.18
Host : macOS 15.1 (24B5077a)
Xcode : 16.0 (16A242d)
Git : git version 2.39.5 (Apple Git-154)
Ruby lib dir : /opt/homebrew/Cellar/ruby/3.3.5/lib
Repositories : cocoapods - git - https://github.com/CocoaPods/Specs @ 1b5dc541221022348c9735a260fb523a4bf9d144
cocoapods-deintegrate : 1.0.5
cocoapods-plugins : 1.0.0
cocoapods-search : 1.0.1
cocoapods-trunk : 1.6.0
cocoapods-try : 1.2.0
Error
――― TEMPLATE END ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――
[!] Oh no, an error occurred.
Search for existing GitHub issues similar to yours:
https://github.com/CocoaPods/CocoaPods/search?q=%60PBXGroup%60+attempted+to+initialize+an+object+with+unknown+ISA+%60PBXFileSystemSynchronizedRootGroup%60+from+attributes%3A+%60%7B%22isa%22%3D%3E%22PBXFileSystemSynchronizedRootGroup%22%2C+%22explicitFileTypes%22%3D%3E%7B%7D%2C+%22explicitFolders%22%3D%3E%5B%5D%2C+%22name%22%3D%3E%22vosk-model-ar%22%2C+%22path%22%3D%3E%22..%2Fandroid%2Fapp%2Fassets%2Fvosk-model-ar%22%2C+%22sourceTree%22%3D%3E%22SOURCE_ROOT%22%7D%60%0AIf+this+ISA+was+generated+by+Xcode+please+file+an+issue%3A+https%3A%2F%2Fgithub.com%2FCocoaPods%2FXcodeproj%2Fissues%2Fnew&type=Issues
If none exists, create a ticket, with the template displayed above, on:
https://github.com/CocoaPods/CocoaPods/issues/new
Be sure to first read the contributing guide for details on how to properly submit a ticket:
https://github.com/CocoaPods/CocoaPods/blob/master/CONTRIBUTING.md
Don't forget to anonymize any private data!
Looking for related issues on cocoapods/cocoapods...
Searching for inspections failed: undefined method `map' for nil
[!] [Codegen] warn: using experimental new codegen integration
The text was updated successfully, but these errors were encountered: