Package.swift
2.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
// swift-tools-version: 5.9
//
// Package.swift
// SwiftWarplyFramework
//
// Created by Manos Chorianopoulos on 17/6/25.
//
import PackageDescription
let package = Package(
name: "SwiftWarplyFramework",
platforms: [
.iOS(.v17)
],
products: [
.library(
name: "SwiftWarplyFramework",
targets: ["SwiftWarplyFramework"]
),
],
dependencies: [
.package(url: "https://github.com/yeahdongcn/RSBarcodes_Swift", from: "5.2.0"),
.package(url: "https://github.com/cesarferreira/SwiftEventBus", from: "5.0.0")
],
targets: [
.target(
name: "SwiftWarplyFramework",
dependencies: [
.product(name: "RSBarcodes_Swift", package: "RSBarcodes_Swift"),
.product(name: "SwiftEventBus", package: "SwiftEventBus")
],
path: "SwiftWarplyFramework/SwiftWarplyFramework",
exclude: [
"Helpers/WarplyReactMethods.h",
"Helpers/WarplyReactMethods.m",
"Info.plist"
],
resources: [
.process("Media.xcassets"),
.process("fonts"),
.process("Main.storyboard"),
.process("cells/ProfileCouponFiltersTableViewCell/ProfileCouponFiltersTableViewCell.xib"),
.process("cells/ProfileHeaderTableViewCell/ProfileHeaderTableViewCell.xib"),
.process("cells/ProfileQuestionnaireTableViewCell/ProfileQuestionnaireTableViewCell.xib"),
.process("screens/MyRewardsViewController/MyRewardsViewController.xib"),
.process("cells/MyRewardsBannerOfferCollectionViewCell/MyRewardsBannerOfferCollectionViewCell.xib"),
.process("cells/MyRewardsOffersScrollTableViewCell/MyRewardsOffersScrollTableViewCell.xib"),
.process("cells/ProfileCouponTableViewCell/ProfileCouponTableViewCell.xib"),
.process("cells/ProfileFilterCollectionViewCell/ProfileFilterCollectionViewCell.xib"),
.process("screens/CouponViewController/CouponViewController.xib"),
.process("screens/ProfileViewController/ProfileViewController.xib"),
.process("cells/MyRewardsOfferCollectionViewCell/MyRewardsOfferCollectionViewCell.xib"),
.process("cells/MyRewardsBannerOffersScrollTableViewCell/MyRewardsBannerOffersScrollTableViewCell.xib")
]
),
]
)