Questions tagged [carthage]

Carthage is a decentralized dependency manager for Cocoa projects, able to build dependencies for providing dynamic frameworks. Carthage does not automatically modify project files or build settings.

Homepage: https://github.com/Carthage/Carthage

475 questions
281
votes
3 answers

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

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…
Sivaram Yadav
  • 3,141
  • 3
  • 13
  • 15
130
votes
28 answers

Linker Command failed with exit code 1 (use -v to see invocation), Xcode 8, Swift 3

I can't get rid of this error! I have tried all sorts of things like clearing Derived Data(Preferences->Locations->click gray arrow to open Derived Data folder in Finder->right-click, move to trash), cleaning the project(CMD+Shift+K or…
Jake Dobson
  • 1,716
  • 3
  • 11
  • 29
98
votes
5 answers

What is the difference between Embedded Binaries and Linked Frameworks

When using external framework Xcode now has an Embedded Binaries as well as Linked Frameworks section. When you download an external framework and Finder->drag it into Xcode, it will place the framework into the Linked Frameworks and Libraries…
Maxim Veksler
  • 29,272
  • 38
  • 131
  • 151
94
votes
9 answers

How to update just one library from the Cartfile with Carthage?

My Cartfile has many libraries. When I do carthage update it goes through all the libraries. That can take very long time. Is there a way to update just a single library with carthage? Something like this? (this will not work) carthage update…
Evgenii
  • 36,389
  • 27
  • 134
  • 170
70
votes
1 answer

How to clear Carthage cache?

I use Carthage dependencies manager in my iOS projects and I am wondering what is the best way to clean its cache in case some issues with update occur
Alex Peda
  • 4,210
  • 3
  • 22
  • 31
65
votes
13 answers

umbrella header for module 'myFramework' does not include header 'otherFramework.h'

My Swift / iOS9 framework 'viewer_protocol' uses another and external Objective-C framework (CocoaAsyncSocket). I'm using Carthage to build CocoaAsyncSocket. So far everything works fine: In have an example App inside my framework Xcode Project…
hibento
  • 784
  • 1
  • 6
  • 9
65
votes
5 answers

How to correctly create carthage cartfile?

I'm looking into cartfile. Can't wait to "simply create a cartfile" like all the instructions say to do. Only... how do you "simply" create a Cartfile? I've created a plain text document, named it cartfile and copied some dependencies in it. Ran…
YichenBman
  • 5,011
  • 8
  • 46
  • 65
58
votes
7 answers

Error of "error: could not lock config file .git/config: Permission denied" occurs while installing Carthage

I want to install carthage on my Mac OS using brew install carthage command. However, I get the following error: touch: /usr/local/Homebrew/.git/FETCH_HEAD: Permission denied touch:…
Saeid
  • 1,996
  • 4
  • 27
  • 44
56
votes
2 answers

what's the purpose of "--no-use-binaries" in carthage

As titled, what's the purpose of "--no-use-binaries" in carthage command line? if missing this, what could happen and what's the benefit to have this?
LiangWang
  • 8,038
  • 8
  • 41
  • 54
50
votes
2 answers

Where is the Run Script and Build Phase in Xcode?

To get Carthage set up, the documentation says that you need to add a Run Script. On your application targets’ “Build Phases” settings tab, click the “+” icon and choose “New Run Script Phase”. Create a Run Script in which you specify your…
Suragch
  • 484,302
  • 314
  • 1,365
  • 1,393
38
votes
3 answers

Uninstall/remove Carthage from iOS/Xcode project?

Here is a link to Carthage: https://github.com/Carthage/Carthage It additionally adds some changes in project files so I can simply remove extra files/folders and it will work but I can't use Carthage in future again because of some errors. And of…
Vyachaslav Gerchicov
  • 2,317
  • 3
  • 23
  • 49
35
votes
2 answers

Using Carthage and CocoaPods in the same project

I'm currently looking at a library which only supports Carthage as a package manager. The project I'm looking to integrate it with already has some CocoaPods dependencies. Has anybody tried using both of these managers at the same time? It strikes…
Darren Black
  • 1,030
  • 1
  • 9
  • 28
33
votes
4 answers

Carthage: How to get the very latest version of a given repository?

The Cartfile documentation makes the assertion: If no version requirement is given, any version of the dependency is allowed. with the contradictory example: # Use the latest version github "jspahrsummers/xcconfigs" Furthermore, it is not stated,…
Chris Conover
  • 8,889
  • 5
  • 52
  • 68
29
votes
2 answers

Change Carthage Swift version

Is it possible to change Carthage Swift version used to build the frameworks? I'm trying to migrate my project to swift 3 (on Xcode 8 beta), and the third party libraries are the only thing that stops my project from compiling. While using specific…
Nadav96
  • 1,274
  • 1
  • 17
  • 30
29
votes
3 answers

Module file was created by an older version of the compiler

Using Carthage to manage my dependencies, everything runs fine in the simulator. However, when building for a device I get the following error: Module File was created by an older version of the compiler; rebuild Alamofire and try again:…
vikzilla
  • 3,998
  • 6
  • 36
  • 57
1
2 3
31 32