コード例 #1
0
        private static void OverWriteInfoPlist(ProjectBasicConfig config, string xcodeProjectPath, ProjectBuildData data)
        {
            XCPlist plist = new XCPlist(xcodeProjectPath + "Info.plist");

            Dictionary <string, object> configItems = new Dictionary <string, object>
            {
                { XCPlist.CFBundleDisplayName, config.DisplayName },
                { XCPlist.CFBundleShortVersionString, data.IdentityVersion },
                { XCPlist.CFBundleVersion, data.IdentityBuild }
            };

            plist.OverWriteItems(configItems);
        }