Bump cocoapods-downloader from 1.1.3 to 1.6.3 (#72)
Bumps cocoapods-downloader from 1.1.3 to 1.6.3.
updated-dependencies:
- dependency-name: cocoapods-downloader dependency-type: indirect …
Signed-off-by: dependabot[bot] support@github.com
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Mechanica
A library of Swift utils to ease your iOS, macOS, watchOS, tvOS and Linux development.
Requirements
Documentation
Documentation is available online.
Installation
CocoaPods
CocoaPods is a dependency manager for Cocoa projects. You can install it with the following command:
To integrate Mechanica into your Xcode project using CocoaPods, specify it in your
Podfile:Then, run the following command:
Carthage
Carthage is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
You can install Carthage with Homebrew using the following command:
To integrate Mechanica into your Xcode project using Carthage, specify it in your
Cartfile:Run
carthage updateto build the framework and drag the builtMechanica.frameworkinto your Xcode project.Swift Package Manager
The Swift Package Manager is a tool for automating the distribution of Swift code and is integrated into the
swiftcompiler. Once you have your Swift package set up, adding Mechanica as a dependency is as easy as adding it to thedependenciesvalue of yourPackage.swift.Manually
If you prefer not to use either of the aforementioned dependency managers, you can integrate Mechanica into your project manually.
Embedded Framework
cdinto your top-level project directory, and run the following command “if” your project is not initialized as a git repository:Open the new
Mechanicafolder, and drag theMechanica.xcodeprojinto the Project Navigator of your application’s Xcode project.Select the
Mechanica.xcodeprojin the Project Navigator and verify the deployment target matches that of your application target.Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the “Targets” heading in the sidebar.
In the tab bar at the top of that window, open the “General” panel.
Click on the
+button under the “Embedded Binaries” section.You will see two different
Mechanica.xcodeprojfolders each with two different versions of theMechanica.frameworknested inside aProductsfolder.Select the top
Mechanica.frameworkfor iOS and the bottom one for macOS.License
Mechanica is released under the MIT license. See LICENSE for details.
Contributing
Pull requests are welcome!
Show your ❤ with a ★