Exception '-[NSException localizedDescription]: unrecognized selector sent to instance 0x60000083bf00' was thrown while invoking set on target RNCookieManagerIOS
See original GitHub issueQuestion
I have tried set() method from example and it gives me: “Exception ‘-[NSException localizedDescription]: unrecognized selector sent to instance 0x60000083bf00’ was thrown while invoking set on target RNCookieManagerIOS”
For example:
const newCookie = {
name: 'myCookie',
value: 'myValue',
domain: 'some domain',
path: '/',
version: '1',
expires: '2015-05-30T12:30:00.00-05:00',
};
const useWebKit = true;
CookieManager.set('http://example.com', newCookie, useWebKit).then(
(res) => {
console.log('CookieManager.set from webkit-view =>', res);
},
);
I am using iOS ver 13.0. In package.json: “@react-native-community/cookies”: “^3.0.0”, “react-native”: “^0.62.2”,
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
unrecognized selector sent to instance ... was thrown while ...
I'm using a library in my react-native project where I'm getting this error enter image description here.
Read more >“Unrecognized selector sent to ins… | Apple Developer Forums
I am trying to create a DropDownMenu class, but when I try to call addTarget to a UIButton this error comes up... 'unrecognized...
Read more >Unrecognized Selector Sent To Instance Was Thrown While ...
localizedDescription ]: unrecognized selector sent to instance 0x60000083bf00' was thrown while invoking set on target RNCookieManagerIOS For exam.
Read more >Fixing "Unrecognized Selector Sent To Instance" Error In Xcode
Since the selector is another name for the method, the error is basically saying that it doesn't recognize the function that you're trying...
Read more >Ionic emulate ios - [__NSArrayM localizedDescription ...
However when I try to launch the iOS emulator with "ionic emulate … ... localizedDescription]: unrecognized selector sent to instance ...
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 FreeTop 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
Top GitHub Comments
@focux I used it in a wrong way cause documentation wasn’t clear for me Try to do it this way and it’ll work, a cookie with name ‘test’ and value ‘test’ will be created
@oferRounds Check out this issue https://github.com/react-native-community/cookies/issues/59 let me know if the discussion there is similar to what you are experiencing