cocoapods

Slow app compilation with new Sierra update

纵饮孤独 提交于 2019-11-29 20:21:53
When I updated my mac to macOS Sierra 10.12.1 time of running application on real device significantly increased. "Run custom script 'Embed Pods Frameworks'" and "Copy Swift standard libraries" take more then 30 minutes to build. Do someone face the same issue? Check your keychain. After updating to Sierra to 10.12.1, I had over 500 copies one of my certificates, and a few others were duplicated a few hundred times. I removed all the duplicates and kept just one of each, and my code signing time went from 30 seconds per framework down to about 1 second per. I don't know how or why the

Creating an iOS Simulator Build of CocoaPods project

随声附和 提交于 2019-11-29 20:11:21
I need to create a simulator build in order to submit my app to facebook team for further review of my open graph. They have a instruction to create that here facebook instruction But I use cocoapods and I can not make this build. everytime it gives me error. Pradip Vanparia xcodebuild -arch i386 -sdk iphonesimulator{version} -workspace [projectName].xcworkspace -scheme [projectName] Follow the steps Click here Here is the another easy method to create .zip file Step 1: open finder and press command⌘ + shift⇧ + g Step 2: paste "~/Library/Developer/Xcode/DerivedData" Step 3: select your_app

CocoaPods arm64 issue

我是研究僧i 提交于 2019-11-29 20:09:38
When using Podfile for developing iOS 7 app with Xcode5, we always got this issue. After some searching, seems like no final resolve from CocoaPods ? Maybe resolved at this moment when you see this. How to resolve such issues right now ? The issue was: Pods was rejected as an implicit dependency for 'libPods.a' because its architectures 'armv7 armv7s' didn't contain all required architectures 'armv7 armv7s arm64' funroll Select the Pods project Change Build Active Architecture Only from Yes to No . That worked for me. Note: CocoaPods Troubleshooting Guide recommends matching the Debug setting

How to clear or clean specific pod from the local cocoapods cache

南笙酒味 提交于 2019-11-29 19:38:47
How to delete or clear a specific pod from cocoapods cache? Tried deleting the entire cache directly, it takes lot of time to get back all pods. How to view and remove specific pod from cache? Following works (longer time commit): # delete all cached pods `rm -rf "${HOME}/Library/Caches/CocoaPods"` # delete local Pods/* rm -rf "`pwd`/Pods/" # pod update to fetch latest. After entire cache deletion, it takes lot longer to fetch and rebuild pod cache from scratch. `pod update` Just commenting out from podfile, and pod install again fetches old version from cache. Having many instances of same

Updating to latest version of CocoaPods?

ぐ巨炮叔叔 提交于 2019-11-29 18:45:25
I'm having some issues installing Alamofire 4.0 into my project. I've got the latest version of Xcode , running Swift 3 , and when I try to install alamofire I'm getting like 800 compiler errors. Apparently CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+ I looked at the version of CocoaPods I have in terminal and it says I'm at 1.0.1. Running an update didn't work I guess because CocoaPods 1.1 is in beta. So I'm not exactly sure how to update it up to where I'm good to go. Unless being out of date doesn't force like 800 compiler errors? Does that sound like some other issue? user3899562

GitLab CI: iOS project issue (permission denied)

≡放荡痞女 提交于 2019-11-29 18:11:30
Trying GitLab CI for my iOS project, I follow this , this and this tutorial. Two questions: What is wrong with my gitlab-runner (with "shell" registration) since GitLab CI throws the following error: Running with gitlab-runner 11.9.0 (692ae235) on MyApp runner with shell DsaBC-oQ Using Shell executor... Running on MyComputer.network.provider... mkdir: /Users/myusername/builds/DsaBC-oQ/0/username/myproj.tmp: Permission denied mkdir: /Users/myusername/builds/DsaBC-oQ/0/username/myproj.tmp: Permission denied ERROR: Job failed: exit status 1 Some people say to use "sudo" for the gitlab-runner

Latest Google Plus iOS SDK 1.7.1 not supporting architecture x86_64

て烟熏妆下的殇ゞ 提交于 2019-11-29 17:59:57
I have the latest Google Plus iOS SDK managed by cocoapods in my project. pod 'google-plus-ios-sdk' ~> '1.7.1' #(Also tried 1.5.1) Simple code as: #import <GooglePlus/GooglePlus.h> [GPPSignIn sharedInstance].clientID = kClientID; I get this error: Undefined symbols for architecture x86_64: "_OBJC_CLASS_$_GPPSignIn", referenced from: objc-class-ref in GooglePlusManager.o "_OBJC_CLASS_$_GPPURLHandler", referenced from: objc-class-ref in GooglePlusManager.o ld: symbol(s) not found for architecture x86_64 clang: error: linker command failed with exit code 1 (use -v to see invocation) I have $

How to fix error for installing GoogleMaps 2.1.1 Unrecognized archive format iOS Objective C?

半城伤御伤魂 提交于 2019-11-29 17:25:23
I am rookie in iOS and i am trying to install GoolgeMaps by pod. But show me error like this: pod install Analyzing dependencies Installing GoogleMaps (2.1.1) [!] Error installing GoogleMaps [!] /usr/bin/tar xfz /var/folders/mf/60_klly5641fb71xqlp7xjc40000gn/T/d20170121-42827-ord5gk/file.tgz -C /var/folders/mf/60_klly5641fb71xqlp7xjc40000gn/T/d20170121-42827-ord5gk tar: Unrecognized archive format tar: Error exit delayed from previous errors. and this is my podfile: target "ProjectName" do platform :ios, '8.0' pod 'GoogleMaps' end And i am using Objective C and iOS 8. Please help me how to fix

Creating a custom cocoa pod with a storyboard in it

雨燕双飞 提交于 2019-11-29 17:07:54
问题 I am creating a pod, and in the resource bundle I have a storyboard (localised). When I try to instantiate a storyboard, an error occurred: Could not find a storyboard named 'MyStoryboard' in bundle NSBundle . The code look like this: NSURL *bundleURL = [[NSBundle mainBundle] URLForResource:@"MyBundle" withExtension:@"bundle"]; NSBundle *bundle = [NSBundle bundleWithURL:bundleURL]; UIStoryboard *storyboard = [UIStoryboard storyboardWithName:@"MyStoryboard" bundle:bundle]; MyBundle structure

Pod install, The dependency `*****` is not used in any concrete target

房东的猫 提交于 2019-11-29 16:52:19
问题 i have a project from another, when i pod install, the console tell me: Analyzing dependencies [!] The dependency `MMDrawerController (~> 0.5.7)` is not used in any concrete target. The dependency `ViewUtils` is not used in any concrete target. The dependency `CPAnimationSequence` is not used in any concrete target. The dependency `iCarousel` is not used in any concrete target. The dependency `BlocksKit (~> 2.2.5)` is not used in any concrete target. The dependency `AFNetworking` is not used