iOS Project New Target in Xcode11.4.1

1.Choose a exist target, duplicate it;

2.Change Copy Target Name;

3.CopyTarget -> General -> Indentity -> Bundle Identifier;

4.Move Copy Info.plist to $(PROJECT)/XXX_Info.plist;

5.New_Info.plist set "NewProductName" in "Bundle display name";

6.Build Settings -> Packaging -> Info.plist File, set "$(PROJECT)/XXX_Info.plist";

7.Build Settings -> Packaging, check "Product Bundle Identifier" "Product Module Name" "Product Name";

8.Asset.xcassets -> New AppIcon, named AppIconNew;

9.Asset.xcassets -> LaunchImage, named LaunchImageNew;

10.Restart Project;

11.NewTarget -> General -> AppIcons and Launch Images -> App Icons Source -> choose AppIconNew;

12.NewTarget -> Build Settings -> Asset Catalog Compiler -> Asset Catalog Launch Image Set Name , set LaunchImageNew;

原文地址:https://www.cnblogs.com/madarax/p/13259242.html