ld: warning: meta method 'UIDatePickerMode:' in category
See original GitHub issueDescribe 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:
- Created 3 years ago
- Comments:8 (3 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
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?
Which version of Xcode and iOS are you using?