alexeyxo / protobuf-swift

Google ProtocolBuffers for Apple Swift
http://protobuf.io/#swift
Apache License 2.0
938 stars 138 forks source link

Swift 3.0 support question #185

Closed irahan888 closed 8 years ago

irahan888 commented 8 years ago

Hi, I'm new to this ProtocolBuf Swift project. I think I've updated all the tools to latest version(home-brew, cocoapods, ProtoBuf...), but still I will get the conflict syntax err w/ Swift 3.0 on Xcode, could you please help me to on this?

2016-09-23 1 00 40

my Pods install using latest protobuf

2016-09-23 1 13 20

Podfile:

2016-09-23 1 15 07

brew already installed latest protobuf

2016-09-23 1 17 09

proto.swift file are also generated by latest compiler by the way, got this no such module issue also, not sure if it's related to syntax conflict issue

2016-09-23 1 22 33
alexeyxo commented 8 years ago

What version of cocoapods are you using?

irahan888 commented 8 years ago

pod --version 1.0.1

alexeyxo commented 8 years ago

Cocoapods versions of 1.0.1 not supporting Swift.3.0. You should use version 1.1.0.rc.2.

sudo gem install cocoapods --pre
irahan888 commented 8 years ago

thanks for reply, I've tried update cocoapods, and that's worked! one more question, is this also workable by using Carthage?

alexeyxo commented 8 years ago

I think, carthage supports Siwft 3.0.