jonreid / OCMockito

Mockito for Objective-C: creation, verification and stubbing of mock objects
MIT License
991 stars 118 forks source link

Building with Carthage fails #169

Closed DivineDominion closed 1 year ago

DivineDominion commented 1 year ago

Executing

$ carthage build --no-skip-current

fails; similarly, using OCMockito as a dependency via Carthage fails.

DivineDominion commented 1 year ago

Building passes when Frameworks/gethamcrest is executed first. So the build process depends on the presence of that binary download. This affects Carthage, the only dependency manager that uses the Xcode project and its build settings, and thus suffers from this path being hard-coded.

Possible ways out:

The latter creates inconsistencies in the dependency, though, since currently it'd download OCHamcrest 9.0.1 for the Xcode project, meanwhile Carthage fetches v8 during the resolution. See #170