christophhagen / LibSignalProtocolSwift

A Swift implementation of the Signal Protocol

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Value of type 'UnsafeMutablePointer<_>' has no member 'dataPtr'

ankathiriya opened this issue · comments

I just create new project and install pod "pod 'LibSignalProtocolSwift'" after successfully install I try to build project but I'm getting this issue.

My Xcode version is 10.1 and I'm complied project with swift 4.2.
Screenshot 2019-06-24 at 11 04 06 PM

Looking forward to solution,
Thanks

I don't know what went wrong with your pods, but if you need a quick fix you can use keyPtr.baseAddress!.assumingMemoryBound(to: UInt8.self) instead of keyPtr.dataPtr.

ohk let me try

Screenshot 2019-06-25 at 12 11 37 PM
still its not working :(

Hmm try to call pod update instead of pod install to make sure Curve25519 version 1.1 is installed. dataPtr was introduced in version 1.1. Let me know if this works.

Yes sure let me try

@BaranEm still I'm facing same issue could you please check.
Screenshot 2019-06-27 at 6 06 10 PM

That's strange. Try to remove Cocoapods from your project and reintegrate it.