<div dir="ltr">Hello Nataniel,<div><br></div><div>I use Xcode 7.2, cocoapods 0.39.0 like you and I faced the same issue.</div><div><br></div><div>To sort out the issue, I've defined a new podspec for the ObjC dependencies JSONTools and KiteValidator. Mainly, I rework the import statement and define a modulemap for both libraries. </div><div><br></div><div>As we don't directly own the libs I'll issue a PR and start the discussion. Once it's merged we can do a new cocoapods release. In the mean time, you can try it with these fork/branch, in your Podfile, try [1]. Let me know how it goes for you.</div><div><br></div><div>++</div><div>Corinne.</div><div>[1] <a href="https://github.com/corinnekrych/aerogear-ios-cookbook-1/blob/8cea70682c2e57028100405fca1171343b07b5be/Jedi/JsonPatchSync/Podfile#L7-L10">https://github.com/corinnekrych/aerogear-ios-cookbook-1/blob/8cea70682c2e57028100405fca1171343b07b5be/Jedi/JsonPatchSync/Podfile#L7-L10</a></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 11 January 2016 at 09:42, Nataniel Martin <span dir="ltr"><<a href="mailto:nmartin@appstud.me" target="_blank">nmartin@appstud.me</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>By the way Corrinne,</div>
<div><br>
</div>
<div>What version of Xcode / SWIFT are you using ?</div>
<div><br>
</div>
<div>FYI I’m using Xcode 7.2 + Swift 2.1.</div>
<div><br>
</div>
<div>Seems that flags are not correctly set.</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Nataniel</div><div><div class="h5">
<br>
<div>
<blockquote type="cite">
<div>On 11 Jan 2016, at 11:54, Nataniel Martin <<a href="mailto:nmartin@appstud.me" target="_blank">nmartin@appstud.me</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi !
<div><br>
</div>
<div>Any news on these errors ?</div>
<div><br>
</div>
<div>I tried a few things on it, but I can’t make it compile :(</div>
<div><br>
</div>
<div>Looking forward reading to reading from you.</div>
<div><br>
</div>
<div>Nataniel.</div>
<div><br>
<div>
<blockquote type="cite">
<div>On 08 Jan 2016, at 15:02, Nataniel Martin <<a href="mailto:nmartin@appstud.me" target="_blank">nmartin@appstud.me</a>> wrote:</div>
<br>
<div>
<div style="word-wrap:break-word">
Hi,
<div><br>
</div>
<div>It’s seems to be better that way !</div>
<div><br>
</div>
<div>It would like to point you out that with this workaround, even with the Jedi Demo project, there are two errors while building the project:</div>
<div><br>
</div>
<div><span><Screen Shot 2016-01-08 at 14.52.05.png></span></div>
<div><br>
</div>
<div>It seems that the import of JSONTools file is not correctly bridged for AeroGearSyncJsonPatch.</div>
<div><br>
</div>
<div>Best regards,</div>
<div><br>
</div>
<div>Nataniel </div>
<div><br>
</div>
<div>
<div>
<blockquote type="cite">
<div>On 08 Jan 2016, at 12:44, Corinne Krych <<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi Nataniel
<div><br>
</div>
<div>Sorry my bad the pod on master are expressed slightly different (no subpod anymore) see correct syntax [1]. Replace AeroGearSyncClient by AeroGearSyncClientJsonPatch. </div>
<div>This is a workaround until i do proper release.</div>
<div>++</div>
<div>Corinne</div>
<div>[1] <a href="https://github.com/aerogear/aerogear-ios-cookbook/blob/master/Jedi/JsonPatchSync/Podfile#L7" target="_blank">https://github.com/aerogear/aerogear-ios-cookbook/blob/master/Jedi/JsonPatchSync/Podfile#L7</a></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 8 January 2016 at 09:15, Nataniel Martin <span dir="ltr">
<<a href="mailto:nmartin@appstud.me" target="_blank">nmartin@appstud.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>The cocoa pod version is: </div>
<div><b>0.39.0</b></div>
<div><b><br>
</b></div>
<div>It’s the latest, not the last beta version that is 1.0.0.beta.2</div>
<div><br>
</div>
<div>Regards,</div>
<div>Nataniel</div>
<div>
<div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>On 08 Jan 2016, at 12:10, Corinne Krych <<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Which cocoapods version are you on?
<div>++</div>
<div>Corinne</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 8 January 2016 at 09:08, Nataniel Martin <span dir="ltr">
<<a href="mailto:nmartin@appstud.me" target="_blank">nmartin@appstud.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">Hi,
<div><br>
</div>
<div>Thanks for the swift reply :)</div>
<div><br>
</div>
<div>Looking forward for the new version !</div>
<div><br>
</div>
<div>But using the exemple in [2] such as:</div>
<div><br>
</div>
<div><span>
<div><i><b>source '<a href="https://github.com/CocoaPods/Specs.git'" target="_blank">https://github.com/CocoaPods/Specs.git'</a></b></i></div>
<div><i><b><br>
</b></i></div>
<div><i><b>platform :ios, '8.0'</b></i></div>
<div><i><b>platform :ios, :deployment_target => '8.0'</b></i></div>
<div><i><b>xcodeproj 'TestAerogear.xcodeproj'</b></i></div>
<div><i><b>use_frameworks!</b></i></div>
<div><i><b><br>
</b></i></div>
</span>
<div><i><b>pod 'AeroGearSyncClient', :git => '<a href="https://github.com/aerogear/aerogear-ios-sync-client'" target="_blank">https://github.com/aerogear/aerogear-ios-sync-client'</a></b></i></div>
</div>
<div><br>
</div>
<div>Still give me some errors like these:</div>
<div><br>
</div>
<div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">
Analyzing dependencies</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">
Pre-downloading: `AeroGearSyncClient` from `<a href="https://github.com/aerogear/aerogear-ios-sync-client" target="_blank">https://github.com/aerogear/aerogear-ios-sync-client`</a></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">
[!] Unable to find a specification for 'AeroGearSyncClient'.</div>
</div>
<div><br>
</div>
<div>I think the problem is related when you lint the pod.</div>
<div><br>
</div>
<div>Best regards ! </div>
<div>
<div>
<div><br>
<div>
<blockquote type="cite">
<div>On 08 Jan 2016, at 12:01, Corinne Krych <<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hi
<div><br>
</div>
<div>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].</div>
<div>1.0.0-alpha.2 (the latest on cocoapods is still on Swift 1.2 syntax).<br>
</div>
<div>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].</div>
<div><br>
</div>
<div>++</div>
<div>Corinne</div>
<div>[1] <a href="https://github.com/aerogear/aerogear-ios-sync-client/tree/1.0.0-alpha.3" target="_blank">
https://github.com/aerogear/aerogear-ios-sync-client/tree/1.0.0-alpha.3</a></div>
<div>[2] <a href="https://github.com/aerogear/aerogear-ios-cookbook/blob/master/Jedi/JsonPatchSync/Podfile#L7" target="_blank">
https://github.com/aerogear/aerogear-ios-cookbook/blob/master/Jedi/JsonPatchSync/Podfile#L7</a></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 8 January 2016 at 08:39, Nataniel Martin <span dir="ltr">
<<a href="mailto:nmartin@appstud.me" target="_blank">nmartin@appstud.me</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div>Hi,</div>
<div>Thanks for your response.</div>
<div><br>
</div>
<div>It’s still not working with this configuration:</div>
<div><br>
</div>
<div><b>PODFILE:</b></div>
<div><br>
</div>
<div>
<div>source '<a href="https://github.com/CocoaPods/Specs.git'" target="_blank">https://github.com/CocoaPods/Specs.git'</a></div>
<div><br>
</div>
<div>platform :ios, '8.0'</div>
<div>platform :ios, :deployment_target => '8.0'</div>
<div>xcodeproj 'TestAerogear.xcodeproj'</div>
<div>use_frameworks!</div>
<div><br>
</div>
<div>pod '<b>AeroGearSyncClient</b>'</div>
<div>pod '<b>Starscream</b>', '~> 1.0’</div>
</div>
<div><br>
</div>
<div>—</div>
<div><br>
</div>
<div><b>POD INSTALL:</b></div>
<div><b><br>
</b></div>
<div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)">
CocoaPods 1.0.0.beta.2 is available.</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)">
To update use: `gem install cocoapods --pre`</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(175,173,36);background-color:rgb(0,0,0)">
[!] This is a test version we'd love you to try.</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:14px">
<br>
</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)">
For more information see <a href="http://blog.cocoapods.org/" target="_blank">
http://blog.cocoapods.org</a></div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(52,189,38);background-color:rgb(0,0,0)">
and the CHANGELOG for this version <a href="http://git.io/BaH8pQ" target="_blank">
http://git.io/BaH8pQ</a>.</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:14px">
<br>
</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0)">
Analyzing dependencies</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">
[!] Unable to satisfy the following requirements:</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:14px">
<br>
</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">
- `Starscream (~> 1.0)` required by `Podfile`</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">
- `Starscream (= 0.9.3)` required by `Podfile.lock`</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(245,245,245);background-color:rgb(0,0,0);min-height:14px">
<br>
</div>
<div style="margin:0px;font-size:10px;line-height:normal;font-family:Monaco;color:rgb(195,55,32);background-color:rgb(0,0,0)">
Specs satisfying the `Starscream (= 0.9.3)` dependency were found, but they required a higher minimum deployment target.</div>
</div>
<br>
<div>
<blockquote type="cite">
<div>
<div>
<div>On 07 Jan 2016, at 17:34, Corinne Krych <<a href="mailto:corinnekrych@gmail.com" target="_blank">corinnekrych@gmail.com</a>> wrote:</div>
<br>
</div>
</div>
<div>
<div>
<div>
<div dir="ltr">
<div class="gmail_extra">
<div dir="ltr" style="font-size:12.8px">Hello Nataniel,
<div><br>
</div>
<div>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).</div>
<div>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.</div>
<div><br>
</div>
<div>++</div>
<div>Corinne</div>
<div>[1] <a href="https://github.com/aerogear/aerogear-ios-sync-client/blob/master/Podfile#L8" target="_blank">https://github.com/aerogear/aerogear-ios-sync-client/blob/master/Podfile#L8</a><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<span>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</span></div>
</blockquote>
</div>
<br>
</div>
<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<br>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org" target="_blank">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
</div>
</blockquote>
</div>
<br>
</div></div></div>
<br>_______________________________________________<br>
Aerogear-users mailing list<br>
<a href="mailto:Aerogear-users@lists.jboss.org">Aerogear-users@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/aerogear-users" rel="noreferrer" target="_blank">https://lists.jboss.org/mailman/listinfo/aerogear-users</a><br>
<br></blockquote></div><br></div>