I've reverted to 6.3 for the P2P testing of the PhotoDrop app. So it compiles just fine now.
I've not been able to get it to work though. After the QR code is scanned from my iPhone 6 to my iPhone 6+, I just eventually get a timeout error sometime after the listener has started: *CBLRemoteJSONRequest[GET https://iPhone-6-Plus.local:54734/db/_local/0253a83e5ef3796a22adea200a869db0106a2f5a]: Got error Error Domain=NSURLErrorDomain Code=-1001 "The request timed out." UserInfo=0x14ced6370 {NSUnderlyingError=0x14ced44b0 "The request timed out.", NSErrorFailingURLStringKey=https://iphone-6-plus.local:54734/db/_local/0253a83e5ef3796a22adea200a869db0106a2f5a, NSErrorFailingURLKey=https://iphone-6-plus.local:54734/db/_local/0253a83e5ef3796a22adea200a869db0106a2f5a, _kCFStreamErrorDomainKey=4, _kCFStreamErrorCodeKey=-2102, NSLocalizedDescription=The request timed out.}* I originally thought it was due to using http for the connection because iOS 9 doesn't allow that anymore, so I turned on self signed SSL connections. No problems there, but just nothing happening between the two devices and nothing obvious in the logs. The last thing the listener displays is: *2015-06-11 17:19:13.093 PhotoDrop[525:322749] HTTPServer: Started HTTP server on port 54734* And then eventually the iPhone 6 displays in the log the timeout error and displays Sending Abort in the view. Could it be an iOS 9 issue whereby it's not letting anything connect? Seems like it should be fine since it's a high port number. I'm on the same WiFi network on both devices. Sorry for hijacking this thread, but I saw the comment on here and this seemed relevant to the discussion. Thanks, Brendan On Thursday, June 11, 2015 at 2:12:47 PM UTC-6, Jens Alfke wrote: > > > On Jun 11, 2015, at 12:09 PM, Brendan Duddridge <[email protected] > <javascript:>> wrote: > > Noticed the P2P PhotoDrop example doesn't compile for iOS 9 or Xcode 7. An > objective-c example would be helpful too. I've dabbled in Swift, but not > really fluent in it yet. > > > Most Swift code will require fixup to compile in Swift 2. Did you let > Xcode update the Swift syntax? > > (Also note that you can Xcode 6.3 and Xcode 7 installed simultaneously, > since they’re both just apps. I am switching back and forth between them, > and probably will until Xcode 7 goes final.) > > —Jens > -- You received this message because you are subscribed to the Google Groups "Couchbase Mobile" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/mobile-couchbase/f4c5fae0-6085-4864-92d2-ffeb1217bf5f%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
