[Aerogear-users] Compile with latest Cocoapods

Nataniel Martin nmartin at appstud.me
Fri Jan 8 03:15:19 EST 2016


The cocoa pod version is:
0.39.0

It’s the latest, not the last beta version that is 1.0.0.beta.2

Regards,
Nataniel

On 08 Jan 2016, at 12:10, Corinne Krych <corinnekrych at gmail.com<mailto:corinnekrych at gmail.com>> wrote:

Which cocoapods version are you on?
++
Corinne

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

Thanks for the swift reply :)

Looking forward for the new version !

But using the exemple in [2] such as:

source 'https://github.com/CocoaPods/Specs.git'

platform :ios, '8.0'
platform :ios, :deployment_target => '8.0'
xcodeproj 'TestAerogear.xcodeproj'
use_frameworks!

pod 'AeroGearSyncClient', :git => 'https://github.com/aerogear/aerogear-ios-sync-client'

Still give me some errors like these:

Analyzing dependencies
Pre-downloading: `AeroGearSyncClient` from `https://github.com/aerogear/aerogear-ios-sync-client`<https://github.com/aerogear/aerogear-ios-sync-client>
[!] Unable to find a specification for 'AeroGearSyncClient'.

I think the problem is related when you lint the pod.

Best regards !

On 08 Jan 2016, at 12:01, Corinne Krych <corinnekrych at gmail.com<mailto:corinnekrych at gmail.com>> wrote:

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<mailto: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<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<mailto: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<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto:Aerogear-users at lists.jboss.org>
https://lists.jboss.org/mailman/listinfo/aerogear-users


_______________________________________________
Aerogear-users mailing list
Aerogear-users at lists.jboss.org<mailto: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/0a849e8e/attachment.html 


More information about the Aerogear-users mailing list