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

Doesn't work in iOS earlier than 7 #15

Open
parsley72 opened this issue Mar 12, 2015 · 1 comment
Open

Doesn't work in iOS earlier than 7 #15

parsley72 opened this issue Mar 12, 2015 · 1 comment

Comments

@parsley72
Copy link

If I try using FTPKit in iOS5 I get a crash in [FTPClient setQueue]:
Thread 1: EXC_BAD_ACCESS (code=1, address=0x661af48d)

Has anyone else tried using the library in earlier versions of iOS when building against the 8.2 SDK?

@ReDetection
Copy link

Yes, I did, iOS 6 works well — and I made it required platform in the podspec.
You're getting error because in the versions of iOS prior to 6 dispatch_queue_t was not an object yet — just a struct. So if you really wanna use thus on iOS 5, you should consider changing strong property type to assign. http://stackoverflow.com/questions/8904206/what-property-should-i-use-for-a-dispatch-queue-after-arc

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