目录
Project:包含了项目所有的代码,资源文件,所有信息。
Target:对指定代码和资源文件的具体构建方式。
Scheme:对指定Target的环境配置。
target方式
第一步:复制一个target
第二步:修改target名称
第三步:创建一个新的AppIcon-Dev
第四步:新target配置AppIcon-Dev
第五步:新target配置info.plist
第六步:新target配置Preprocessor Macros
第七步:新target配置Swift Compiler - Custom Flags
schemes方式
第一步:添加一个新的configuration
第二步:添加一个新的scheme
第四步:配置不同bundle id
第五步:添加自定义HOST_URL
第六步:使用自定义HOST_URL
第七步:配置不同的APPIcon
xcconfig方式
第一步:创建xcconfig文件
第二步:配置xcconfig文件
第三步:解决xcconfig的冲突
#include "../../../Pods/Target Support Files/Pods-LCClientDemo/Pods-LCClientDemo.debug.xcconfig"
LXY_TEST = $(inherited) liDebug
行者常至,为者常成!