react-native-schemes-manager
react-native-schemes-manager copied to clipboard
hide-library-schemes has no effect
Environment Xcode 10.1 Node v8.15.0 (via NVM 0.33.5) macOS Mojave 10.14.2 (18C54)
Steps to reproduce the behavior
run react-native-schemes-manager hide-library-schemes
see output
Expected behavior
run react-native-schemes-manager hide-library-schemes
see less library schemes
Actual behavior
If you watch the changes to the project files, they should still be made. Usually XCode won't actually update visually until you close it and re-open it.
So try these steps and let me know if it solves your problem:
- Completely quit XCode
- Run the
all
command - Open the project in XCode again
If that doesn't help, please provide the terminal output of running the all
command so I can have a crack at seeing what's going on.
I'll go ahead and assume this resolved the issue for you. If not, please let me know, happy to help!
Well, it does not have any effect on my side. Tried everything from deleting derivedata folders, to clearing caches, to full git clone of the project. I will try to reproduce it on a small / fresh project and post the link to the repo
Same here. No effect. Closed Xcode before runnnig. RN 59.10 XCode Version 10.2 (10E125)
@kg-currenxie or @mlostekk are either of you able to provide a reproduction case? I can't replicate this.
I'll try this weekend :)
@kg-currenxie I'd be curious to hear about your findings, because I'm seeing the same issue – the command has no effect whatsoever for me.
Here's my test repo: https://github.com/kg-currenxie/schemas-test-react-native
-
yarn
-
react-native-link
- Check XCode, all schemas visible
-
yarn run fix-code
(runsreact-native-schemes-manager hide-library-schemes
) - Schemas still visible
Note; I'm using custom schemas, and not a default RN-project one (Debug
).
Do the schemes you want to change end in .xcscheme_^#shared#^_
?
The project got on-hold, and recently picked up. Now using RN 0.61.x (Still XCode 10.2) and suddenly it works fine. Not sure why 🤷♂ but the it's not an issue for me anymore :)