Skip to content

Unable to use it with Objective-C project #45

Description

@AnthoPakPak

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 !! ;)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions