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

Unable to use it with Objective-C project #45

Open
AnthoPakPak opened this issue Oct 9, 2017 · 2 comments
Open

Unable to use it with Objective-C project #45

AnthoPakPak opened this issue Oct 9, 2017 · 2 comments

Comments

@AnthoPakPak
Copy link

Hi,

Is there any additional step require to use this with an Objective-C project (with manual install, and no previous Swift support) ?
The demo is made with a .xcworkspace. It works well. But what if I want to use it in a classic .xcodeproj project ?

I've imported PullToDismiss.framework into my project, and start using PullToDismiss where I want. After some errors and Googling, I succeeded in launching the project on simulator.
But, even with adding framework to build phases, linked libraries, and embedded libraries, I get a linker error when trying to launch on device.

I know that linker error comes when implementation isn't found. But, how could it work in simulator (the scrollview behaves with PullToDismiss), whereas it couldn't launch at all on device ?

I've tried a lot of things, as changing @import PullToDismiss; to #import <PullToDismiss/PullToDismiss-Swift.h>, delete app from device, cleaning project, etc…

Thanks a lot for your help !! ;)

@maestrovsmaster
Copy link

I know answer:
github "sgr-ksmt/PullToDismiss" ~> 2.2
+last version x-code + swift 5

@gannasong
Copy link

Hi, I've tried install version 2.2, last version Xcode and Swift 5 but still can't import PullToDismiss in objc project.
Do you have any answers?

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

3 participants