cocoapods

How do I install Frank when my project is using Cocoapods?

血红的双手。 提交于 2019-12-04 12:19:58
I have a sample, new project that and I used Cocoapods to install TestFlight and RestKit . Now I am trying to add Frank but "frank build" does not work. I've tried following steps listed here ; I've tried to modify the franked ../Frank/frankify.xcconfig and I've modified the .xcconfig for the default target. When I run "frank build", the build fails and leaves me a message, "ld: library not found for -lPods" . Any ideas on how to get this to work? from the article you link to, after modifying your frankify.xcconfig file, you still have to call frank with the --workspace and --scheme flags.

Xcode error when building app: line 7: /resources-to-copy-Project.txt: Permission denied

百般思念 提交于 2019-12-04 12:17:38
问题 When I try to build cordova application in Xcode I get the following error: /Users/User/PhpstormProjects/project/project-app/platforms/ios/Pods/Target Support Files/Pods-Project/Pods-Project-resources.sh: line 7: /resources-to-copy-Project.txt: Permission denied Also I noticed that following file resources-to-copy-Project.txt cannot be found anywhere on my laptop and because of that I tried running pod install with different versions of cocoapods. I already tried adding permissions to folders

Multiple frameworks and common library

北慕城南 提交于 2019-12-04 11:45:12
Using iOS 8, Xcode 6 . Let's say I have 2 dynamic frameworks, frameworkA and frameworkB and they are both dependent on libC . In addition, I have an app that uses both frameworkA and frameworkB . My original thought was to make frameworkA and frameworkB umbrella frameworks and libC a subframework. However, Apple advises against umbrella framework and this post describes why umbrella framework is a bad idea due to potential linker conflict issue. My second option is to use cocoapods (still new to this so a bit fuzzy on details) to use libC as a pod which then gets compiled into frameworkA and

Cannot find module FBSDKCoreKit Cocoapods

和自甴很熟 提交于 2019-12-04 11:08:06
I'm trying to integrate facebook into my app using CocoaPods, using the use_frameworks! tag, and according to facebook's instructions here , also included the pod bolts. When I try use import FBSDKCoreKit in my appdelegate, I get a no such module 'FBSDKCoreKit error. I've included my podfile below: source 'https://github.com/CocoaPods/Specs.git' platform :ios, '9.2' use_frameworks! pod 'Bolts' pod 'Alamofire', '~> 3.0' pod 'FBSDKCoreKit' pod 'FBSDKShareKit' pod 'FBSDKLoginKit' Additionally, in my Pods folder, there is a question mark next to Bolts, FBSDKCoreKit, and FBSDKSharekit, but not one

如何在gitLib 下创建私有 CocoaPods 仓库

╄→尐↘猪︶ㄣ 提交于 2019-12-04 10:35:58
1,概述 CocoaPods是iOS,Mac下优秀的第三方包管理工具,给我们项目管理带来了极大的方便。个人或公司在开发过程中,会积累很多可以复用的代码包,有些我们不想开源,又想像开源库一样在CocoaPods中管理它们,那么通过gitLib创建私有仓库来管理代码就很必要。对于CocoaPods还不太熟悉的,建议参考一下唐巧的博客 2,概念 1.code repository是代码仓库,我们把包代码上传到这个仓库。 2.spec repository是配置仓库,所有的配置按照包名、版本号分门别类的存放在这个仓库。这个仓库只用来存放.Podspec文件,不存放代码。 3,实现步骤 创建私有的CocoaPods仓库之前需要先制作CocoaPods依赖库,所以步骤分两步: 1.制作CocoaPods依赖库,也就是代码库。 2.创建私有 CocoaPods 仓库。 1.创建并设置一个私有的code Repository。 我使用的是自己搭建的gitlab 服务器提供git服务,gitHub也可以但是如果你不开源的话是要收费的。 2.clone 仓库到本地 为了方便向仓库中删减内容,需要将仓库 clone 到本地,这里有多种操作方式,可以选择你喜欢的一种,但是为了方便这边选择使用命令行。首先需要切换到你想在本地存储的目录,然后再 clone : git clone http://git

Can't import dependency installed with Cocoapods

拟墨画扇 提交于 2019-12-04 10:26:06
问题 I've installed FBSDK with Cocoapods but can't import it in my AppDelegate.swift file for some reason. The FBSDK kit appears in my Xcode project so I feel like it should be working. I'm not an iOS developer by any means, I'm just trying to write a simple native plugin for Flutter SDK. Anyone an idea? --Here is what the pod file looks like-- # Uncomment this line to define a global platform for your project # platform :ios, '9.0' if ENV['FLUTTER_FRAMEWORK_DIR'] == nil abort('Please set FLUTTER

Xcode 7.0.1 with CocoaPods app compile error Exit code 1

六月ゝ 毕业季﹏ 提交于 2019-12-04 10:11:55
问题 I recently upgraded to the latest Xcode and after adding a bunch of new code and fixing all my normal compile errors I got the following error. PhaseScriptExecution Copy\ Pods\ Resources /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto-dxseswuhgbzbluabjffcnlgzjelu/Build/Intermediates/Pesto.build/Debug-iphoneos/Pesto.build/Script-EF1179D6E7811474BD220AEA.sh cd /Users/dpreston10/Dropbox/Pesto /bin/sh -c /Users/dpreston10/Library/Developer/Xcode/DerivedData/Pesto

CocoaPods project structure for unit testing with private components

梦想与她 提交于 2019-12-04 09:43:28
I am using CocoaPods for a project with the following structure: Example/ Example/PublicUmbrellaHeader.h Example/PrivateHeaderForComponent1.h Example/PrivateHeaderForComponent2.h Example.podspec Tests/ Tests/Podfile Tests/Tests/UnitTestForPrivateComponent1.m Tests/Tests/UnitTestForPrivateComponent2.m Tests/Podfile pod 'Example', :path => '../' This is not unusual. For example, AFNetworking follows a similar structure. What is different is the need to expose a certain set of headers only to the unit tests. However, I could not figure out a straightforward way to do this accomplish this. The

Setting up Xcode for CocoaPods plugin

南笙酒味 提交于 2019-12-04 09:41:48
I am trying to setup terminal/Xcode to work correctly for the Xcode CocoaPods Plugin . When I run integrate cocoapods option from the plugin I get a message: [33mWARNING: CocoaPods requires your terminal to be using UTF-8 encoding. See https://github.com/CocoaPods/guides.cocoapods.org/issues/26 for possible solutions.[0m I have searched for the answer to this but I cannot find it. The resolution appears to be to complete the following: export LC_ALL="en_US.UTF-8" I am not sure how to complete this? I have run this in terminal and then when I output the locale I see the following: LANG="en_GB

How to stop react-native link from linking a library with CocoaPods with it has a podspec?

旧巷老猫 提交于 2019-12-04 09:16:25
问题 I need to use CocoaPods for a specific library. However I don't want to use it for any other because it usually forces me to add React and its dependencies to the Podfile as well, which is a nuisance and can lead to several issues as in previous experiences. In React Native documentation (https://facebook.github.io/react-native/docs/linking-libraries-ios) it is specifically said: If your iOS project is using CocoaPods (contains Podfile) and linked library has podspec file, then react-native