Build time for aws-sdk-ios on CI with Carthage - ios

I am using Carthage and aws-sdk-ios. I use just 2 projects from aws, but Carthage needs to build all the other 20+ libraries.
On BuddyBuild this means 40 minutes to build. It's impossible to work like this in a team.
This is in the Cartfile:
github "aws/aws-sdk-ios"
Is there a solution to this?

Tools like Rome are super useful to speed up CI builds by storing the results in S3.

Related

Is it possible to ignore xcodebuild analyze warnings from cocoapods and SPM packages?

I use xcodecode analyze to help find static analysis warnings in my code when running CI builds (similar to running the Analyze tool in Xcode directly).
It works great finding issues - but the problem is it picks up issues in all code, even that which I do not have control over, i.e. dependencies brought in from cocoapods and SPM packages.
Is there a way to exclude these dependencies and only have it report issues in my own code?

Build iOS .ipa from Ionic 4 project inside Bitbucket pipeline

I have an Ionic v4 project in bitbucket, I created a pipeline to build Android APK from the project using Docker and the basic .apk building steps.
Now I have to do the same thing for iOS. I don't think Docker will be a good option since it can't really run a Mac image.
My question here is: Are there services, libraries or something else that I can use to build the .ipa on the pipeline? Preferably free with the least cost, has anyone made such things and has examples here to help me get it off the ground?
I've been looking at Microsoft App Center and CircleCI, for example, but both seem to have a cost and A LOT of capabilities that really aren't necessary in this project...
Thanks in advance!

SalesForce: How to automate managed package installation in Continuous Integration

I have successfully set up continuous integration process using TeamCity for non-SalesForce projects, but need help with automating SalesFoce manage packages installation.
To migrate metadata from source to target org, I used ant migration tool, but how to do in case of managed packages?
Questions:
How will TeamCity know that the new package has been created? I may watch the changes in source code tool, but not in the cloud where the created package is stored.
How to get the latest version of the package from the cloud? I need to compare the versions of the packages: the installed one and the new one
How to install the package?
Please help.
I checked SF documentation and found that SF API provides ability to install, upgrade and uninstall Managed Packages. Also it provides ability to run some Apex code after these actions. I think, you need to move in this way. Here is related documentation.

Download build from Travis

Is there a way to download latest compiled travis binary? I want to try the unreleased version, but I can't compile it by myself.
Is there a button to download the compiled software?
Travis doesn't compile binaries and save them, it just compiles them and makes sure they can be compiled without errors.
EDIT: Yes, it does, if the project owners want Travis to do so! See this: https://docs.travis-ci.com/user/deployment/releases/

Xcode, GitHub and third-party frameworks

I am planning to migrate my current local Git repository (managed by Xcode 5) to GitHub and found some tutorials on how to do this.
My questions is how can include third-party frameworks which I use with my project in GitHub.
The majority of them is not GitHub based, e.g. CorePlot (Google based), Parse.com (Zip Download).
How should I add these frameworks to my GitHub based Framework?
You can use git submodules to keep reference to other repo.
For CorePlot, which is a mercurial repo, you can use git-hg, as described in "Is there a way to use a Mercurial repository as Git submodule?".
Or... use its GitHub mirror repo for CorePlot directly as a submodule!

Resources