Issue while installing Pods (GRPC) - ios

I have been trying to install pods, everything is working fine until it reaches "Installing BoringSSL-GRPC" after this point nothing is reflected back everything stops there and it is still installing. Is there any way to skip or make it go the same speed as that of other installations?
Thanks in advance.

I tried removing the pods but that was not going as it was creating problems with code so I removed all the pods and install all of them one after another. Though it took alot of to install grpc and follwing installations but it was all completed successfully. Hope it can help you.

Related

Flutter pod: An error occurred while processing the post-install hook of the Podfile

The problem is that when I run a flutter app after having installed a plugin (firebase_core in this case) I get an error:
An error occurred while processing the post-install hook of the
Podfile.
undefined local variable or method `continue' for
#<Pod::Podfile:0x00000001099e67b8 #defined_in_file=#Pathname:/Volumes/Coding-IT/Coding/Projects/flutter_37hours/ios/Podfile,
#internal_hash={},
#root_target_definitions=[#<Pod::Podfile::TargetDefinition
label=Pods>],
#current_target_definition=#<Pod::Podfile::TargetDefinition
label=Pods>, #post_install_callback=#<Proc:0x0000000109a07e40
/Volumes/Coding-IT/Coding/Projects/flutter_37hours/ios/Podfile:37>,
#installation_options=#<Pod::Installer::InstallationOptions:0x0000000109ab6eb8
#clean=true, #deduplicate_targets=true, #deterministic_uuids=true,
#integrate_targets=true, #lock_pod_sources=true,
#warn_for_multiple_pod_sources=true,
#warn_for_unused_master_specs_repo=true,
#share_schemes_for_development_pods=false,
#disable_input_output_paths=false, #preserve_pod_file_structure=false,
#generate_multiple_pod_projects=false,
#incremental_installation=false, #skip_pods_project_generation=false>>
continue if xcframework_file.start_with?(".") # Hidden file, possibly on external disk.
The problem appears to be with the continue word, but I don't know exactly why this is happening and how to solve the problem :(
I've tried reinstalling cocoapods multiple times, from homebrew and from rubygems, I tried flutter clean, I tried reinstalling ruby and changing versions. No luck. Hope someone can help me, thanks
I'm looking into this too. It seems to be related to this issue: https://github.com/flutter/flutter/issues/104118
But it's closed the fix seems to be merged with flutter master branch. Idk! Might need to wait for next flutter update.
edit - I just tried this on beta channel and pod install completed. So you can wait till it's on stable or switch channels to run iOS. Cheers!

Installing Realm hangs (or takes extremely lot of time)

I'm trying pod install to install the Realm (10.8.1) pod.
And it seems to hang completely. I've tried pod install --verbose, I deintegrated the pods from the project - and the process really doesn't seem to move at all.
Is there any idea to push the installation forward? Internet access is OK, speed is 10Mbps minimum, all other pods install without any problems. More then 1 hour spent at this moment, I've tried to relaunch the installation - nothing helped at all

Surge.sh / Unable to update project

I am having an issue updating surge project.
After the initial project commit any new updates don't seem to work.
Tried updating the project several times, but seems that server still returns a version of first project upload.
Cache is not an issue, because the issue the same project version is served up across different devices.
Any advice, please?
I had the same issue. It works normally after I npm install -g surge

installReactHook is not a function / installReactHook is undefined

Suddenly I can't get my react native project to start on ios simulator or device. I don't know what happened in between. I tried to clear all cache, reinstalled the node modules, pod install, but nothing works. Can't find anything except that in the react native documentation that this is part of Systrace. I'm stumped.
I did run npm link yesterday - maybe it messed something up, but still after that building was not an issue.
I'm sure i messed something up myself, but hopefully someone has a hint.
Not sure this will help, but sometimes cleaning the ios build folder fixes weird things
This was a bit of a headache.
I also saw the error Module AppRegistry is not a registered callable module (calling runApplication). But that was not really the issue.
Whilst checking if android build has similar problem, I found that the module react-native-animated-linear-gradient had two issues
It gave problems with ReactNativeFeatureFlags.js.
It had a duplicate definition of react-native (as if it also included the whole react-native project through its package.json
By continuing to remove this package completely, unlinking it manually, reinstalling npm packages and cleaning my npm cache I finally got it to work again, both on android and ios.
I wasn't using that package, but due to lingering in my package.json and running npm update it went and broke something in my setup I suspect. If only I had removed it completely after not testing and deciding not using it.
I hope it helps people giving direction if you suddenly see installreacthook not found. It costs me 4 hours to figure out.

When installing firebase with swift in Xcode with cocoa pods, it gives me 27 errors

So, I've tried installing firebase into my application many times, each time it gives the same result, 27 errors. these are some of the errors...
I'm trying to install firebase though cocoa pods, this is my pod file...
And the terminal in which I install the pods...
So my real question is why I'm getting these errors. I've installed firebase in other apps and they are all working fine, please can someone help, I've uninstalled the pods and reinstalled them many times but nothing is changing. Thanks.
wow, I just realised what was wrong after months of trying to figure it out. I still had the frameworks from when the application had parse databases, all's i did was delete the frameworks which were required for parse, and it built successfully. So happy!!!!!!!

Resources