有没有更简单的方法来更改应用程序ID和名称? [英] Is there an easier way to change application ID and name?

查看:646
本文介绍了有没有更简单的方法来更改应用程序ID和名称?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经分叉了现有的本机应用程序,该应用程序已经上载到appstore,并且我想基于此应用程序创建另一个应用程序.我找不到使用应用程序名称更改捆绑包ID的任何参考.

I have forked existing react-native application which is already uploaded to appstore and I want to create another application based on this application. I couldn't find any references on changing bundle ID with Application name.

我尝试使用iOS文件夹中的全局替换手动将oldAppName替换为newAppName,但是在替换,清理,重新安装后,我无法使用react-native run-ios运行该应用程序,这是说我应该尝试构建XCode查看更多详细的错误,但在XCode项目中运行正常.

I have tried to manually replace oldAppName to newAppName with global replace in iOS folder, but after replacing, cleaning, reinstalling, I cannot run the app with react-native run-ios it's saying that I should try to build with XCode to see more detailed error, but in XCode project is running fine.

P.S这是我更换oldAppName后重新设置,清除并重新安装的方法:

P.S This is how I reset, clear and reinstall after replacing oldAppName:

watchman watch-del-all &&  rm -rf node_modules && rm -rf $TMPDIR/react-* && rm -rf $TMPDIR/haste-map-react-native-packager-* && yarn cache clean && cd ios && rm -rf Pods && rm -rf assets && rm -rf build && pod cache clean --all && cd .. && rm -rf /tmp/metro-bundler-cache-*

yarn install && cd ios && pod install && cd ..

react-native bundle --platform ios --entry-file index.js --dev false --bundle-output ios/main.jsbundle --assets-dest ios

我需要从分叉的应用程序中分离出来,以获取FireBase的新捆绑程序ID,并且没有对旧应用程序的引用.

All I need is detach from forked app to get new bundler ID for FireBase and have no references left to old application.

有什么建议还是应该继续做下去?

Any suggestions or should I just continue with the way I was doing it?

推荐答案

这是您要搜索的链接.寻找它.

这篇关于有没有更简单的方法来更改应用程序ID和名称?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆