简体   繁体   English

根据计划修改应用传输安全性

[英]Modify App Transport Security based on Scheme

How do I modify App Transport Security settings in the Info.plist file based on the scheme? 如何根据方案在Info.plist文件中修改App Transport Security设置?

For example, I want to turn off ATS in my debug/enterprise schemes whereas I need ATS turned on in release scheme. 例如,我想在调试/企业方案中关闭ATS,而我需要在发布方案中打开ATS。 How do I do this? 我该怎么做呢?

使用搜索栏旁边的+按钮在“构建设置”中创建新的用户定义设置,根据您的方案对其进行自定义,然后在Info.plist中使用该键。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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