[Aerogear-users] Compile with latest Cocoapods

Corinne Krych corinnekrych at gmail.com
Fri Jan 8 03:01:12 EST 2016


Hi

Looking into aerogear-ios-sync-client release it seems 1.0.0-alpha.3 (which
update to Swift 2 syntax) did not make it to cocoapods although we did have
a tag for it [1].
1.0.0-alpha.2 (the latest on cocoapods is still on Swift 1.2 syntax).
I'm going to release 1.0.0-alpha.3 shortly in the meantime (as a work
around), please us the latest git master version as shown [2].

++
Corinne
[1] https://github.com/aerogear/aerogear-ios-sync-client/tree/1.0.0-alpha.3
[2]
https://github.com/aerogear/aerogear-ios-cookbook/blob/master/Jedi/JsonPatchSync/Podfile#L7

On 8 January 2016 at 08:39, Nataniel Martin <nmartin at appstud.me> wrote:

> Hi,
> Thanks for your response.
>
> It’s still not working with this configuration:
>
> *PODFILE:*
>
> source 'https://github.com/CocoaPods/Specs.git'
>
> platform :ios, '8.0'
> platform :ios, :deployment_target => '8.0'
> xcodeproj 'TestAerogear.xcodeproj'
> use_frameworks!
>
> pod '*AeroGearSyncClient*'
> pod '*Starscream*', '~> 1.0’
>
>>
> *POD INSTALL:*
>
> CocoaPods 1.0.0.beta.2 is available.
> To update use: `gem install cocoapods --pre`
> [!] This is a test version we'd love you to try.
>
> For more information see http://blog.cocoapods.org
> and the CHANGELOG for this version http://git.io/BaH8pQ.
>
> Analyzing dependencies
> [!] Unable to satisfy the following requirements:
>
> - `Starscream (~> 1.0)` required by `Podfile`
> - `Starscream (= 0.9.3)` required by `Podfile.lock`
>
> Specs satisfying the `Starscream (= 0.9.3)` dependency were found, but
> they required a higher minimum deployment target.
>
> On 07 Jan 2016, at 17:34, Corinne Krych <corinnekrych at gmail.com> wrote:
>
> Hello Nataniel,
>
> By the look of the errors it seems the Swift syntax of starscream is not
> using Swift 2. This is hinted by the error on 'join' (Swift1.0 syntax)
> whereas joinWithSeparator() is Swift 2 syntax).
> In Podfile[1] check you're pointing to starscream 1.0.2+ or latest version
> on master. Previous version of the lib used Swift 1 syntax.
>
> ++
> Corinne
> [1]
> https://github.com/aerogear/aerogear-ios-sync-client/blob/master/Podfile#L8
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
>
> _______________________________________________
> Aerogear-users mailing list
> Aerogear-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/aerogear-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/aerogear-users/attachments/20160108/3b464283/attachment-0001.html 


More information about the Aerogear-users mailing list