Giter VIP home page Giter VIP logo

cake.xcode's Introduction

Cake.XCode

A set of aliases for http://cakebuild.net to help with Xcode and CocoaPods.

You can easily reference Cake.XCode directly in your build script via a cake addin:

#addin "Cake.XCode"

Aliases

Please visit the Cake Documentation for a list of available aliases:

http://cakebuild.net/dsl/xcode

Discussion

For questions and to discuss ideas & feature requests, use the GitHub discussions on the Cake GitHub repository, under the Extension Q&A category.

Join in the discussion on the Cake repository

Apache License 2.0

Apache Cake.Xamarin Copyright 2015. The Apache Software Foundation This product includes software developed at The Apache Software Foundation (http://www.apache.org/).

cake.xcode's People

Contributors

augustoproiete avatar dmariogatto avatar gep13 avatar iwandi avatar pedrovieira avatar redth avatar sotoighost avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cake.xcode's Issues

Add a property to pass build settings

Instead of using a .xcconfig file, it would be nice to have a property that passes build settings through the command using a Dictionary. For example:

XCodeBuild (new XCodeBuildSettings {
	Project =project,
	Target = target,
	BuildSettings = new Dictionary<string, string>
	{
		{ "KEY", "Value" },
	}
});

The name 'CocoaPodInstall' does not exist in the current context

After run command below, output throw message
The name 'CocoaPodInstall' does not exist in the current context

#addin nuget:?package=Cake.FileHelpers&version=4.0.1
#addin nuget:?package=Cake.XCode&version=4.2.0
//dotnet new tool-manifest
//dotnet tool install Cake.Tool --version 1.1.0

var target = Argument("target", "BuildXcodeWithPod");

var IOS_PODS = new List<string> 
{
    "# Uncomment the next line to define a global platform for your project",
    "# platform :ios, '9.0'",
    "target 'SampleApp' do",
    "  # Comment the next line if you don't want to use dynamic frameworks",
    "  use_frameworks!",
    "  # Pods for SampleApp",
    "pod 'FSCalendar'",
    "end",
};

Task("BuildXcodeWithPod").Does(()=>
{
    EnsureDirectoryExists("./externals");

    FileWriteLines("./externals/Podfile",IOS_PODS.ToArray());
    CocoaPodInstall("./externals", new CocoaPodInstallSettings { NoIntegrate = true });
});

RunTarget(target);

Archive build action or custom options parameter

Hi Jonathan,
can you please add an additional buildaction for the app archives creation - archive or at least some custom property in XCodeBuildSettings data model to make it possible to define custom actions and/or build options by user. - xcodebuild docs
It would be really useful.
Thank you.

Update Cake.XCode README: Add link to GitHub Discussions

We've started using GitHub Discussions as the preferred communication channel moving forward (instead of Gitter) because it makes it easier to keep track of discussions in a structured way, especially if multiple discussions are happening at the same time. It also allows to search for previous questions/answers, which can be a helpful resource.

As such, we're recommending addin maintainers to update any links to Gitter to point to the GH discussions.

image

Template:

## Discussion

For questions and to discuss ideas & feature requests, use the [GitHub discussions on the Cake GitHub repository](https://github.com/cake-build/cake/discussions), under the [Extension Q&A](https://github.com/cake-build/cake/discussions/categories/extension-q-a) category.

[![Join in the discussion on the Cake repository](https://img.shields.io/badge/GitHub-Discussions-green?logo=github)](https://github.com/cake-build/cake/discussions)

Recommended changes resulting from automated audit

We performed an automated audit of your Cake addin and found that it does not follow all the best practices.

We encourage you to make the following modifications:

  • You are currently referencing Cake.Core 0.26.1. Please upgrade to 0.28.0
  • You are currently referencing Cake.Common 0.26.1. Please upgrade to 0.28.0
  • The Cake.Core reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Core" Version="0.28.0" PrivateAssets="All" />
  • The Cake.Common reference should be private. Specifically, your addin's .csproj should have a line similar to this: <PackageReference Include="Cake.Common" Version="0.28.0" PrivateAssets="All" />
  • The nuget package for your addin should use the cake-contrib icon. Specifically, your addin's .csproj should have a line like this: <PackageIconUrl>https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png</PackageIconUrl>.

Apologies if this is already being worked on, or if there are existing open issues, this issue was created based on what is currently published for this package on NuGet.org and in the project on github.

Would it be possible to use the Cake Contrib Icon for your NuGet Package?

Thanks again for creating this Cake Addin, we really appreciate the effort that you have put in to creating it.

We, the Cake Team, recently announced a new Cake Contrib Icon, details of which can be found here:

http://cakebuild.net/blog/2017/06/new-cake-contrib-icon

Would you consider changing the nuspec file for your NuGet Package to use this new Cake Contrib Icon? If so, the recommended URL to use is:

https://cdn.rawgit.com/cake-contrib/graphics/a5cf0f881c390650144b2243ae551d5b9f836196/png/cake-contrib-medium.png

Details of the above URL can be found in the repository here:

https://github.com/cake-contrib/graphics

Please let me know if you have any questions.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.