Skip to content

Installation

Tomasz K. edited this page Dec 15, 2024 · 4 revisions

Nad ranem, jeszcze w ciemnościach, do biwaku podkradł się głodny i wściekły wilkołak, ale zobaczył, że to Jaskier, więc posłuchał chwilę i poszedł sobie.

Installation

Swift Package Manager

  1. Select File ⭢ Add Package Dependencies. Enter https://github.com/Mijick/Camera.git in the "Choose Package Repository" dialog.
  2. In the next page, specify the version resolving rule as "Up to Next Major" with 3.0.0 as its earliest version.
  3. After Xcode checking out the source and resolving the version, you can choose the MijickCamera framework and add it to your app target.

Screenshot

CocoaPods

CocoaPods is a dependency manager for Swift and Objective-C Cocoa projects. You can install it with the following command:

$ sudo gem install cocoapods

Once installed, specify MijickCamera to a target in your Podfile:

source 'https://github.com/CocoaPods/Specs.git'
platform :ios, '12.0'
use_frameworks!

target 'MyApp' do
  # your other pod
  # ...
  pod 'MijickCamera', '~> 3.0.0'
end

Then, run the following command:

$ pod install

After installation, use the newly generated Xcode project file with the .xcworkspace extension.