cocoapods

Refactoring 3 different UI components into one UIView into a CocoaPod

笑着哭i 提交于 2019-12-11 10:47:31
问题 in my iOS project i've been re-using the same 3 different types of UI elements: Label input check mark (or X ). And the logic is the same: when the user is entering text, validate. while validation fails, red check mark,etc. So, the next obvious stage is to refactor this into one UIView so that I can just drag and drop. And I want this into a Cocoa pod. Refactoring the elements into a UIview, etc is not hard. But I'm stuck on putting this logic into a Cocoa Pod. The XIB doesn't load so the

No podspec found for googleapis in

房东的猫 提交于 2019-12-11 10:47:26
问题 Installing googleapis pod giving error "No podspec found for googleapis in ." I am trying to installing pod 'googleapis', :path => '.' but, its getting following error Analyzing dependencies Fetching podspec for googleapis from . [!] No podspec found for googleapis in . And my pod file is Uncomment the next line to define a global platform for your project platform :ios, '8.1' target 'appName' do # Uncomment the next line if you're using Swift or would like to use dynamic frameworks # use

Extending 64 bit support to existing iOS app

有些话、适合烂在心里 提交于 2019-12-11 10:36:53
问题 I have read Apple's Guidelines for converting app to 64 bit binary and few other web pages.I am using Xcode 6 and I believe that if Architectures contain "Standard Architecture(armv7,arm64)" and Valid Architectures contain "armv7,armv7s" then it means my app supports 64 bit binaries. Can someone please confirm if my understanding is correct? The second issue is that my project contains a number of libraries.I believe that I will have to convert those libraries to 64 bit as well in case the

2018.12月解决cocoapods问题记录

北战南征 提交于 2019-12-11 10:25:00
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> >> 使用 cocopod 报错, • 系统:macOS Mojave10.14 >> 很久没用替换先更换 Ruby 源,国内镜像源 taobao 源 已经停止维护了(由于国内被墙)所以要把源切换至 ruby-china 地址 : ( https://gems.ruby-china.com/ ) >> 更换好也会有问题 会有错误提示: ERROR: While executing gem ... (Gem::Exception) Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources >>由于之前更新cocoapods版本有问题没有影响使用就没解决,最新版系统会要求ruby版本大于2.3.0,重新安装ruby,(网上有手动安装方法,由于没找到ruby官网下载,找了一个正常安装的) >>地址:( https://www.cnblogs.com/huanghaipo/p/7478625.html ) 1. 安装 RVM 2. 载入 RVM 环境 3. 检查 RVM 是否安装好 4. 安装 Ruby2.3.0 版本以上 4. 设置 Ruby 版本 5. 更换 Ruby 源 Mac

Is It possible to use different versions of Pods in different targets?

倾然丶 夕夏残阳落幕 提交于 2019-12-11 10:22:30
问题 This is what I'm trying to do in Podfile : platform :ios, '7.0' target TargetOne, :exclusive => true do pod 'AFNetworking', '2.6.0' end target TargetTwo, :exclusive => true do pod 'AFNetworking', '2.5.0' end Here's the output : [!] Unable to satisfy the following requirements: - `AFNetworking (= 2.6.0)` required by `Podfile` - `AFNetworking (= 2.5.0)` required by `Podfile` There is not anyway that I can have multiple targets with different versions of pods ? Even by setting : :exclusive =>

Using Cocoapods in Cocoa Touch Framework?

随声附和 提交于 2019-12-11 10:19:19
问题 I'm developing a framework that requires use of AFNetworking. So I started by creating a new and shiny Cocoa Touch Framework and as usual I created a pod file with the following stuff in it: source 'https://github.com/CocoaPods/Specs.git' pod 'AFNetworking', '~> 2.5' Obviously on a normal project this would create the workspace and everything would be super smooth... But since I picked Cocoa Touch Framework I am not able to import AFNetowrking.h into my ProjectName.h . The error I'm getting

Compiling error with local CocoaPods pod

淺唱寂寞╮ 提交于 2019-12-11 09:53:00
问题 I'm writing an app that using external libraries through CocoaPods such as AFNetworking, ReactiveCocoa etc, and one static library that I wrote before. The static library also contains some external libraries from CocoaPods as well. I've made my static library an local pod of CocoaPods and imported it as one of my pods. However, while compiling my new app, error happened. Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_YADAClientManager", referenced from: objc-class-ref in

How to fix 'pod update' getting stuck on a private pod?

我是研究僧i 提交于 2019-12-11 09:44:02
问题 When I try to run 'pod update', execution hangs on the download of my private library: Update all pods Analyzing dependencies Pre-downloading: `Obfuscated-Library` from `https://obfuscated.unfuddle.com/git/obfuscated_mvl/`, branch `develop` I’ve let it hang for about 10 minutes before Ctrl-C ’ing to cancel it. What on earth is going on? Here is some information about my private pod Private Library .podspec # # Be sure to run `pod spec lint Obfuscated-Library.podspec' to ensure this is a #

Build failed Xcode 10 cordova firebase project

纵然是瞬间 提交于 2019-12-11 09:14:34
问题 I'm building a cordova project for iOS and I'm trying to add Firebase SDK. I installed Cocoapods as required, then I installed cordova-plugin-firebasex; I opened my .xcworkspace and changed Build settings in target as follows: Build settings detail Then ran pod install in platforms/ios folder, went to the root directory adn typed sudo cordova prepare ios ; I updated the window in Xcode 10, went in Build Phases of target and checked the box 'Run scripts only when installing' as follows:

diff: /Podfile.lock: No such file or directory - React Native - Xcode

◇◆丶佛笑我妖孽 提交于 2019-12-11 08:25:46
问题 I am working on existing React-native project for iOS. I have followed the initial instructions from Getting Started and demo app is working fine. But in existing project there is podfile. So in that project I have ran pod install successfully. Then when I open myIOSApp.xcworkspace in XCode and run Project Build. The build got failed with 3 errors: 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