cocoapods

Cocoapods: Failed to connect to GitHub to update the CocoaPods/Specs specs repo

匿名 (未验证) 提交于 2019-12-03 01:58:03
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: When running pod repo update the following error is generated: Updating spec repo `master` [!] Failed to connect to GitHub to update the CocoaPods / Specs specs repo - Please check if you are offline , or that GitHub is down Using cocoapods 1.0.1 I'm also aware of this: . Adding --verbose flag to the call shows the ruby call stack: . rvm / gems / ruby - 2.3 . 0 / gems / cocoapods - core - 1.0 . 1 / lib / cocoapods - core / github . rb : 100 : in `modified_since_commit' .rvm/gems/ruby-2.3.0/gems/cocoapods-core-1.0.1/lib/cocoapods

gem install fails with openssl failure

匿名 (未验证) 提交于 2019-12-03 01:54:01
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: I tried to install cocoapods ( http://cocoapods.org/ ) on my OSX Mountain Lion. moshe - mbp :~ moshem$ gem install cocoapods ERROR : Could not find a valid gem 'cocoapods' (>= 0 ), here is why : Unable to download data from https : //rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server key exchange B: bad ecpoint (https://rubygems.org/latest_specs.4.8.gz) first I tried rvm reinstall all -- force then I tried brew upgrade openssl ==> Upgrading openssl ==> Downloading http : //openssl.org/source/openssl-1.0.1e.tar

Removing Pod from project - xcode

这一生的挚爱 提交于 2019-12-03 01:51:11
I'm trying to remove pod from my project. After i'm deleting all the files and everything i'm getting this messages diff: /../Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. I tried to remove the pods from the project, reinstall them, remove the script from the build phase, nothing is working. remove the pod from the pod file then reinstall pods open terminal and type cd ~/projectDirectoryPath then type open -a Xcode Podfile this will open up

How to find out the version of installed cocoa pods?

空扰寡人 提交于 2019-12-03 01:48:48
问题 How to find out the version of installed cocoa pods? I'm not asking about the version of the cocoa pods gem , but the version of the pods themselves. Ideally it would say "pod GreatViewController is installed in version 1.2.3, new version available: 1.2.6". Is there something like that? 回答1: EDIT Based on your clarification you're looking for pod outdated . You can see more information about this with pod outdated --help Original answer before question was edited The command you want is pod -

Xcode 10 - UITests - Reason: image not found

筅森魡賤 提交于 2019-12-03 01:45:15
I'm trying to run the UItests for my app but it's crashing as soon as it loads. Here's the error. 2018-09-29 16:19:49.577151+1000 xxxUITests-Runner[6007:69633] (dlopen_preflight(/Users/Acc/Library/Developer/Xcode/DerivedData/xxx-bjuwemcifadxhlhgojgfktmmades/Build/Products/Debug-iphonesimulator/xxxUITests-Runner.app/PlugIns/xxxUITests.xctest/xxxUITests): Library not loaded: @rpath/libswiftContacts.dylib Referenced from: /Users/Acc/Library/Developer/Xcode/DerivedData/xxx-bjuwemcifadxhlhgojgfktmmades/Build/Products/Debug-iphonesimulator/xxxUITests-Runner.app/PlugIns/xxxUITests.xctest/Frameworks

Can't find headers for GoogleAnalytics-iOS-SDK with Cocoapods 0.37, Swift, frameworks

早过忘川 提交于 2019-12-03 01:41:54
Using cocoa pods 0.37.0 in a Swift project, with use_frameworks! set in the podfile, I am unable to access the header files for the GoogleAnalytics-iOS-SDK pod. How should I access the Google Analytics pod's headers in my app? I have tried; import GoogleAnalytics_iOS_SDK In a Swift file, cocoapods 0.36 style. But there's no framework created anymore so no good. #import <GoogleAnalytics_iOS_SDK/GAI.h> In the bridging header, but doesn't work (no module map ?) I have read that the behaviour for pods that only include headers in their 'sourse_files' changed in cocoapods 0.37 (see this commit) .

How to rebuild development pod changes?

时间秒杀一切 提交于 2019-12-03 01:28:52
问题 I have a development pod that I connect to the my app locally using :path => '~/Projects/Swift/pod' . When I make changes inside the application code in that development pod, this changes are not included after build. It's like I'm build cached code, not my code changes. For include code changes into build I have to run the command "Clean Build Folder", but after that build takes a very long time, for 10 minutes, which is not very productive. Literally, I comment on a line of code and wait 10

Incorrect path for Pods.debug.xcconfig in Xcode?

梦想与她 提交于 2019-12-03 01:28:47
问题 so I used Venmo/Synx on my Xcode project with CocoaPods, and it completely screwed everything up. I was able to fix the Manifest.lock and Podfile.lock errors, but now I am getting this error: The file “Pods.debug.xcconfig” couldn’t be opened because there is no such file. (/Users/user/GitHub/xxxxxx/Pods/Pods/Target Support Files/Pods/Pods.debug.xcconfig) As you can see, the path is incorrect, as there is no Pods/Pods directory (there is one extra pod). How can I fix this? I have only added

Ionic 3 - xcode error with cocoapods

我们两清 提交于 2019-12-03 01:23:56
I try to build an ionic 3 app with push notification and I have some problem with iOS deployment. I have this 3 error in xcode : diff: /Podfile.lock: No such file or directory diff: /Manifest.lock: No such file or directory error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation. I have try a lot of solution I found on internet : use command "pod install", "pod update" delete and install CocoaPods update CocoaPods Delete "Pods" folder, "Podfile.lock" and "Podfile" and run "pod install" command. Remove libPods-myApp.a from Link Binary

Cocoapods with Xcode 6 and 10.10 Yosemite

匿名 (未验证) 提交于 2019-12-03 01:23:02
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 由 翻译 强力驱动 问题: After initially upgrading to 10.10 and XCode6-Beta, I tried to run 'pod update' and I received this error: cannot load such file -- xcodeproj / prebuilt / universal . x86_64 - darwin14 - 2.0 . 0 / xcodeproj_ext ( LoadError ) I tried to update Cocoapods using 'sudo gem install cocoapods', but received another error: Fetching : xcodeproj - 0.17 . 0.gem ( 100 %) Building native extensions . This could take a while ... ERROR : Error installing cocoapods : ERROR : Failed to build gem native extension . "/System/Library/Frameworks/Ruby