Closed Bug 1132795 Opened 10 years ago Closed 10 years ago

Use Carthage for dependency management

Categories

(Firefox for iOS :: Build & Test, defect)

All
iOS 8
defect
Not set
normal

Tracking

()

RESOLVED FIXED

People

(Reporter: bnicholson, Assigned: bnicholson)

Details

Attachments

(1 file)

47 bytes, text/x-github-pull-request
st3fan
: review+
nalexander
: review+
Details | Review
Carthage is a dependency management that works with dynamic frameworks. The long-term goal of Carthage is to build frameworks that can be imported into the project, but there are some issues with building now. For one, several of the projects we're using (KIF, SWXMLHash, and GCDWebServer) don't have shared dynamic frameworks. Secondly, there's a copy-frameworks hack mentioned in https://github.com/Carthage/Carthage that I'd prefer to avoid. Thankfully, Carthage has a --no-build option that simply pulls in the depencies without trying to build them, which is useful while Carthage is still in its infancy and the build issues are being resolved. Some discussion on --no-build here: https://github.com/Carthage/Carthage/issues/174
Attached file Pull request
Stefan, flagging you since you recommended looking at Carthage and should know how to fix Travis integration. Nick, flagging you since you're usually interested in build-related things!
Attachment #8563891 - Flags: review?(sarentz)
Attachment #8563891 - Flags: review?(nalexander)
Comment on attachment 8563891 [details] [review] Pull request This is good stuff but we have a bunch of issues to work out before we can land this. See the comments on Github. I also filed an issue in the Carthage project to find out how to deal with our more complicated build config.
Comment on attachment 8563891 [details] [review] Pull request This seems sensible to me. I will try to get SwiftKeychainWrapper into Carthage, but it may not be the right fit since I want to apply some local modifications. Perhaps upstream will be interested, or perhaps I (mozilla?) will host the forked repo on GH and we can make that the Carthage endpoint. I needed to purge my derived data directory, but then my build succeed and all tests passed (including KIF tests, which I had not run before).
Attachment #8563891 - Flags: review?(nalexander) → review+
Merged...let's see what happens.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Attachment #8563891 - Flags: review?(sarentz) → review+
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: