Tag: cocoapods

“pod安装”后的空荚头文件夹

我的AppName – >目标 – >生成设置 – >searchpath – >标题searchpath设置为: "${PODS_ROOT}/Headers/Public" 当我运行pod安装并获得: $ pod install Analyzing dependencies Downloading dependencies Using Alamofire (3.1.1) Using AlamofireImage (2.1.0) Using DateTools (1.7.0) Using JGProgressHUD (1.3.1) Using Locksmith (2.0.8) Using SwiftyJSON (2.3.1) Using TPKeyboardAvoiding (1.2.10) Generating Pods project Integrating client project Sending stats Pod installation complete! There are 7 dependencies from […]

包装在Cocoapods中的GoogleMapsUtils框架在Xcode上生成错误

我正在尝试开发一个Cocoapods库,在Objective C Projects中包装iOS的Google Maps Utils。 我成功地构build和传递lint和链接validation,但是当我在Xcode中执行项目时,我得到了bulding错误。 'GoogleMaps/GMSAddress.h' file not found 我手动导入了Google Maps,并尝试使用此窗格: https : //github.com/googlemaps/google-maps-ios-utils 这是podspec文件 Pod::Spec.new do |s| s.name = 'Core' s.version = '0.1.0' s.summary = 'Core. Core for APPS. Maps System. More.' s.description = <<-DESC Core is the heart of all the APPS instances and APPS. Includes all the major assets and the […]

XCode 8.3归档错误:链接器命令失败,退出代码1

我只是在从XCode 8.2升级到XCode 8.3之后才开始出现这个错误,并且只有在进行存档构build时 (debugging构build工作正常)。 当我通过XCode进行存档时,唯一的消息是“链接器命令失败,退出代码1(使用-v查看调用)。 我使用命令行xcodebuild -scheme MyProduct构build 当我build立这种方式时,我发现了一些问题(再次,只有在做档案时): 我不得不添加import UIKit几乎每个快速文件。 所有的豆荚都有问题 从app-Bridging-Header.h中删除所有内容 在app-Bridging-Header.h中添加一些东西 我目前的问题是使用版本2.5.3的AWS pod 所以我的应用Bridging-Header.h有#import <AWSS3/AWSS3.h> 以下是命令行构build中的错误: error: 'AWSS3/AWSS3.h' file not found with <angled> include; use "quotes" instead #import <AWSS3/AWSS3.h> ^ 之后,错误日志继续。 我也试过在导入到“AWSS3 / AWSS3.h”的开关的疯狂的build议…也没有工作。 任何想法正在发生什么? 更多信息 这似乎是我的一个豆荚问题。 我build立了一个新的解决scheme,导入我的豆荚的一个子集和一切build成。 然后当我更新了完整的豆荚列表。

与cocoapods ios一起工作

我知道cocoapod正在简化手动添加库的工作,或让开发人员专注于他的实际源代码。 但我的问题是,如果我只需要从某些项目的一些源文件,然后通过安装相同的cocoapod好添加整个库? 就像我只需要Reachability类文件那么为什么我应该采取整个AFNetworking 是不是创build代码冗余或增加我的iPA大小或其他性能问题?

Google SignIn Cocoapod已弃用

如何在iOS应用程序中实现Google SignIn现在Google Pod已弃用? 使用已弃用的窗格会显示:未findGoogleAppUtilities的框架

Swift:无法使用Pod文件中的库

我正在使用Typhoon库进行dependency injection框架。 我使用CocoaPod来安装这个库。 这是我的pod文件: target "typhoon-swift-demo" do pod 'Typhoon' end target "typhoon-swift-demoTests" do end 我已经成功安装,但是当我打开工作区项目文件。 我input那些代码行作为台风样本代码: public class ApplicationAssembly: TyphoonAssembly { } 我遇到错误,我的应用程序不承认TyphoonAssembly我试图使用一些行,如: import Typhoon // not recogize typhoon import TyphoonAssembly // not regconize 请告诉我如何解决这个问题。 我可以使用库之前应该添加什么? 谢谢 :)

架构armv7的未定义符号:cocoaPods iPhone 5

我得到这个错误,只有当我尝试构build和运行在iPhone 5上。它工作正常的iPhone 6或更高版本。 这些都是cocoaPods生成的错误。 我跑了荚安装,荚更新,歼灭豆荚,开始了,没有什么: 我已经尝试了所有从这里的答案: 未定义的符号架构armv7为Cocoapods库没有运气。 以下是pod安装的详细输出 Analyzing dependencies Inspecting targets to integrate Using `ARCHS` setting to build architectures of target `Pods-Celeo`: (“) Finding Podfile changes – Braintree – ConciseKit – EDStarRating – Google – IDMPhotoBrowser – KAProgressLabel – MBProgressHUD – MagicalRecord – SFHFKeychainUtils – TwilioConversationsClient – TwilioSDK Resolving dependencies of `Podfile` Comparing resolved […]

为什么我的图书馆无法在CocoaPods网站上展开?

我试图通过CocoaPods网站访问我的图书馆的信息,但我无法。 所有其他库似乎都能够扩展(我的是MKWeatherUndergroundKit) 这是我的podspec Pod::Spec.new do |s| s.name = "MKWeatherUndergroundKit" s.version = "0.6" s.summary = "A simple iOS and OS X library for retrieving weather information using the Weather Underground API" s.homepage = "https://github.com/MendyK/MKWeatherUndergroundKit" s.license = { :type => "MIT", :file => "LICENSE" } s.author = { "MendyK" => "myEmail@gmail.com" } s.social_media_url = "https://twitter.com/MenndK" s.platform = […]

iOS,ld:框架没有find用于架构arm64的GoogleMaps

我正在开发一个应用程序使用谷歌地图。 我会解释我用谷歌地图做了什么,也许你可以帮助我。 我使用谷歌地图框架没有POD,但在谷歌地图的一些错误后,我删除了谷歌地图框架的参考,我用POD安装它。 一切工作正常,但是当我打 产品 – >testing 现在我得到这个错误: ld: framework not found GoogleMaps for architecture arm64 任何想法如何解决这个? 谢谢! Podfile看起来像这个Cocoapods v1.0 beta 6): platform :ios, '8.0' use_frameworks! target 'Project' do pod 'GoogleMaps' target 'ProjectTests' do inherit! :search_paths pod 'Mockingjay' end end

为什么我们在cocoapod中使用use_frameworks?

我在cocoapod podfile多次使用过use_frameworks 。 我只是想知道我们为什么要使用它? 我无法得到直接的答案。 例: platform :ios, '8.0' use_frameworks! target "CityWhether" do pod 'Alamofire' pod 'SwiftyJSON' end