cocoapods

Сocoapods trunk URL couldn't be downloaded

你离开我真会死。 提交于 2019-12-08 14:19:49
问题 CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/deprecated_podspecs.txt, error: Failed to open TCP connection to cdn.cocoapods.org:443 (No route to host - connect(2) for "cdn.cocoapods.org" port 443) pod repo update tried Does somebody know how to fix this problem? 回答1: I fixed it by this solution Add this to your Podfile: source 'https://cdn.cocoapods.org/‘ Afterwards, run the following command to remove it from your managed repo list (in console): pod repo remove master 回答2

Xcode 7.0.1 - Invalid Swift Support - cocoapods HOW TO FIX?

|▌冷眼眸甩不掉的悲伤 提交于 2019-12-08 11:18:44
问题 Unfortunately upgraded xcode and now trapped in hell. Invalid Swift Support - The SwiftSupport folder is missing. Rebuild your app using the current public (GM) version of Xcode and resubmit it. I'm guessing cocoapods is the culprit as I've successfully uploaded another app to testflight that does not use cocoapods. How is this fixed? I have Embedded Content Contains Swift Code set to Yes I've tried a proposed solution of commenting out a few lines in Pods-frameworks.sh suggested here Invalid

OSX application fails to compile after adding the Firebase Library

天大地大妈咪最大 提交于 2019-12-08 10:10:47
问题 I'm building a windowless menubar application (agent) with a popover. This application requires an integration with Firebase to retrieve some data from this store. XCode version is 6.3. After installing the latest version of cocoapods (0.38.2) and creating the Podfile as such: # Uncomment this line to define a global platform for your project platform :osx, '10.10' pod 'Firebase', '>= 2.3.3' target 'dTrain-osx-agent' do end target 'dTrain-osx-agentTests' do end I'm getting the following build

Xcode compilation unexpected results

孤者浪人 提交于 2019-12-08 08:03:36
问题 ✅ Xcode 10.2.1 I have a project, on which I worked in Xcode 10.2.1. Suddenly it started to get stuck building one of my many pods (one of 2, inconsistently). Says something like " Building <AppName>: <PodName> | Building 749 of 803 tasks ". And while idle, it gets stuck "Indexing Text". Update: This version is unable to Build or Index ANY project I try. True even for unchanged presets. SOLVED: Restarting my machine was the solution ✅ Xcode 11.0 Beta 1 Just to test, I've opened this project in

App crashes after power down on iPhone 4S

和自甴很熟 提交于 2019-12-08 07:51:26
问题 I am running iOS7 on an iPhone 4S and my app runs fine until I power down my iPhone and power it back on. When I launch my app it simply just flashes a black screen and then takes the user back to the iPhone app icon view. Also, my app uses RestKit .20.3 and ZBar for bar code scanning and is built using Xcode 5 on Mountain Lion. Then I connect my iPhone back to Xcode and then rerun the app and everything is fine again. Has anyone else experienced this issue. Below is a snippet from my crash

Facebook login on iOS with Parse & cocoapods errors

南笙酒味 提交于 2019-12-08 07:28:59
问题 I'm trying to follow this tutorial to create facebook/twitter authentication from iOS using Parse. My Podfile looks like this: platform :ios, '8.1' xcodeproj 'MyApp' target :Connectd, :exclusive => true do pod 'Parse' pod 'ParseUI' pod 'ParseFacebookUtilsV4' pod 'ParseTwitterUtils' pod 'FBSDKCoreKit' pod 'FBSDKLoginKit' end There are a bunch of reports on stackoverflow about library conflicts, but I think they are all old. If I am reading the Podfile.lock file correctly then all of the pods

CocoaPods - pod setup http request failed

爷,独闯天下 提交于 2019-12-08 05:26:52
问题 Working on OSX 10.8.2 After a fresh install of CocoaPods. I'm trying to $ pod setup And I get [!] git clone 'https://github.com/CocoaPods/Specs.git' master Cloning into 'master'... error: The requested URL returned error: 503 while accessing https://github.com/CocoaPods/Specs.git/info/refs fatal: HTTP request failed Am I doing something wrong ? 回答1: This should be a glitch, due to some Github availability issue: From Github status page: Today (January 16th, 9:50 UTC) We are working to resolve

CocoaPods - pod setup http request failed

点点圈 提交于 2019-12-08 04:50:31
Working on OSX 10.8.2 After a fresh install of CocoaPods. I'm trying to $ pod setup And I get [!] git clone 'https://github.com/CocoaPods/Specs.git' master Cloning into 'master'... error: The requested URL returned error: 503 while accessing https://github.com/CocoaPods/Specs.git/info/refs fatal: HTTP request failed Am I doing something wrong ? This should be a glitch, due to some Github availability issue: From Github status page : Today (January 16th, 9:50 UTC) We are working to resolve issues with a couple of fileserver clusters. Only a small number of users will be affected. From Upstream

CocoaPods folder does not exist / permissions error

被刻印的时光 ゝ 提交于 2019-12-08 04:18:08
问题 I'm new to CocoaPods, I tried running 'pod install' on my Mac to install my pod, but I'm getting a permissions error with the folder /Users/username/Library/Caches/CocoaPods . That folder doesn't even exist! Did I accidentally delete it at one point? How do I restore it? There is however a folder called /Library/Caches but its not under my username, its at the root. I'm a little confused. If someone can just direct me in the right direction, I would really appreciate it. Here is the full

error: conditional compilation flags must be valid Swift identifiers (rather than 'DEBUG”')

风流意气都作罢 提交于 2019-12-08 03:02:08
问题 I'm trying to build my project with Xcode 9 beta 6 (9M214v). Also, I'm using CocoaPods. I've converted to Swift 4 and updated my project settings, but I keep getting this error. Things I've tried so far: Clean project and build folder Deleting / re-adding pods Restart Xcode Remove Active Compilation Conditions flags Anyone has an idea how to solve this? Error message: <unknown>:0: error: conditional compilation flags must be valid Swift identifiers (rather than 'DEBUG”') Command /Applications