neuronas edited a comment on issue #738: Wrong Cocoapods source url
URL: https://github.com/apache/cordova-ios/issues/738#issuecomment-573609783
 
 
   I tried to set new cdn from a virtualized mac OS Catalina commenting out the 
source line in platforms/ios/Podfile file, to increase the installation time 
performance to a one minute as pointed on:
   http://blog.cocoapods.org/CocoaPods-1.8.0-beta/
   
   here are the relevant programs versions, and also I'm using cordova cli not 
cordova-ios but the same I think
   
   % npm list -g --depth=0
   ├── [email protected]
   └── [email protected]
   
   % xcodebuild -version
   Xcode 11.3
   Build version 11C29
   
   % pod --version
   1.8.4
   
   
   pod install takes a minute but it didn't work when later execute
   cordova build --release --device 
   also I tried removing Podfile.lock, remove all pods in Pods directory with 
the same result.
   this is the error:
   ```
   ▸ Running script '[CP] Check Pods Manifest.lock'
   
   ❌  error: The sandbox is not in sync with the Podfile.lock. Run 'pod 
install' or update your CocoaPods installation.
   
   ** ARCHIVE FAILED **
   
   The following build commands failed:
        PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock 
/Users/user/Library/Developer/Xcode/DerivedData/MyProjectName-bgxxntwvqlmwnocfgmzydttfdxuo/Build/Intermediates.noindex/ArchiveIntermediates/MyProjectName/IntermediateBuildFilesPath/MyProjectName.build/Release-iphoneos/MyProjectName.build/Script-76393A39D8E9B365915172E6.sh
   (1 failure)
   xcodebuild: Command failed with exit code 65
   user@users-iMac MyProjectName % cd platforms/ios/ 
   
   ```
   
   
   I ended up doing classic installation (pod install from platforms/ios) with 
default Podfile source, it takes almost 1 hour 
   
   % du -sh ~/.cocoapods
   2.4G /Users/user/.cocoapods

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to