Swinject / SwinjectPropertyLoader

Swinject extension to load property values from resources
MIT License
28 stars 19 forks source link

pod install fails when using latest Swinject, SwinjectStoryboard and SwinjectPropertyLoader beta versions #5

Closed mikeseghers closed 8 years ago

mikeseghers commented 8 years ago

Since SwinjectPropertyLoader 1.0.0-beta.1 has a dependency on Swinject 2.0.0-beta.1, cocoa pods is confused when also having Swinject 2.0.0-beta.2 as a dependency in your project.

Here's an excerpt from the podfile:

pod 'Swinject', '2.0.0-beta.2'
pod 'SwinjectStoryboard', '1.0.0-beta.2'
pod 'SwinjectPropertyLoader', '1.0.0-beta.1'

and this is the output when trying pod install

Analyzing dependencies
[!] Due to the previous naïve CocoaPods resolver, you were using a pre-release version of 
`Swinject`, without explicitly asking for a pre-release version, which now leads to a conflict. 
Please decide to either use that pre-release version by adding the version requirement to
your Podfile (e.g. `pod 'Swinject', '= 2.0.0-beta.2'`) or revert to a stable version by running 
`pod update Swinject`.

neither of the suggestions work BTW. pod update Swinject gives the following (expected) outcome:

Analyzing dependencies
[!] Unable to satisfy the following requirements:

- `Swinject (= 2.0.0-beta.2)` required by `Podfile`
- `Swinject (= 2.0.0-beta.1)` required by `SwinjectPropertyLoader (1.0.0-beta.1)`
- `Swinject (= 2.0.0-beta.2)` required by `SwinjectStoryboard (1.0.0-beta.2)`
yoichitgy commented 8 years ago

SwinjectPropertyLoader 1.0.0-beta.1 can be used with Swinject 2.0.0-beta.1, which supports Xcode 7.3. Migration to Xcode 8 (GM) is in progress in pull request #3.

mikeseghers commented 8 years ago

ok, thanks