oficina / meet Public

Clone
git clone https://amadan.net/oficina/meet

Plain git — no account needed to clone.

Download

Download this file

1name: CallsPhone
2options:
3 bundleIdPrefix: works.oficina
4 deploymentTarget:
5 iOS: '17.0'
6packages:
7 CallsNative:
8 path: ../apple
9settings:
10 base:
11 SWIFT_VERSION: '5.0'
12 CODE_SIGN_STYLE: Automatic
13 MARKETING_VERSION: '0.4.16'
14 CURRENT_PROJECT_VERSION: '1'
15 # The App Group the app and its broadcast extension share: the socket
16 # the iPhone's screen crosses lives in its container. One setting
17 # feeds both entitlements and both Info.plists' CallsAppGroup key, so
18 # a build under another bundle identifier changes it here and only here.
19 CALLS_APP_GROUP: group.works.oficina.calls
20targets:
21 CallsPhone:
22 type: application
23 platform: iOS
24 sources:
25 - Sources
26 - Assets.xcassets
27 - path: ../LICENSE.lucide
28 buildPhase: resources
29 - path: ../LICENSE.rnnoise
30 buildPhase: resources
31 - path: ../LICENSE.webrtc
32 buildPhase: resources
33 - path: ../PATENTS.webrtc
34 buildPhase: resources
35 info:
36 path: ../build/ios-info.plist
37 properties:
38 CFBundleURLTypes:
39 - CFBundleURLName: works.oficina.calls
40 CFBundleURLSchemes: [oficina-calls]
41 CallsAppGroup: $(CALLS_APP_GROUP)
42 # Audio, so a call sharing the whole screen survives the person
43 # going to the app they meant to show. Only a call that is sharing
44 # stays up in the background; every other call still ends there.
45 UIBackgroundModes: [audio]
46 entitlements:
47 path: ../build/ios-app.entitlements
48 properties:
49 com.apple.security.application-groups: [$(CALLS_APP_GROUP)]
50 dependencies:
51 - package: CallsNative
52 product: CallsKit
53 - target: CallsBroadcast
54 settings:
55 base:
56 ASSETCATALOG_COMPILER_APPICON_NAME: AppIcon
57 PRODUCT_BUNDLE_IDENTIFIER: works.oficina.calls
58 TARGETED_DEVICE_FAMILY: '1,2'
59 GENERATE_INFOPLIST_FILE: YES
60 # The home screen, Spotlight and Settings say "Oficina Calls"; inside
61 # its own screens the app says plain "Calls". (CFBundleName stays
62 # $(PRODUCT_NAME), CallsPhone: the generated Info.plist overrides it,
63 # and iOS shows the display name wherever a person sees the app.)
64 INFOPLIST_KEY_CFBundleDisplayName: Oficina Calls
65 INFOPLIST_KEY_NSCameraUsageDescription: Calls uses your camera so people in your meeting can see you.
66 INFOPLIST_KEY_NSMicrophoneUsageDescription: Calls uses your microphone so people in your meeting can hear you.
67 INFOPLIST_KEY_UILaunchScreen_Generation: YES
68 INFOPLIST_KEY_UISupportedInterfaceOrientations: UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight UIInterfaceOrientationPortraitUpsideDown
69 CallsBroadcast:
70 type: app-extension
71 platform: iOS
72 sources: [Broadcast]
73 info:
74 path: ../build/ios-broadcast-info.plist
75 properties:
76 # Control Center's screen-recording list names the extension.
77 CFBundleDisplayName: Oficina Calls
78 CallsAppGroup: $(CALLS_APP_GROUP)
79 NSExtension:
80 NSExtensionPointIdentifier: com.apple.broadcast-services-upload
81 NSExtensionPrincipalClass: $(PRODUCT_MODULE_NAME).SampleHandler
82 RPBroadcastProcessMode: RPBroadcastProcessModeSampleBuffer
83 entitlements:
84 path: ../build/ios-broadcast.entitlements
85 properties:
86 com.apple.security.application-groups: [$(CALLS_APP_GROUP)]
87 dependencies:
88 - package: CallsNative
89 product: CallsBroadcastKit
90 settings:
91 base:
92 PRODUCT_BUNDLE_IDENTIFIER: works.oficina.calls.broadcast
93 TARGETED_DEVICE_FAMILY: '1,2'
94 CallsPhoneTests:
95 type: bundle.unit-test
96 platform: iOS
97 sources:
98 - Tests
99 - ../apple/Sources/CallsInterop/SyntheticVideo.swift
100 dependencies:
101 - target: CallsPhone
102 - package: CallsNative
103 product: CallsKit
104 settings:
105 base:
106 GENERATE_INFOPLIST_FILE: YES
107 CallsPhoneUITests:
108 type: bundle.ui-testing
109 platform: iOS
110 sources: [UITests]
111 dependencies:
112 - target: CallsPhone
113 settings:
114 base:
115 GENERATE_INFOPLIST_FILE: YES
116 TEST_TARGET_NAME: CallsPhone
117 info:
118 path: ../build/ios-test-info.plist
119 properties:
120 NSAppTransportSecurity:
121 NSAllowsArbitraryLoads: true
122schemes:
123 CallsPhone:
124 build:
125 targets:
126 CallsPhone: all
127 test:
128 targets: [CallsPhoneUITests, CallsPhoneTests]
129