cocoapods

How to fix pod install error glog is too old or missing react native ios in windows 10

余生长醉 提交于 2020-01-24 22:23:13
问题 I wanted to detach expo in my expo project to get the bare react native project after expo detach i run pod install bring me this error that during installing glog that script is too old or is missing [!] C:/Program Files/Git/usr/bin/bash.exe -c set -e #!/bin/bash # Copyright (c) Facebook, Inc. and its affiliates. # # This source code is licensed under the MIT license found in the # LICENSE file in the root directory of this source tree. set -e PLATFORM_NAME="${PLATFORM_NAME:-iphoneos}"

Installation of any new Cocoapod is causing build failure

北慕城南 提交于 2020-01-24 21:02:52
问题 I have a simple Xcode project with some Pods (related to Google Firebase) already installed. Everything with these is working perfectly fine. However, any attempts to install any additional Pods is resulting in the Xcode project failing to compile. I'm providing two examples of this below. Please note that both pods below are failing with the same error LBTAComponents I am trying to install the LBTAComponents pod. I add pod "LBTAComponents" to the Podfile and run Pod install . I then build

xcodebuild commands failed to generate iPA

会有一股神秘感。 提交于 2020-01-24 06:05:15
问题 In xcode 9.2 I'm generating archive using automatic signing, Developer certificate and provisioning profile are generating through xcodebuild commands using -allowProvisioningUpdates key. But when generating iPA through xcodebuild commands with that archive getting below error. Details: Unable to close provisioning ledger entry because not all of its subentries are closed Object: <IDEProvisioningLedgerEntry: 0x7f925ced3840> Method: -closeWithError: Thread: <NSThread: 0x7f925a734df0>{number =

After installed framework from pods, not able to import in class in Swift project

╄→尐↘猪︶ㄣ 提交于 2020-01-24 00:48:29
问题 I have installed some framework by pod file in my Xcode project. I am using Xcode 9.2. Its installed successfully, but, while trying to import that third party framework to my main class, showing no such module found. Even tried so many times complete clean and rebuild. But, still showing the error No such module found OR Cannot load underlying module for XLPagerTabStrip . In framework search paths it's showing like below PFA. 回答1: if your facing No such module found XLPagerTabStrip. Do one

Bridge Swift to Objective-C library “ono” using cocoapods

风格不统一 提交于 2020-01-23 23:27:07
问题 For my swift iPhone app I'm needing to parse XML. I'm using Alamofire and trying to use Ono which is an objective c library. I used cocoapods to install Alamofire & Ono. I've followed the steps here: How to integrate Cocoapods with a Swift project? where I have #import <Ono/Ono.h> in my bridging header. Whats very odd is that in swift I can reference many of the Ono classes, but there is one function XMLDocumentWithData that I can't. E.g. HTMLDocumentWithString I can call, but

iOS8 and Xcode - How to distribute an embedded framework with cocoa pod dependencies

筅森魡賤 提交于 2020-01-22 19:53:26
问题 I need to create a compiled framework for distribution to third parties. I am using cocoa-pods to handle my dependencies. In order to accomplish this, it would seem that that creating a dynamic linked framework is the best option, but I am not sure and open to suggestions. The steps I took are: I created a wrapper project to contain the framework target Inside the wrapper project I added a new target "Cocoa touch framework" - "MyFramework" All of the relevant code is added to the target Added

Cannot compile Cocoapods with XCode/Obj-C – “Pods-prefix.pch.dia: No such file or directory”

跟風遠走 提交于 2020-01-22 17:20:09
问题 I am using XCode 4.5.1 and iOS 6.0 base SDK. Here is the error I am receiving: i686-apple-darwin11-llvm-gcc-4.2: /Users/fahim/Library/Developer/Xcode/DerivedData/Currenthiphop-emodxxwwaiojlcboaxuodksuwuww/Build/Intermediates/PrecompiledHeaders/Pods-prefix-evibdktwbatdnbabmrlnderfsxxi/Pods-prefix.pch.dia: No such file or directory There is only 1 file in the Pods-prefix-xxx directory: Pods-prefix.pch.pth.hash-criteria Here is my Podfile: platform :ios pod 'LibComponentLogging-Core' pod

The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1

∥☆過路亽.° 提交于 2020-01-22 05:35:33
问题 I'm getting this below warning message in my Xcode 10.1. The iOS Simulator deployment targets is set to 7.0, but the range of supported deployment target version for this platform is 8.0 to 12.1. My simulator os in 12.1 Xcode 10.1 And i updated my pod file. My deployment target is 9.0 In my target 回答1: The problem is in your pod files deployment target iOS Version not in your project deployment target iOS Version, so you need to change the deployment iOS version for your pods as well to

Xcode 10 GM multiple command produce… Pods issues

眉间皱痕 提交于 2020-01-21 14:56:18
问题 Just switched to xcode 10 Golden Master and start getting the error with one of my pods, FDTake. Tried this thread but I don't have a plist in my build phases, so it didn't work. Is this issue pod related? Showing All Messages :-1: Multiple commands produce '***/Xcode/DerivedData/app-fgyqhwrvkbjquheilgwhyjltujtz/Build/Products/Dev-iphonesimulator/FDTake/FDTake.framework/Info.plist': 1) Target 'FDTake' (project 'Pods') has copy command from '***/GoogleDrive/dev/_ios/Work/sutulp/Pods/FDTake

CocoaPods CDN: trunk Repo update failed

半世苍凉 提交于 2020-01-21 02:29:16
问题 今天升级 CocoaPods 到 1.8.4 版本 但是随即问题就来了, 执行 pod install 下载库时,出现错误 [!] CDN: trunk URL couldn't be downloaded: https://cdn.cocoapods.org/all_pods_versions_a_7_5.txt, error: execution expired 解决 后来就去查了半天资料, 最终在 github CocoaPods issues 找到解决方案 就是在 Podfile 加上 https://github.com/CocoaPods/Specs.git 原本的 Podfile target 'XQWatchDemo' do use_frameworks! pod 'AMapLocation' pod 'AMapNavi' end 增加后的 Podfile source 'https://github.com/CocoaPods/Specs.git' target 'XQWatchDemo' do use_frameworks! pod 'AMapLocation' pod 'AMapNavi' end 来源: CSDN 作者: 凤岭 链接: https://blog.csdn.net/pjc6362645/article/details/104048030