Open juraj-blahunka opened 5 years ago
We don't have a direct dependency on OCMock in EarlGrey. Could this be tweaked so that OCMock gets built only at one of the steps?
carthage build --platform iOS --cache-builds EarlGrey
Why is OCMock being built here?
carthage build --platform iOS --cache-builds EarlGrey
Why is OCMock being built here?
I haven't investigated, however this is what happens in a clean project with a single EarlGrey
dependency in Cartfile
.
Xcode 10.2 Build version 10E125
Cartfile:
Let's initialize
Cartfile.resolved
via update, but not build yet:$ carthage update --no-build
Cartfile.resolved:
At this point, the
Carthage/Checkouts/EarlGrey
folder has been populated with the following:Let's try building the framework:
which produces the following in
Carthage/Build/iOS
:However there is no
OCMock
! When I inspect the checkout folders, I can now see a new entryOCHamcrest.framework
:Let's rebuild the framework:
Suddenly the
OCMock
framework appears in theCarthage/Build/iOS
folder: