cocoapods

Undefined symbols for architecture armv7 while using Google-Maps-iOS-SDK (1.8.1)

梦想与她 提交于 2019-11-29 14:39:45
问题 I am trying to add Google-Maps-iOS-SDK (1.8.1) using cocoapods (0.33.1) . Deployment target version: iOS 7.0 I have added this pod: pod 'Google-Maps-iOS-SDK' , '~> 1.8' Downloaded and installed sdk properly. I started adding header file and sample map view loading code from here. I have properly added API keys. In one view controller's - (void)viewDidLoad , I have added following code: // Create a GMSCameraPosition that tells the map to display the // coordinate -33.86,151.20 at zoom level 6.

Why isn't my cocoapods post_install hook updating my preprocessor macros?

时光毁灭记忆、已成空白 提交于 2019-11-29 14:38:12
问题 I've been going round and round for a couple days now trying to figure out why my post_install hook isn't producing the output I'm expecting. Here's my Podfile: source 'https://github.com/CocoaPods/Specs.git' target "SCCommon" do platform :ios, "6.0" pod 'AFNetworking', '~> 1.2.1' pod 'Mantle', '~> 1.3' pod 'PubNub', '3.5.5' end target "SCCommon-TestHarness" do platform :ios, "6.0" # inhibit_all_warnings! pod 'SCCommon', :path => '../SCCommon.podspec' end target "SCCommon-UnitTests" do

Cocoapods page redirecting to github

旧城冷巷雨未停 提交于 2019-11-29 14:01:14
I made a new pod and pushed it to trunk. It's appearing in the cocoadocs ( http://cocoadocs.org/docsets/KeyboardLayoutHelper/0.0.1/ ) page, but http://cocoapods.org/pods/KeyboardLayoutHelper is redirecting to github. The pod is working as expected when installed with pod install . Did I do something wrong or is this something I should submit to issues at cocoapods.org's github page? Edit: It's been about a week now, still redirecting to my github. My pod is also appearing differently than all others in the cocoapods.org search: It takes some time to create your CocoaPods page if you just

组件化pod库制作之私有库制作

两盒软妹~` 提交于 2019-11-29 13:25:20
私有podspec制作步骤: 组件化方案一般都是采用私有podspec 1、创建私有Spec Repo Spec Repo 是所有公开的Pods 的podspec文件的一个git仓库,当使用Cocoapods后它会被clone到本地的~/.cocoapods/repos目录下,可以进入到这个目录看到master文件夹就是这个官方的Spec Repo了。因此我们需要创建一个类似于master的私有Spec Repo 。同理这个私有Spec Repo我们也要有一个远程端。那么我们需要创建一个 Git仓库,这个仓库你可以创建私有的也可以创建公开的。如果是私有的话,项目中其他同事,你要给他这个Git仓库的权限。组件化一般都是采用私有的。 在git管理的代码托管网站如github或者码云或则自己服务器上创建一个私有仓库: # pod repo add [Private Repo Name] [GitHub HTTPS clone URL] 如:$ pod repo add HFPodSpecs https://coding.net/xxxx/ HFPodSpecs .git 其中HFPodSpecs是私有 Spec Repo名称 此时如果成功的话进入到~/.cocoapods/repos目录下就可以看到WTSpecs这个目录了。至此第一步创建私有Spec Repo完成。 PS

Google/Analytics.h file not found when adding to AppDelegate

别来无恙 提交于 2019-11-29 12:34:55
问题 I am trying to integrate Google Analytics in my ios project using Cocoapods. However, after following this for the steps till adding configuration file to my project, when importing the Google/Analytics.h in AppDelegate I get error for file not found. Tried following things: Added $(SRCROOT)/Pods/GoogleAnalytics to User Header Search Paths in Build Settings. Added libGoogleAnalyticsServices.a to link binary with libraries in build phases. Added -lGoogleAnalyticsServices in Other Linker Flags.

pod安装失败,Operation not permitted - /usr/bin/pod

别等时光非礼了梦想. 提交于 2019-11-29 12:33:27
个人博客地址: http://www.pluto-y.com 博主在升级秤Mac OS X EL Capitan后,发现尼玛,好多命令不见了。然后我的内心几乎是崩溃的,天哪撸!苹果,你怎么能这样对待我,我好不容易安装好的命令你竟然这样把我抛弃。然后最先发现的应该就是我的pod兄弟,麻痹,竟然不见了。 然后我就下意识的就开始安装,并在terminal中输入了 sudo gem install cocoapods ,结果竟然出现了: 然后就出现了这样: ,扶好扶好,不要激动,要淡定。 然后我就找啊找啊找朋友,找到一个好朋友。终于给我找到了解决方案,这里提供两种方案给大家借鉴: 方案一: $ mkdir -p $HOME/Software/ruby $ export GEM_HOME=$HOME/Software/ruby $ gem install cocoapods [ ... ] 1 gem installed cocoapods $ export PATH=$PATH:$HOME/Sofware/ruby/bin 方案一中主要是将GEM的安装路径进行修改,将GEM的默认安装路径修改成了 $HOME/Software/ruby 这个目录,然后再进行安装,最后将安装路径添加到 PATH 下,这样可以不用带完整的路径进行运行命令。 方案二: $ gem install

Flutter笔记(一)

时光怂恿深爱的人放手 提交于 2019-11-29 12:28:31
Android/iOS移动端开发 原生开发 Android原生应用通常指使用Java或Kotlin语言直接调用Android SDK开发的应用程序;而iOS原生应用通常指使用Objective-C或Swift语言直接调用iOS SDK开发的应用程序。 主要优势: 可访问平台全部功能(GPS、摄像头); 速度快、性能高、可以实现复杂动画及绘制,整体用户体验好; 主要缺点: 平台特定,开发成本高;不同平台必须维护不同代码,人力成本随之变大; 内容固定,动态化弱,大多数情况下,有新功能更新时只能发版; 跨平台开发 技术类型 UI渲染方式 性能 开发效率 动态化 框架代表 H5+原生 WebView渲染 一般 高 支持 Cordova、Ionic JavaScript+原生渲染 原生控件渲染 好 中 支持 RN、Weex 自绘UI+原生 调用系统API渲染 好 Flutter高, QT低 默认不支持 QT、Flutter Flutter安装与配置 下载flutter https://flutter.dev/docs/get-started/install MacOS下安装和设置环境变量 vi $HOME/.bash_profile export PUB_HOSTED_URL=https://pub.flutter-io.cn //国内用户需要设置 export FLUTTER

Swift bridging header file won't work with use_frameworks

心已入冬 提交于 2019-11-29 12:16:52
问题 I'm trying to use GoogleidentityToolkit library to handle login an things. I enable use_frameworks! on my pod file, but the module GITkit can't be found. I'm trying to figure out what's going. As far as I know if you use "use_frameworks" you don't need to create any bridging header file, since cocoapods compiles down the library into a single module, so later you can imported as usual on your*.swift files. What do I need to get using Google Identity Toolkit library in Swift? This question was

Error: RNFirebase core module was not found natively on iOS

旧街凉风 提交于 2019-11-29 11:16:06
问题 I created a new app and I am trying to use react-native-firebase . But I continually get this error: RNFirebase core module was not found natively on iOS, ensure you have correctly included the RNFirebase pod in your projects 'Podfile' and have run 'pod install'. See http://invertase.link/ios for the ios setup guide. Steps that I have done: yarn add react-native-firebase react-native link react-native-firebase Set up my .plist file from Google under .../myproject/ios/myproject Ran pod update

Project 'Pods' was rejected as an implicit dependency for 'Pods.framework' because its architectures didn't contain all required architectures

会有一股神秘感。 提交于 2019-11-29 10:51:34
问题 Target 'AAA-Pods' for project 'Pods' was rejected as an implicit dependency for 'Pods_AAA.framework' because its architectures 'x86_64' didn't contain all required architectures 'i386 x86_64'. This appears as warning, then linker error appears. 回答1: Possible Solution: Open Xcode project (cocoapods project) using .xc... file. Select Pods project in the project navigator (blue icon on left). Under Project, ensure Pods (blue icon) is selected. Navigate to Build Settings. Set Build Active