Open BiskremMuhammad opened 3 weeks ago
Hello @BiskremMuhammad
It seems more related to CocoaPods or XCode than this package. Have you took a look at this for example ? https://github.com/CocoaPods/CocoaPods/issues/12456#issuecomment-2423684089
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