bamlab/generator-rn-toolbox

yo rn-toolbox:assets command hangs

tamhv opened this issue · 2 comments

tamhv commented
$ yo rn-toolbox:assets --splash ./icons/4648x4648.png --ios
? Name of your react-native project MyProject
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-667h@2x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-568h@2x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default@2x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Portrait.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Landscape.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Landscape-736h@3x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Landscape-812h@3x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Portrait-736h@3x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Portrait@2x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Portrait-812h@3x.png
Wrote ./ios/MyProject/Images.xcassets/LaunchImage.launchimage/Default-Landscape@2x.png
identical ios/MyProject/Images.xcassets/LaunchImage.launchimage/Contents.json
 conflict ios/MyProject.xcodeproj/project.pbxproj
? Overwrite ios/MyProject.xcodeproj/project.pbxproj? (ynaxdH) 

and i can't type y,n,x ... or anything to finish it, seem i can't say YES for the overwrite ...question

macOS mojave 10.14.4
$ node -v
v10.15.3
$ npm show yo version
2.0.6
$ npm show generator-rn-toolbox version
3.11.1
$ gem list | grep 'bundler'
bundler (2.0.2)
tamhv commented

--force i just found out this param, it helps me get over this for now
yo rn-toolbox:assets --splash ./icons/4648x4648.png --ios --force

Hello, we just revamped the generator 😁

For up to date icon and splashscreen generation please use @bam.tech/react-native-make

The new version is Yeoman free and uses the standard React-Native cli plugin architecture so it should solve your issue 😉