1
+ import ProjectDescription
2
+
3
+ let project = Project (
4
+ name: " Maestro " ,
5
+ organizationName: " RevenueCat " ,
6
+ settings: . settings(
7
+ configurations: [
8
+ . debug( name: " Debug " , xcconfig: . relativeToManifest( " rc-maestro/Resources/Local.xcconfig " ) )
9
+ ] ,
10
+ defaultSettings: . essential
11
+ ) ,
12
+ targets: [
13
+ . target(
14
+ name: " Maestro-Debug " ,
15
+ destinations: . iOS,
16
+ product: . app,
17
+ bundleId: " com.revenuecat.maestro.ios " ,
18
+ deploymentTargets: . iOS( " 17.0 " ) ,
19
+ infoPlist: . extendingDefault(
20
+ with: [
21
+ " UILaunchScreen " : [
22
+ " UIColorName " : " " ,
23
+ " UIImageName " : " " ,
24
+ ] ,
25
+ " REVENUECAT_API_KEY " : " $(REVENUECAT_API_KEY) "
26
+ ]
27
+ ) ,
28
+ sources: [ " rc-maestro/Sources/**/*.swift " ] ,
29
+ resources: [
30
+ " rc-maestro/Resources/**/*.xcassets " ,
31
+ ] ,
32
+ dependencies: [
33
+ . external( name: " RevenueCat " ) ,
34
+ . external( name: " RevenueCatUI " ) ,
35
+ . sdk( name: " StoreKit " , type: . framework, status: . required)
36
+ ]
37
+ )
38
+ ] ,
39
+ schemes: [
40
+ . scheme(
41
+ name: " Maestro-Debug " ,
42
+ shared: true ,
43
+ hidden: false ,
44
+ buildAction: . buildAction( targets: [ " Maestro-Debug " ] , findImplicitDependencies: true ) ,
45
+ runAction: . runAction(
46
+ configuration: " Debug " ,
47
+ executable: " Maestro-Debug " ,
48
+ options: . options(
49
+ storeKitConfigurationPath: " rc-maestro/Resources/StoreKit/StoreKitConfigDefault.storekit "
50
+ )
51
+ )
52
+ )
53
+ ] ,
54
+ additionalFiles: [
55
+ " rc-maestro/Resources/**/Local.xcconfig.sample " ,
56
+ " rc-maestro/Resources/**/Local.xcconfig "
57
+ ]
58
+ )
0 commit comments