question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

ld: warning: meta method 'UIDatePickerMode:' in category

See original GitHub issue

Describe the bug A warning on the latest 3.0.2 where the meta method ‘UIDatePickerMode’ is duplicated exactly like the React-Native Core ‘UIDatePickerMode’, this causes a warning that I can seem to fix or suppress. Is there a way to change the name of the method so it doesn’t clash with that one. Is there a way to suppress warnings like this

Expected behavior No warnings … No method duplications

To Reproduce Add example code that reproduces the behavior.

export default class App extends Component {

  state = { date: new Date() }

  render = () =>
    <DatePicker
      date={this.state.date}
      onDateChange={date => this.setState({ date })}
    />

}

Smartphone (please complete the following information):

  • OS: [iOS]
  • React Native version [e.g. 0.62.2]
  • react-native-date-picker version [e.g. 3.0.2]

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:8 (3 by maintainers)

github_iconTop GitHub Comments

5reactions
henninghallcommented, Jul 30, 2020

I have replicated the warning but it doesn’t seem to affect the usage. Do you mean that you have issues compiling or using the picker?

5reactions
henninghallcommented, Jul 23, 2020

Which version of Xcode and iOS are you using?

Read more comments on GitHub >

github_iconTop Results From Across the Web

iOS linker warning about duplicate method implementations
I'm seeing this warning from the native linker: ld: warning: meta method 'UIDatePickerMode:' in category from ...
Read more >
ios - Category Conflict: instance method in ... - Stack Overflow
I had this warnings because I accidentally imported the implementation file of a category instead of it's header file. So:.
Read more >
react-native-date-picker: Versions - Openbase
Full version history for react-native-date-picker including change logs.
Read more >
元方法uiscrollviewcontentinsetadjustmentbehavior in category from ...
我从本机链接器看到此警告:ld: warning: meta method ' UIDatePickerMode:' in category from Q:我如何确保这些方法在一个类别中不会与原始类中的方法发生冲突?
Read more >
ios-ko.pdf - RIP Tutorial
If your application supports background execution, this method is called instead of ... class ViewController: UIViewController,CLLocationManagerDelegate {}.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found