コード例 #1
0
        public virtual void ConfigureTask()
        {
            Task = CreateTask <CompileAppManifest> ();

            Task.AppBundleName = appBundleName;
            Task.AppManifestBundleDirectory = Path.Combine(Cache.CreateTemporaryDirectory(), "AppBundlePath");
            Task.AssemblyName     = assemblyName;
            Task.AppManifest      = CreateTempFile("foo.plist");
            Task.BundleIdentifier = bundleIdentifier;
            Task.MinimumOSVersion = string.Empty;
            Task.SdkPlatform      = "iPhoneSimulator";

            Plist = new PDictionary();
            Plist ["CFBundleDisplayName"] = displayName;
            Plist ["CFBundleIdentifier"]  = identifier;
            Plist.Save(Task.AppManifest);
        }
コード例 #2
0
        public virtual void ConfigureTask()
        {
            Task = CreateTask <CompileAppManifest> ();

            Task.ApplicationId       = identifier;
            Task.AppBundleName       = appBundleName;
            Task.CompiledAppManifest = new TaskItem(Path.Combine(Cache.CreateTemporaryDirectory(), "AppBundlePath", "Info.plist"));
            Task.AssemblyName        = assemblyName;
            Task.AppManifest         = new TaskItem(CreateTempFile("foo.plist"));
            Task.SdkPlatform         = "iPhoneSimulator";
            Task.SdkVersion          = "10.0";

            Plist = new PDictionary();
            Plist ["CFBundleDisplayName"] = displayName;
            Plist ["CFBundleIdentifier"]  = bundleIdentifier;
            Plist.Save(Task.AppManifest.ItemSpec);
        }