hgc2002 opened a new issue #3017: iOS pod update fails because repo url is not 
well defined
URL: https://github.com/apache/incubator-weex/issues/3017
 
 
   "npm run ios" fails when cloning the pod repo because the repo url is not 
well defined.
   this make it to download the repo every time, that takes much longer than 
npm command is stated to wait for.
   
   The reason is that "pod update" fails because it tries to clone the repo 
every time, because url is rejected by GitHub, to the repo is always missing.
   
   Pod repo is defined by default in Podfile as 
git:github.com/CocoaPods/Specs.git
   but this fails because git does plain calls, not secured (SSL), and GitHub 
does not allow it.
   
   Solution is described barely in 
https://github.com/CocoaPods/CocoaPods/issues/2696
   when it mentions that url should be like  
https://github.com/CocoaPods/Specs.git
   
   So the right repo is cloned and it won't try to download it again everytime, 
making the npm run ios to fail by timeout all the time.
   
   To reproduce it:
   .- install a weex environment from scratch (literally) in Mac
         npm install -g weex-toolkit
   
   .- make a new easy-simple project
         weex create my-app-name
         weex platform add ios
   
   .- execute "npm run ios"
   
   Environment:
   .- MacOS 10.15
   .- iPhone 8 Simulator
   .- npm 6.12.0
   .- node 12.13.0
   .- weex-toolkit@2.0.0-beta.31
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to