cocoapods

'failed to emit precompiled header' while adding new pod into existing Project

淺唱寂寞╮ 提交于 2019-12-11 02:36:21
问题 I had one project that in Obj-C. in that I'm facing issue failed to emit precompiled header after adding new pod into Project. in Project I'm working on both obj-C and swift using Bridging header. In Pod File, I added the SendBird my Pod File is: Podfile platform :ios, '9.0' abstract_target 'Virgla' do use_frameworks! pod 'ACKategories', :git => 'https://github.com/AckeeCZ/ACKategories.git', :tag => '2.3' pod 'FlurrySDK' pod 'Fabric' pod 'Crashlytics' pod 'SSZipArchive' pod 'SVProgressHUD'

access parent project OTHER_SWIFT_FLAGS from pod

眉间皱痕 提交于 2019-12-11 02:31:33
问题 Building a custom pod for a private framework, in my main project i use custom OTHER_SWIFT_FLAGS. In theory it should be possible to override the settings of the pod during the install based on the main project but there is no documentation on how to do so. So far my attempts failed, any hint? Looks like project(https://guides.cocoapods.org/syntax/podfile.html#project) should be the way to go but again, no documentation. 回答1: So basically it looks like this. Accessing the xcode project, then

Unity接入AbMob采坑记

微笑、不失礼 提交于 2019-12-11 02:08:09
之前是配置好的环境,不知道怎么突然就不正常了. 一直弹出下面的报错: Error running CocoaPods. Please ensure you have at least version 1.0.0. You can install CocoaPods with the Ruby gem package manager: sudo gem install -n /usr/local/bin cocoapods pod setup 在终端中输入上面的两条命令也安装成功了,但是在打包的时候还是弹出错误. 尝试了百度和谷歌上的各种方法安装了各种ruby版本还是不行. 各种尝试无果后都有点砸电脑的冲动了. 然后突然发现Unity里调用的好像不是我安装的Ruby版本. 系统本身带了一个Ruby版本,我用rvm安装了一个,我的$PATH配置用的是rvm里面的Ruby,而Unity调用的是系统的Ruby. 想起来我前几天升级过一次系统,估计是那次升级把我环境弄乱了. 知道问题就好办了,调用系统版本下面的gem来安装cocoapods就可以了 我的系统下ruby路径是 /System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/bin/gem 输入 cd /System/Library/Frameworks/Ruby

Pod library not installing properly

血红的双手。 提交于 2019-12-11 02:07:20
问题 I have a project XyzAbc with proj structure --LICENSE --XyzAbc ----XyzAbc.h ----Info.plist ----file1.swift ----file2.swift --Products ----XyzAbc.framework After building this project I pick this XyzAbc.framework and push it in github account that has folder structure --XyzAbc.framework --.gitignore --LICENSE --XyzAbc.podspec --README.md I created XyzAbc.podspec file in my local machine its structure is Pod::Spec.new do |s| s.name = "" s.version = "0.1.1" s.summary = "" s.description = "" s

pod trunk push successfully but the CocoaPods link redirect to github

て烟熏妆下的殇ゞ 提交于 2019-12-11 02:04:40
问题 I created a project and push to CocoaPods successfully: 🎉 Congrats 🚀 MyProject (0.1.1) successfully published 📅 December 6th, 22:50 🌎 https://cocoapods.org/pods/MyProject 👍 Tell your friends! But unfortunately, when I click the link (https://cocoapods.org/pods/MyProject), it will redirect to my github link (https://github.com/MyUserName/MyProject). What could be the cause? EDIT: Here are all my projects. The last one is linked to github. The other ones have Expand button but this one only has

Xcode 10 iOS firebase firestore SDK — multiple command produce gRPCCertificates.bundle error in Firebase

心不动则不痛 提交于 2019-12-11 02:03:14
问题 I am getting multiple command produce gRPCCertificates.bundle Multiple commands produce '...iphoneos/gRPCCertificates.bundle': 1) Target 'gRPC-C++-gRPCCertificates' has create directory command with output '.../iphoneos/gRPCCertificates.bundle' 2) Target 'FirebaseFirestore-gRPCCertificates' has create directory command with output '....iphoneos/gRPCCertificates.bundle' Here is my Podfile: # Uncomment the next line to define a global platform for your project platform :ios, '11.0' target

Spring framework StoryBoard render Error

前提是你 提交于 2019-12-11 01:41:39
问题 I had a project working project.now I install the pod again 

pod 'Spring', :git => 'https://github.com/MengTo/Spring.git', :branch => 'swift3'

 No I am getting this error.
 “error: IB Designables: Failed to render and update auto layout status for AvailabilityViewController no suitable image found. Did find: Spring.framework: required code signature missing for 'Spring.framework’ ”

 Now my app is running.but I could not find views in story board.
 I tried to remove all derived data from

`'NBPhoneNumberDesc.h' file not found` after updating to Xcode 10.2, Swift 5

一曲冷凌霜 提交于 2019-12-11 01:29:47
问题 I'm using pod chronotruck/FlagPhoneNumber I just updated from High Sierra/Xcode 10.1/Swift 4.2/Cocoapoods v-1.5.3 to Mojave 10.14.15/Xcode 10.2.1/Swift 5/Cocoapoods v-1.7.3 and I can't build because inside the NBRegExMatcher.m file I get the error 'NBPhoneNumberDesc.h' file not found Everything worked fine before the upgrade and I never had any of these errors. The Podfile.lock has this inside of it: - FlagPhoneNumber (0.7.6): - FlagPhoneNumber/libPhoneNumberiOS (= 0.7.6) - FlagPhoneNumber

xcodebuild: error: 'APP.xcworkspace' does not exist

纵然是瞬间 提交于 2019-12-11 01:24:38
问题 I am trying to set up CI with gitlab. When I try to build locally, I get this error : xcodebuild: error: 'APP.xcworkspace' does not exist. "APP" not being the real name. I am also using CocoaPods. This happens after I run this command in terminal: gitlab-ci-multi-runner exec shell build_project I have checked and the file does exist in the same folder I call the command. This is my .gitlab-ci.yml file: stages: - build build_project: stage: build script: - xcodebuild clean -workspace APP

Adding framework to existing Cocoapods setup

我只是一个虾纸丫 提交于 2019-12-10 23:06:32
问题 I am working with a project where Cocoapods is used. I am unable to find any documentation for adding a framework to an already existing Cocoapods setup. All I can find are example on how to setup Cocoapods from scratch. Any help? I'd like to add ABContactHelper via Cocoapods. Thanks! 回答1: Just add the pod to your Podfile and run pod install again. For ABContactHelper , do: edit Podfile add pod 'ABContactHelper' to the Podfile pod install 回答2: and don't forget to close the workspace in xCode