Skip to content
This repository was archived by the owner on Nov 13, 2025. It is now read-only.
This repository was archived by the owner on Nov 13, 2025. It is now read-only.

duplicate symbol _KNSemiModalTransitionStyle in: #33

Closed

Description

@johnny51925

Wt's going if I import the .h file

import <THDatePickerViewController.h>

It will build fail
duplicate symbol _KNSemiModalTransitionStyle in:

Why duplicate symbol?

Activity

  1. hons82 commented on Jul 12, 2015

    @hons82
    Owner

    That’s coming from the KNSemiModalView.
    Did you import that twice?

    Try to search for “KNSemiModalTransitionStyle” in your project. Maybe you’ll find that twice.
    And check your build settings. Maybe you import that header twice.

    Its hard to guess whats wrong in your project with that tiny bit of information

    ~Hons

    On 12 Jul 2015, at 14:24, johnny51925 notifications@github.com wrote:

    Wt's going if I import the .h file

    #import

    It will build fail
    duplicate symbol _KNSemiModalTransitionStyle in:

    Why duplicate symbol?

    —
    Reply to this email directly or view it on GitHub #33.

  2. montegoulding commented on Sep 26, 2015

    @montegoulding

    I bumped into the same issue. The problem is in KNSemiModalViewController:

    NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
        KNSemiModalTransitionStyleSlideUp,
        KNSemiModalTransitionStyleFadeInOut,
        KNSemiModalTransitionStyleFadeIn,
        KNSemiModalTransitionStyleFadeOut,
    };
    

    should be

    typedef NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
        KNSemiModalTransitionStyleSlideUp,
        KNSemiModalTransitionStyleFadeInOut,
        KNSemiModalTransitionStyleFadeIn,
        KNSemiModalTransitionStyleFadeOut,
    };
    

    There is already an open PR on this kentnguyen/KNSemiModalViewController#71 but KNSemiModalViewController appears to be unmaintained as the last commit was well over a year ago...

  3. hons82 commented on Sep 27, 2015

    @hons82
    Owner

    Hmmm...
    So there are basically two options

    1. we try to contact the developer to ask for an admin account on the repo
    2. I copy the repo and publish it under a new name

    ~hons

    Sent from my iPad

    On 27 Sep 2015, at 00:51, Monte Goulding notifications@github.com wrote:

    I bumped into the same issue. The problem is in KNSemiModalViewController:

    NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
    KNSemiModalTransitionStyleSlideUp,
    KNSemiModalTransitionStyleFadeInOut,
    KNSemiModalTransitionStyleFadeIn,
    KNSemiModalTransitionStyleFadeOut,
    };
    should be

    typedef NS_ENUM(NSUInteger, KNSemiModalTransitionStyle) {
    KNSemiModalTransitionStyleSlideUp,
    KNSemiModalTransitionStyleFadeInOut,
    KNSemiModalTransitionStyleFadeIn,
    KNSemiModalTransitionStyleFadeOut,
    };
    There is already an open PR on this kentnguyen/KNSemiModalViewController#71 but KNSemiModalViewController appears to be unmaintained as the last commit was well over a year ago...

    —
    Reply to this email directly or view it on GitHub.

  4. andres-cianio commented on Jul 3, 2016

    @andres-cianio

    Cool @hons82 !
    I'll move on to your repo as well :D
    Thanks!

  5. added a commit that references this issue on Jan 16, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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