Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
ankathiriya opened this issue Jun 24, 2019 · 7 comments
Open

Comments

@ankathiriya
Copy link

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

@bxem44
Copy link

bxem44 commented Jun 25, 2019

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.

@ankathiriya
Copy link
Author

ohk let me try

@ankathiriya
Copy link
Author

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

@bxem44
Copy link

bxem44 commented Jun 25, 2019

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.

@ankathiriya
Copy link
Author

Yes sure let me try

@ankathiriya
Copy link
Author

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

@bxem44
Copy link

bxem44 commented Jun 28, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants