cocoapods

Setting up CocoaPods master repo (Sierra )

倾然丶 夕夏残阳落幕 提交于 2019-12-18 09:45:28
问题 After upgrading to Sierra 10.12, doing a clean install from scratch, I am not able to install libraries using cocoapods, by making the "pod install" I get this: "Setting up CocoaPods repo master". I hope you can help me. Thank you. 回答1: In my first installation, I got the same problem too, it takes too much time in "setting up master repo". You can see it through "activity monitor" that it actually is downloading, but it seems the connection is slow from their server. Try these following

GitLab CI: iOS project issue (permission denied)

时光毁灭记忆、已成空白 提交于 2019-12-18 09:43:31
问题 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:

How Do I Define a Host Target That Embeds a Framework Target?

天涯浪子 提交于 2019-12-18 07:57:08
问题 I have an existing workspace file in a directory whose sub-directories contain the Xcode project files. When I issue the 'pod install' command (my pod version is 1.2.0) from the workspace file's directory, I get the following warning: [!] The Podfile contains framework targets, for which the Podfile does not contain host targets (targets which embed the framework). If this project is for doing framework development, you can ignore this message. Otherwise, add a target to the Podfile that

Cocoapods page redirecting to github

我与影子孤独终老i 提交于 2019-12-18 07:51:46
问题 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

How to use Google Analytics for iOS via cocoapods

点点圈 提交于 2019-12-18 06:12:52
问题 In my bridging header, I infinitely get "<Google/Analytics.h> not found" I followed Google's own tutorial: https://developers.google.com/analytics/devguides/collection/ios/v3/?ver=swift I've tried the 'pod GoogleAnalytics' methods people have posted. I've tried all of the suggestions people have posted in other threads. Is there something else I need to change in the "build settings" ... or does 'pod install' do everything? Bridging Header: Build Settings: Podfile: 回答1: Swift 4.0 and xcode 9

GoogleAnalytics-iOS-SDK on CocoaPods 0.36 with Swift

余生颓废 提交于 2019-12-18 05:56:31
问题 Anyone knows How do I write Bridging Header for Swift with CocoaPods 0.36? I tried these ways. (1) #import <GoogleAnalytics-iOS-SDK/GAI.h> => this is cocoapods 0.35 style. failed to compile. (2) #import <GoogleAnalytics-iOS-SDK/GoogleAnalytics-iOS-SDK/GAI.h> => failed to compile. (3) #import "../Pods/GoogleAnalytics-iOS-SDK/GoogleAnalytics/Library/GAI.h" => it can be complied. but failed linking. 回答1: I managed to successfully include Google Analytics iOS SDK 3.10 via Cocoapods into my Swift

Xcode 5 iOS 7 CocoaPods Linker Error

半城伤御伤魂 提交于 2019-12-18 01:40:25
问题 I just upgraded my old project to new iOS 7. It was already using Cocoapods. I compile and run and everything works fine on the simulator and the device. I tried to archive it using Xcode and I get the following error. ld: library not found for -lPods clang: error: linker command failed with exit code 1 (use -v to see invocation) Any ideas! UPDATE: The architecture for the Pods project is set as the following: Standard architectures (armv7,armv7s) SOLUTION : Cocoapods has been removed from my

XCTest/XCTest.h not found on old projects built in Xcode 6

╄→гoц情女王★ 提交于 2019-12-17 23:19:16
问题 I have a few projects I'm trying to build with Xcode 6 Beta 2. The projects all have some type of library that uses XCTest (Kiwi/XCTest and Specta) that don't build in Xcode 6 because XCTest/XCTest.h cannot be found. fatal error: 'XCTest/XCTest.h' file not found #import <XCTest/XCTest.h> I noticed that XCTest.framework is no longer in the "Link Libraries with Binaries" build phase list, but that's fine because when I create a new project with Xcode 6 it appears the library is linked in

Errors after updating to Xcode 8: “No such module” and “target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT`build setting”

泄露秘密 提交于 2019-12-17 22:05:08
问题 I'm getting No such module for Pods when I try to build the project. If I remove the code expecting this Pod, another 'No such module' comes up for another Pod, which means every Pod must be affected. When I type pod install I get the following messages: [!] The X target overrides the `EMBEDDED_CONTENT_CONTAINS_SWIFT` build setting defined in `X’. This can lead to problems with the CocoaPods installation - Use the `$(inherited)` flag, or - Remove the build settings from the target. [!] The `X

Set deployment target for CocoaPods's pod

我怕爱的太早我们不能终老 提交于 2019-12-17 21:53:08
问题 I use CocoaPods to manage dependencies in my project. I've written Podfile: target 'MyApp' do platform :ios, '8.0' # Uncomment this line if you're using Swift or would like to use dynamic frameworks #use_frameworks! # Pods for MyApp pod 'KeepLayout', :git => 'https://github.com/iMartinKiss/KeepLayout', :tag => 'v1.6.0' pod 'EasyMapping' target 'MyAppTests' do inherit! :search_paths # Pods for testing end target 'MyAppUITests' do inherit! :search_paths # Pods for testing end end This file