简体   繁体   中英

How to save changes in info.plist in react-native project

I use react-native '0.62.2' and i have some changes that i need to save in 'info.plist'.

My problem is when i do pod install all the changes are discard.

I would like to know if there some solution for this situation.

I know that with 'node_modules' this npm package can help so i wonder if there is some thing for info.plist too.

Thank you in advance.

So you are probably changing an info.plist file of one of your pods (ie inside your pod folder) instead of the one for your project.

Go to the ios folder, your project folder, and there is the info.plist for your project.

It may be easier to edit if you open xcode and edit it there.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM