File tree Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Expand file tree Collapse file tree 2 files changed +24
-2
lines changed Original file line number Diff line number Diff line change @@ -38,12 +38,12 @@ playground.xcworkspace
3838# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
3939# Packages/
4040# Package.pins
41- # Package.resolved
41+ Package.resolved
4242# *.xcodeproj
4343#
4444# Xcode automatically generates this directory with a .xcworkspacedata file and xcuserdata
4545# hence it is not needed unless you have added a package configuration file to your project
46- # .swiftpm
46+ .swiftpm
4747
4848.build /
4949
Original file line number Diff line number Diff line change 1+ // swift-tools-version:5.10
2+
3+ import Foundation
4+ import PackageDescription
5+
6+ let package = Package (
7+ name: " MediaEditor " ,
8+ platforms: [ . iOS( . v15) ] ,
9+ products: [
10+ . library( name: " MediaEditor " , targets: [ " MediaEditor " ] )
11+ ] ,
12+ dependencies: [
13+ . package ( url: " https://github.com/TimOliver/TOCropViewController " , from: " 2.5.3 " )
14+ ] ,
15+ targets: [
16+ . target(
17+ name: " MediaEditor " ,
18+ dependencies: [
19+ . product( name: " CropViewController " , package : " TOCropViewController " )
20+ ] )
21+ ]
22+ )
You can’t perform that action at this time.
0 commit comments