cocoapods

Setting up Xcode for CocoaPods plugin

放肆的年华 提交于 2019-12-06 04:11:59
问题 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

Pods.framework in red, doesn't exist in DerivedData

妖精的绣舞 提交于 2019-12-06 03:55:15
I am trying to using Cocoapods 0.39.0 for the dependencies of my project. I have followed the steps, but I end up with a red Pods.framework in my project. If I look at the path where XCode 7.2.1 says it should be, it doesn't exist: /Users/ajmas/Library/Developer/Xcode/DerivedData/myproject-cskuurnzjrcpcxfoyaceaeepshgt/Build/Products/Debug/Pods.framework I have looked around at other entries in Stackoverflow, but I am not find anything indicating how the framework should be generated. The contents of my Podfile are: source 'https://github.com/CocoaPods/Specs.git' target 'myproject' do platform

Cocoapods specify podspec xcconfig value for Debug only

℡╲_俬逩灬. 提交于 2019-12-06 03:47:27
问题 I am using cocoapods and want to specify a value in the pod's podspec using the xcconfig parameter that would be specific to Debug mode. currently, using : s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS" => "MY_DEFINE=1" } will set the value for both Debug and Release modes. Also tried using : s.xcconfig = { "GCC_PREPROCESSOR_DEFINITIONS[config=Debug]" => "MY_DEFINE=1" } but, altho this sets it in the pod's preprocessor macros, it doesn't seem to register during execution of the code, unlike

Xcode 9 crash during uploading app to App Store

一世执手 提交于 2019-12-06 03:36:04
问题 In my project the Xcode 9 crashes during uploading to App Store (or exporting to disk, it does not matter). I have found that it may be caused by cocoapods or some kind of external frameworks bug, because on my other projects which do not use cocoapods this bug does not happen. However why I created post about it here on stackoverflow is the question if anybody has a temporary solution to solve this issue ? Unfortunately it is not known when it will be fixed by Apple or cocapods...so...every

CDN: trunk Repo update failed - CocoaPods

依然范特西╮ 提交于 2019-12-06 03:07:11
解决方案: 1、podfile文件中添加source源: source 'https://github.com/CocoaPods/Specs.git' 2、执行 pod repo remove trunk 移除trunk源。 问题解决 详细如下: 由于项目是用CocoaPods管理,CocoaPods 1.8将CDN切换为默认的spec repo源,并附带一些增强功能!CDN支持最初是在1.7版本中引入的,最终在1.7.2中完成。 它旨在大大加快初始设置和依赖性分析。 目前项目使用pods的是1.8.4版本 Ribers-Mac:ZNB_Country2.0 Riber$ pod --version 1.8.4 最近使用pods,却出现了一下错误! [!] CDN: trunk Repo update failed - 17 error(s): CDN: trunk URL couldn't be downloaded: https://raw.githubusercontent.com/CocoaPods/Specs/master/Specs/1/d/4/CocoaAsyncSocket/0.0.1/CocoaAsyncSocket.podspec.json, error: Operation timed out - SSL_connect ... 按照官方文档

difference between react-native link and cocoapods?

*爱你&永不变心* 提交于 2019-12-06 03:03:50
问题 What does react-native link do? https://github.com/react-native-community/react-native-svg doc says to do react-native link react-native-svg is it the same as pod 'RNSVG', :path => '../node_modules/react-native-svg' # pod install 回答1: Cocoapods is the dependency manager for iOS. Just like npm is for JavaScript (more specifically Node.js) projects. Let's switch the example to use react-native-device-info . The project asks for you to create or add the following to a Podfile (if you're linking

CocoaPods 升级1.8.4的坑 CDN: trunk Repo update failed

与世无争的帅哥 提交于 2019-12-06 02:53:00
之前升级了cocoaPods 版本1.8.4,今天pod install,然后问题就来了: 1、出现了下边的问题: Adding spec repo `trunk` with CDN `https://cdn.cocoapods.org/` [!] CDN: trunk Repo update failed - 58 error(s): 2、网上看了半天,说在podfile中添加source ‘https://github.com/CocoaPods/Specs.git’,我添加了,报错从58边成了9 3、问题仍然没解决,之后只能釜底抽薪了 pod repo list 查看一下源列表 pod repo remove trunk 移除trunk源 来源: https://www.cnblogs.com/jiang-xiao-yan/p/11959190.html

Pod Spec Lint CoreSimulator detected Xcode.app relocation or CoreSimulatorService version change

情到浓时终转凉″ 提交于 2019-12-06 02:13:38
问题 The command pod spec lint fails. I couldn't find a similar question here on SO and on Cocoapod's repo. Full log: -> GPKit (0.1.1) - ERROR | [iOS] unknown: Encountered an unknown error (757: unexpected token at '2017-08-17 16:12:08.932 simctl[55281:678990] CoreSimulator detected Xcode.app relocation or CoreSimulatorService version change. Framework path (/Applications/Xcode.app/Contents/Developer/Library/PrivateFrameworks/CoreSimulator.framework) and version (375.21) does not match existing

iTunes Connect: Invalid Swift Support - framework doesn’t have the correct file type for this location

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-06 01:52:16
I am currently upload my app on app store using Xcode 7.1.1 But when I upload my app, I received email from Apple. Dear developer, We have discovered one or more issues with your recent delivery for "****". To process your delivery, the following issues must be corrected: Invalid Swift Support - The file ****.app/Frameworks/JSQSystemSoundPlayer.framework, ****.app/Frameworks/JLToast.framework, ****.app/Frameworks/SwiftyJSON.framework, ****.app/Frameworks/JSQMessagesViewController.framework doesn’t have the correct file type for this location. Ensure you’re using the correct file,rebuild your

PODS_ROOT and other pods env variables not set when compiling Ionic app

时光毁灭记忆、已成空白 提交于 2019-12-06 01:50:00
问题 I have built an Ionic 2 app which uses Intercom (a third-party extension). Intercom is installed using cocoapods. When compiling my app I am given the 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.lock. Run 'pod install' or update your CocoaPods installation. This is being generated by the Build Phase [CP] Check Pods Manifest.lock : diff "${PODS_PODFILE_DIR_PATH}/Podfile.lock" "${PODS