carthage

Command Line Tool - Error - xcrun: error: unable to find utility “xcodebuild”, not a developer tool or in PATH

六月ゝ 毕业季﹏ 提交于 2019-12-17 21:41:17
问题 I am getting this error while building the SwiftJSON framework to the Some Xcode project through Carthage Dependency Manager. Sivaramaiahs-Mac-mini:GZipDemoApp vsoftMacmini5$ carthage update --platform iOS *** Fetching GzipSwift *** Fetching SwiftyJSON *** Checking out GzipSwift at "3.1.1" *** Downloading SwiftyJSON.framework binary at "3.1.3" *** xcodebuild output can be found in /var/folders/7m/y0r2mdhn0f16zz1nlt34ypzr0000gn/T/carthage-xcodebuild.apLXCc.log A shell task (/usr/bin/xcrun

CocoaPods and Carthage

≡放荡痞女 提交于 2019-12-14 04:17:35
问题 I had a project with both Carthage and Cocoapods. They both have one common dependency (PureLayout, to be precise). Strange, but project compiles fine without any errors about class redeclaration, etc. So the question is: why it works and which version of dependency is actually used when I call PureLayout's methods – Carthage's or Cocoapods' one? 回答1: Carthage and CocoaPods are very different in terms of building the dependencies and integrating them in the project. CocoaPods is centralized

Carthage and GoogleMap

别说谁变了你拦得住时间么 提交于 2019-12-13 12:06:37
问题 Is it possible to install GoogleMap SDK via Carthage? I only saw the tutorial for Cocoapods only. Or I only can install manually if I am using Carthage? 回答1: According to Carthage docs: The only supported origins right now are GitHub repositories (both GitHub.com and GitHub Enterprise) Carthage actually builds binary framework from the sources it checkouts from the specified repository. Developer needs to link this built binary frameworks to the project afterwards. Google already provides you

iOS Dependency manager in Cocoa Touch Framework

久未见 提交于 2019-12-13 10:50:39
问题 I have been researching a while and with no success on how I can build a cocoa touch framework, add dependency manger for 3rd party libraries and finally add the framework in an app project. First, I would like to say that the framework I am planning to work with will be developed and tested while I write the app, it will be a git submodule of the main git project and. Ideally, The structure of my the whole project looks like that Finder: Project Is that a good way to work? Secondly, the main

Can/How Should I replace my KVO stuff with RC3?

Deadly 提交于 2019-12-12 07:35:54
问题 I'm trying to port an objc app which uses Facebook's KVOController, to Swift. I've been encouraged to look at RC3 as an alternate and more Swiftish approach. I've read some blogs and I'm encouraged to give this a try. But much of the docs and blogs seem to concentrate on sockets and timers as examples. So I have two simple questions right now: 1) Given an objc fragment like: [self.KVOController observe: self.site keyPath: @"programs" options: NSKeyValueObservingOptionInitial block:^(id

Update to Alamofire 4.0 and Swift 3.0 via Carthage

99封情书 提交于 2019-12-11 08:06:23
问题 I am trying to update Alamofire to version 4.0. When I run carthage update I get many errors when building Alamofire scheme. It looks like files weren't updated to Swift 3.0 syntax. What I am doing wrong? Log from terminal: *** Checking out Alamofire at "4.0.0" *** xcodebuild output can be found in /var/folders/ls/6t_b5mqx5s187hq2dtts6ys00000gn/T/carthage-xcodebuild.ORghi2.log *** Building scheme "Alamofire watchOS" in Alamofire.xcworkspace /Users/liborzapletal/Documents/Aplikace/PNG/PNG

List of Carthage files to be pushed to git

╄→гoц情女王★ 提交于 2019-12-10 17:46:56
问题 What are the list of Carthage related files which are good if pushed to git. I know, - Cartfile - Cartfile.private - Cartfile.resolved What about the Build and Checkout folders? 回答1: From this link: Whether you commit the Build and Checkouts directories to your version control repository is entirely up to you. It’s not required, but doing so means that anybody who clones your repository will always have the binaries and / or source for each dependency available. This can be a useful insurance

Nesting My Own Frameworks with Carthage

99封情书 提交于 2019-12-10 12:52:50
问题 I'm having problems trying to realize the following dependency setup between two frameworks and an app, all developed by me: Util containts a bunch of low-level utilities and extensions to Foundation types such as String , Date , etc. UI contains a bunch of custom UIView and UIViewController subclasses, class extensions for UIColor , UIImage , etc.. The app and each framework has its own repository on GitHub. The UI framework is set up to depend on the Util framework, using Carthage: The

Bitcode disabled on Carthage dependencies

大憨熊 提交于 2019-12-07 13:34:02
问题 Scenario My project (codebase shared for iOS/watchOS/tvOS ) has build settings with ENABLE_BITCODE = YES and takes advantage of fundamental libraries which are not yet supporting bitcode, although quoting Apple documentation in App Thinning Bitcode is the default, but optional. For watchOS and tvOS apps, bitcode is required. If you provide bitcode, all apps and frameworks in the app bundle (all targets in the project) need to include bitcode I am currently integrating those fundamental

How to move from CocoaPods to Carthage?

安稳与你 提交于 2019-12-07 10:31:32
问题 My project has linked with like 30 different libraries. Very few of them support Carthage. Do I need to make a branch and make them support Carthage one by one? Is there any better way to do so? 回答1: The carthage idea is based on frameworks. So if your dependencies do not support them, carthage is unable to build them for you. Simple as that. But: You can use carthage also to manage dependencies only by using the param "--no-build". Then carthage will only fetch the dependencies into your