GooglePlacePicker doesn’t install via cocoa pods - ios

I've tried to install GooglePlacePicker several times through Cocoapods, but I always get this error
[!] Error installing GooglePlacePicker
[!] /usr/bin/curl -f -L -o /var/folders/tk/yn2rtpyx055g343t53hmqpqc0000gn/T/d20170925-37639-2bym7v/file.tgz https://dl.google.com/dl/cpdc/2239f9d09050c05e/GooglePlacePicker-2.4.0.tar.gz --create-dirs --netrc-optional
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- 0:02:40 --:--:-- 0
curl: (56) SSLRead() return error -9806
I also tried to install it manually, but this also did not work for me, since browsers (Safari, Chrome) do not download the archive by reference. When I removed the GooglePlacePicker from the Podfile, the pods were installed well. How can I fix this problem?

I made the APN settings restart from my modem, then tried to install pods again and it works for me.

Related

Mapbox-iOS-SDK 6.3.0 pod install error 403 Forbidden

download Mapbox example, run pod install, error: 403 Forbidden, why? please help, thank you!
pod 'Mapbox-iOS-SDK', '~> 6.3.0'
➜ ios-sdk-examples-298e050be7352eb28cee6f03e02945593140c1f3 pod
install Analyzing dependencies Downloading dependencies Installing
Mapbox-iOS-SDK 6.3.0
[!] Error installing Mapbox-iOS-SDK [!] /usr/bin/curl -f -L -o
/var/folders/84/rnxy4n6d32g03yxywry6hlnx0l2qqr/T/d20210316-90167-1gkenam/file.zip
https://api.mapbox.com/downloads/v2/mobile-maps/releases/ios/packages/6.3.0/mapbox-ios-sdk-dynamic.zip
--create-dirs --netrc-optional --retry 2 -A 'CocoaPods/1.10.0 cocoapods-downloader/1.4.0'
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:--
--:--:-- 0 curl: (22) The requested URL returned error: 403 Forbidden
machine api.mapbox.com
login xxx
password xxx <sk.eyJ1IjoiY2hpYnVkb25nIiwiYSI6ImNrbWJlN2RhNzIwcTEyb210ZTRtbXM2MDAifQ.DkqGccMXylJmAG9G6OSfYg>
Make sure that you have DOWNLOADS:READ permission when creating the secret token.
you should edit your .netrc file to:
machine api.mapbox.com
login mapbox
password sk.eyJ1IjoiY2hpYnVkb25nIiwiYSI6ImNrbWJlN2RhNzIwcTEyb210ZTRtbXM2MDAifQ.DkqGccMXylJmAG9G6OSfYg
and you should take your SECRET TOKEN instead of default PUBLIC TOKEN

iOS Map box installation using .netrc file

Even I am facing the same issue, I followed steps from below URL, https://docs.mapbox.com/ios/maps/overview/ for setting up a secret and public tokens, but still getting the same issue
[!] Error installing Mapbox-iOS-SDK [!] /usr/bin/curl -f -L -o /var/folders/mk/dxhjgx491qs_r3dq0hbt7k5mk9qp25/T/d20200914-2904-qefyh6/file.zip https://api.mapbox.com/downloads/v2/mobile-maps/releases/ios/packages/6.1.0/mapbox-ios-sdk-dynamic.zip --create-dirs --netrc-optional --retry 2
% Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- 0:00:06 --:--:-- 0 curl: (22) The requested URL returned error: 401 Unauthorized
Issue resolved, we need to add .netrc in the home directory of your Mac, I was trying to add that file in the project home directory.
All the required pods are installed without any error.

Docker Build: Missing Dependency

When my Docker build reaches this part of the Dockerfile:
ARG cabal=1.22.9.0
RUN curl -L http://hackage.haskell.org/package/cabal-install-${cabal}/cabal-install-${cabal}.tar.gz | tar -xzf- && \
cd cabal-install-${cabal} && \
EXTRA_CONFIGURE_OPTS= ./bootstrap.sh --global
It eventually ends with this error.
Downloading zlib-0.6.1.1...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 139k 0 139k 0 0 293k 0 --:--:-- --:--:-- --:--:-- 293k
[1 of 1] Compiling Main ( Setup.hs, Setup.o )
Linking Setup ...
Configuring zlib-0.6.1.1...
Setup: Missing dependency on a foreign library:
* Missing (or bad) header file: zlib.h
* Missing C library: z
This problem can usually be solved by installing the system package that
provides this library (you may need the "-dev" version). If the library is
already installed but in a non-standard location then you can use the flags
--extra-include-dirs= and --extra-lib-dirs= to specify where it is.
If the header file does exist, it may contain errors that are caught by the C
compiler at the preprocessing stage. In this case you can re-run configure
with the verbosity flag -v3 to see the error messages.
Error during cabal-install bootstrap:
Configuring the zlib package failed.
The command '/bin/sh -c curl -L http://hackage.haskell.org/package/cabal-install-${cabal}/cabal-install-${cabal}.tar.gz | tar -xzf- && cd cabal-install-${cabal} && EXTRA_CONFIGURE_OPTS= ./bootstrap.sh --global' returned a non-zero code: 2
Is there something I can include in my Dockerfile that can prevent this?

GetClrDbg.sh returned a non-zero code: 1

I completely followed this tutorial to make the DotNet Core with Docker project.
However When I run the command with './dockerTask.sh build debug' , I have got an error at following point.
I spend while of day to fix this issue.Please help me..
Step 5 : RUN curl -SL ttps://raw.githubusercontent.com/Microsoft/MIEngine/getclrdbg-release/scripts/GetClrDbg.sh --output GetClrDbg.sh && chmod 700 GetClrDbg.sh && ./GetClrDbg.sh $CLRDBG_VERSION && rm GetClrDbg.sh
---> Running in 049cb0e71b0a
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 15024 100 15024 0 0 1862 0 0:00:08 0:00:08 --:--:-- 3318
Using arguments
Version : 'VS2015U2'
Location : ''
SkipDownloads : 'false'
LaunchClrDbgAfter : 'false'
RemoveExistingOnUpgrade : 'false'
Info: Using clrdbg version '15.0.26022.0'
Info: Previous installation at not found
Error: Install location is not set
ERROR: Service 'api' failed to build: The command '/bin/sh -c curl -SL ttps://raw.githubusercontent.com/Microsoft/MIEngine/getclrdbg-release/scripts/GetClrDbg.sh --output GetClrDbg.sh && chmod 700 GetClrDbg.sh && ./GetClrDbg.sh $CLRDBG_VERSION && rm GetClrDbg.sh' returned a non-zero code: 1
I have updated brew and dotnet core SDK.
Thank you for any further helps.
It has been fixed.
Actually, this issue is a bug which is Microsoft/MIEngine side.
https://github.com/Microsoft/MIEngine/issues/531
Thank you for fixing this problem :)
for persons who have same issue.
just download the latest source code then it should be fixed.

Error installing RVM: requiring BASH 3.2.25 (you have 4.3.42(4)-release)

I'm attempting to install RVM, and I have a more recent version of BASH. I assume that it needs a version that is 3.2.25 or more recent. I've seen a few post online about it, but they've all been dated or no longer relevant to the current code. Here is what I put in cmd (I have Windows 10 pro).
curl -L https://get.rvm.io | bash -s stable --autolibs=enabled --ruby --rails
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 184 100 184 0 0 143 0 0:00:01 0:00:01 --:--:-- 155
100 22865 100 22865 0 0 9566 0 0:00:02 0:00:02 --:--:-- 45730
Input file specified two times.
BASH 3.2.25 required (you have 4.3.42(4)-release)
The error "Input file specified two times," displayed when the check was run, is output from the Windows sort command. If you run this command it will show you which instance of the sort command is being run:
which sort
To ensure the correct version is always used, alter your PATH to include the typical Bash executable paths (/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin) before any Windows ones. Or, simply remove the Windows paths from your PATH.
Where you change this depends on how you've installed Bash (Cygwin, git-bash, etc.) but is typically a file in your home directory called .profile or .bash_profile.
My problem is ~/.bash_profile,
Because your head is wrong.
If you are using:
export PATH=some/other/path:${PATH}
Let's change to:
export PATH=${PATH}:some/other/path
Hope this help!

Resources