cocoapods

Xcode 7.2 successful archives will not show in organizer, but will show in archives folder about derived data folder

萝らか妹 提交于 2019-12-06 00:00:28
问题 I am using Cocoapods 0.39.0 and Xcode 7.2 , I have a project that archives successfully but does not populate in organizer . When I tested my podfile in a blank project the archive showed up in the Organizer just fine. While trying to troubleshoot this I found that there was an Archives folder above Derived Data. There I actually found all the .xcarchive files of the project that won't show up in the Organizer. When clicking on the file details, I also noticed that the working Archive had a

adding cocoapod dependencies to a cocoa touch framework

一笑奈何 提交于 2019-12-05 23:29:11
问题 I’m trying to work out how to add cocoa pod dependencies to an iOS app that has an embedded cocoa touch framework. I have my podfile set up like this: link_with [‘TestApp’, ‘TestAppFramework’] platform :ios, '8.0' source 'https://github.com/CocoaPods/Specs.git' pod 'google-plus-ios-sdk', '~> 1.7' Then I add a view controller with a sign in button as per the instructions here: https://developers.google.com/+/mobile/ios/sign-in and everything compiles with no problems. If I then run the app it

Cocoapods (private) unable to find specification

时间秒杀一切 提交于 2019-12-05 22:30:15
We have private cocoapods. When I type pod repo : company-private - Type: git (origin) - URL: ssh://me@myCompany.com//path/git/PrivateCocoapods - Path: /Users/Username/.cocoapods/repos/company-private master - Type: git (origin) - URL: https://github.com/CocoaPods/Specs.git - Path: /Users/Username/.cocoapods/repos/master I've entered ~/.cocoapods/repos : $ ls company-private master $ cd company-private $ ls Specs $ cd Specs: $ ls MyProject $ cd MyProject: $ ls 0.0.19 0.0.2 0.0.5 $ cd /0.0.5: $ ls MyProject.podspec In another project .podfile I'm trying to: pod 'MyProject', '0.0.5' And after

xcodebuild error - SecKey API returned: -25308

╄→尐↘猪︶ㄣ 提交于 2019-12-05 21:49:40
问题 I'm receiving the error below while trying to build my iOS app. This error only occurs while building for the Release configuration. Also, I'm using CocoaPods for my third-party dependencies and these builds are running on Jenkins through SSH. SecKey API returned: -25308, (null)/Users/iosbuilder/Library/Developer/Xcode/DerivedData/*/Build/Intermediates/ArchiveIntermediates/Production/InstallationBuildProductsLocation/Applications/*.app/Frameworks/AFNetworking.framework: unknown error -1

iOS 之 cocoapods 安装记录

為{幸葍}努か 提交于 2019-12-05 21:08:59
前段时间,mac抽风,突然卡在进度条进不去,只好抹盘重装。这里记录下cocoapod的安装步骤和遇到的问题。 本机系统:macos -10.13.6 。 查看并更新ruby 更换源 1、Ruby的软件源rubygems.org被屏蔽了,国内那无形之墙,我们需要来修改更换源;==》不可用 2、网上大多数是使用的 https://ruby.taobao.org 的,这里不再建议使用的了;===》不可用 3、这是因为taobao Gems 源已停止维护,把源切换至ruby-china,现由 ruby-china 提供镜像服务 4、原本是https:// gems.ruby-china.org /,现在 域名 从org变成了com 5、公告!域名变化,请大家使用 https://gems.ruby-china.com 终端具体安装步骤 41 ruby -v ====》 // 查看ruby版本,网上说貌似2.0以上才能用,不管了,先装个2.4 42 rvm install 2.4.0 43 ruby -v 44 rvm list 45 gem -v 46 gem sources -l // 查看源列表 47 gem sources -remove https://rubygems.org/ // 将不需要的源移除掉 48 gem sources --add https://gems.ruby

Import Objective-c framework into Swift framework (Google Analytics + Cocoapod)

流过昼夜 提交于 2019-12-05 20:59:34
问题 I'm trying to centralize my commonly used Swift code into a framework, and part of that code uses Google Analytics. I brought in Google Analytics as a Cocoapod, but I can't access it from the new framework like I did from the original project because it's Objective-C and there's no bridging header support in frameworks [I'm using Swift 1.2]. The line of code I normally have in the bridging header that makes all of this work is: #import <Google/Analytics.h> Where exactly do I put this in my

iOS: ImageMagick compiler warnings in Xcode

与世无争的帅哥 提交于 2019-12-05 20:57:10
I am using ImageMagick in an iOS project, however the library is outdated because the previous developer used the source code for this. I am using Xcode 6.3.2 and I want to use Cocoapods to integrate ImageMagick in the project instead of copying the source files. However when I integrate ImageMagick with Cocoapods I get four compiler warnings. This is the content of my pods file: target 'MyProject' do pod 'ImageMagick', '6.8.8-9' end These are the 4 warnings: If I try to change the file I get this warning popup And I can't unlock the file, I get this other error I am not that familiar with

Parse/Parse.h file not found after update with Cocoapods

陌路散爱 提交于 2019-12-05 19:56:47
问题 I tried everything I could imagine to fix this issue... Please help! After updating to Xcode 6.4 and Parse SDK 1.7.5 I'm getting build error: "Parse/Parse.h file not found" Here's my Podfile: target 'TV Admin' do pod 'RETableViewManager', '~> 1.6' pod 'SDNetworkActivityIndicator' pod 'Motif' pod 'Parse', '~> 1.7' end All Cocoapods dependencies except Parse are working great. Here's .xcworkspace view: I'm using Cocoapods 0.38.0.beta.2 Thanks. 回答1: I ran into this issue after updating XCode to

Git Submodules vs. Cocoapods [closed]

醉酒当歌 提交于 2019-12-05 19:42:10
问题 Closed . This question is opinion-based. It is not currently accepting answers. Want to improve this question? Update the question so it can be answered with facts and citations by editing this post. Closed 5 years ago . What are the advantages/disadvantages of using Cocoapods vs. Git Submodules? I am aware that there are several differences, but I would like to find out more about the advantages and disadvantages of using either system. Thanks! 回答1: Git submodules shouldn't be used for

Xcode: libpods.a is red

旧巷老猫 提交于 2019-12-05 19:41:18
问题 Does anyone know why this is? I'm using SWRevealViewController. It has been working up until this point. I'm using the workspace, and I've already looked into other articles and nothing has worked so far. It's not pulling up an error, but when I run the program it won't load anything because SWRevealViewController is the first thing that comes up. Thoughts? 回答1: Do you get an error message when you try to compile? I've had libPods.a in red before, but that didn't stop my project from working.