Skip to content
This repository was archived by the owner on Feb 24, 2025. It is now read-only.

Commit ebdebbd

Browse files
committed
Merge branch 'release/1.42.0'
* release/1.42.0: (26 commits) Bump version to 1.42.0 (28) Update embedded files Network Protection (#1211) Update BSK with autofill 7.1.0 (#1225) Autofill password generation support for iOS (#1212) Sync Engine with support for syncing bookmarks (#1203) Bump BSK for messaging updates (#1213) add newTab pixel, fire pixels only for new users first time (#1219) Update tds endpoint (#1218) prevent devices from being fetch when sync not visible (#1214) License and contributor guidelines for open-sourcing (#1189) Add a unique Bitwarden decryption failure pixel (#1197) Bump version to 1.41.0 (27) Update embedded files Check that the source and target frame security origins are equal (#1207) Add activation points pixels (#1206) Add Login export links to settings and Autofill 3 dot menu (#1183) sync device connected names (#1205) Autofill/subdomain matching (#1122) add-windows-browser-download-link-privacy-config (#1198) ...
2 parents e70b1bf + b7b8dd8 commit ebdebbd

File tree

405 files changed

+28631
-10374
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

405 files changed

+28631
-10374
lines changed

.github/workflows/build_notarized.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ jobs:
192192

193193
name: Create DMG
194194
needs: export-notarized-app
195-
if: ${{ github.event.inputs.create-dmg == 'true' || inputs.create-dmg == 'true' }}
195+
if: ${{ github.event.inputs.create-dmg == true || inputs.create-dmg == true }}
196196

197197
# use macos-12 for creating DMGs as macos-13 beta runners can't run AppleScript: https://app.asana.com/0/0/1204523592790998/f
198198
runs-on: macos-12

CONTRIBUTING.md

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,33 @@
1+
# Contributing to DuckDuckGo
2+
3+
Thank you for taking the time to contribute to DuckDuckGo! :sparkles:
4+
5+
We are pleased to open up the project to you - our community. How can you contribute?
6+
7+
## Share feedback
8+
Contact us at https://duckduckgo.com/feedback if you have feedback, questions or want to chat. You can also use the feedback form embedded within our app - to do so please go to Main Menu -> Help -> Send Feedback.
9+
10+
## Report an issue
11+
A great way to contribute to the project is to report an issue when you encounter a problem.
12+
13+
We want our app to be as stable as possible thus your bug reports are immensely valuable. When reporting bugs let us know the:
14+
* App version
15+
* macOS version
16+
* Steps to reproduce the bug
17+
* Expected behavior
18+
* Actual behavior
19+
20+
If you have encountered a security issue, please reach us through https://hackerone.com/duckduckgo.
21+
22+
## Contributing Code
23+
We're always open to contributions from the community! There are different approaches depending on how you wish to contribute:
24+
25+
* **For bug fixes**, feel free to open a pull request along with an associated issue. Someone from the team will review your issue/change within a few days.
26+
* **For new features**, start by logging an issue with a description of your idea. Proposals that fit our product direction and timeline will be added to our backlog and labelled accordingly.
27+
* If you're looking for a bug to work on, see the [Help Wanted](https://github.com/duckduckgo/macOS/issues?q=is%3Aissue+is%3Aopen+label%3A%22Help+Wanted%22) tag for a list of open issues.
28+
29+
### Style Guide
30+
We care about clean code. Refer to our [style guide](https://github.com/duckduckgo/iOS/blob/develop/styleguide/STYLEGUIDE.md).
31+
32+
### Commit Messages
33+
See Chris Beams' guide to writing good commit messages https://chris.beams.io/posts/git-commit/

Configuration/App/AppTargetsBase.xcconfig

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515

1616
#include "../Common.xcconfig"
1717

18-
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon
19-
ASSETCATALOG_COMPILER_APPICON_NAME[config=Debug] = Icon - Debug
20-
ASSETCATALOG_COMPILER_APPICON_NAME[config=CI] = Icon - Debug
21-
ASSETCATALOG_COMPILER_APPICON_NAME[config=Review] = Icon - Review
18+
ASSETCATALOG_COMPILER_APPICON_NAME[sdk=*] = AppIcon
19+
ASSETCATALOG_COMPILER_APPICON_NAME[config=Debug][sdk=*] = Icon - Debug
20+
ASSETCATALOG_COMPILER_APPICON_NAME[config=CI][sdk=*] = Icon - Debug
21+
ASSETCATALOG_COMPILER_APPICON_NAME[config=Review][sdk=*] = Icon - Review
2222

2323
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME = GlobalAccentColor
2424

Configuration/App/DuckDuckGo.xcconfig

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,53 @@
1414
//
1515

1616
#include "AppTargetsBase.xcconfig"
17+
#include "../NetworkProtectionDeveloperID.xcconfig"
1718

1819
BUNDLE_IDENTIFIER_PREFIX = com.duckduckgo.macos.browser
1920

2021
CODE_SIGN_ENTITLEMENTS = DuckDuckGo/DuckDuckGo.entitlements
22+
CODE_SIGN_ENTITLEMENTS[config=Debug][arch=*][sdk=*] = DuckDuckGo/DuckDuckGoDebug.entitlements
2123
CODE_SIGN_ENTITLEMENTS[config=CI][arch=*][sdk=*] = DuckDuckGo/DuckDuckGoCI.entitlements
2224

2325
CODE_SIGN_IDENTITY[sdk=macosx*] = Developer ID Application
2426
CODE_SIGN_IDENTITY[config=Debug][sdk=macosx*] = Apple Development
2527
CODE_SIGN_IDENTITY[config=CI][sdk=macosx*] =
2628

29+
FEATURE_FLAGS = FEEDBACK NETWORK_PROTECTION
30+
2731
PRODUCT_NAME_PREFIX = DuckDuckGo
2832

2933
PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] =
3034
PROVISIONING_PROFILE_SPECIFIER[config=Release][sdk=macosx*] = MacOS Browser
3135
PROVISIONING_PROFILE_SPECIFIER[config=Review][sdk=macosx*] = MacOS Browser Product Review
3236

37+
GCC_PREPROCESSOR_DEFINITIONS[arch=*][sdk=*] = NETP_SYSTEM_EXTENSION=1
38+
GCC_PREPROCESSOR_DEFINITIONS[config=CI][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION=1 DEBUG=1 CI=1 $(inherited)
39+
GCC_PREPROCESSOR_DEFINITIONS[config=Debug][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION=1 DEBUG=1 $(inherited)
40+
GCC_PREPROCESSOR_DEFINITIONS[config=Review][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION=1 REVIEW=1 $(inherited)
41+
42+
SWIFT_ACTIVE_COMPILATION_CONDITIONS[arch=*][sdk=*] = NETP_SYSTEM_EXTENSION $(FEATURE_FLAGS)
43+
SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=CI][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION DEBUG CI $(FEATURE_FLAGS)
44+
SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION DEBUG $(FEATURE_FLAGS)
45+
SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Review][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION REVIEW $(FEATURE_FLAGS)
46+
47+
AGENT_BUNDLE_ID[sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.system-extension.agent
48+
AGENT_BUNDLE_ID[config=Debug][sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.system-extension.agent.debug
49+
AGENT_BUNDLE_ID[config=CI][sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.system-extension.agent.debug
50+
AGENT_BUNDLE_ID[config=Review][sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.system-extension.agent.review
51+
52+
// We could be tempted to use SYSEX_BUNDLE_ID = $(SYSEX_BUNDLE_ID_BASE).systemextension
53+
// but Xcode is currently not expanding it well. You can check this in the project build
54+
// settings.
55+
SYSEX_BUNDLE_ID[sdk=*] = $(SYSEX_BUNDLE_ID_BASE).systemextension
56+
SYSEX_BUNDLE_ID[config=CI][sdk=*] = $(SYSEX_BUNDLE_ID_BASE).systemextension
57+
SYSEX_BUNDLE_ID[config=Review][sdk=*] = $(SYSEX_BUNDLE_ID_BASE).systemextension
58+
SYSEX_BUNDLE_ID[config=Debug][sdk=*] = $(SYSEX_BUNDLE_ID_BASE).systemextension
59+
SYSEX_BUNDLE_ID[config=Release][sdk=*] = $(SYSEX_BUNDLE_ID_BASE).systemextension
60+
61+
// Install Developer ID build to /Applications/DEBUG/
62+
DEPLOYMENT_LOCATION[config=Debug] = YES;
63+
DSTROOT[config=Debug] = /;
64+
INSTALL_PATH[config=Debug] = Applications/DEBUG;
65+
3366
#include? "../../LocalOverrides.xcconfig"

Configuration/App/DuckDuckGoAppStore.xcconfig

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,11 @@
1717
#include "../AppStore.xcconfig"
1818
#include "ManualAppStoreRelease.xcconfig"
1919

20+
AGENT_BUNDLE_ID[sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.agent
21+
AGENT_BUNDLE_ID[config=Debug][sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.agent.debug
22+
AGENT_BUNDLE_ID[config=CI][sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.agent.debug
23+
AGENT_BUNDLE_ID[config=Review][sdk=*] = $(DEVELOPMENT_TEAM).com.duckduckgo.macos.browser.network-protection.agent.review
24+
2025
BUNDLE_IDENTIFIER_PREFIX = com.duckduckgo.mobile.ios
2126

2227
CODE_SIGN_ENTITLEMENTS = DuckDuckGo/DuckDuckGoAppStore.entitlements
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
// Copyright © 2023 DuckDuckGo. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
16+
#include "../AppTargetsBase.xcconfig"
17+
#include "../../NetworkProtectionDeveloperID.xcconfig"
18+
19+
BUNDLE_IDENTIFIER_PREFIX = $(AGENT_BUNDLE_ID)
20+
21+
// Override AppTargetsBase.xcconfig until we resolve bundle IDs.
22+
PRODUCT_BUNDLE_IDENTIFIER[sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
23+
PRODUCT_BUNDLE_IDENTIFIER[config=Debug][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
24+
PRODUCT_BUNDLE_IDENTIFIER[config=CI][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
25+
PRODUCT_BUNDLE_IDENTIFIER[config=Review][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
26+
27+
INFOPLIST_FILE = DuckDuckGoAgent/Info.plist
28+
GENERATE_INFOPLIST_FILE = YES
29+
INFOPLIST_KEY_LSUIElement = YES
30+
INFOPLIST_KEY_NSPrincipalClass = Application
31+
32+
// Just make sure to override anything set by the AppTargetBase.xcconfig
33+
//CODE_SIGN_STYLE[config=Debug][sdk=*] = Manual
34+
//CODE_SIGN_STYLE[config=Release][sdk=*] = Manual
35+
36+
// Left empty intentionally as we currently only support debug and release builds
37+
CODE_SIGN_ENTITLEMENTS[config=Review][sdk=macosx*] =
38+
CODE_SIGN_ENTITLEMENTS[config=CI][sdk=macosx*] =
39+
CODE_SIGN_ENTITLEMENTS[config=Debug][sdk=macosx*] = DuckDuckGoAgent/DuckDuckGoAgent.entitlements
40+
CODE_SIGN_ENTITLEMENTS[config=Release][sdk=macosx*] = DuckDuckGoAgent/DuckDuckGoAgent.entitlements
41+
42+
CODE_SIGN_IDENTITY[sdk=macosx*] = Developer ID Application
43+
CODE_SIGN_IDENTITY[config=Debug][sdk=macosx*] = Apple Development
44+
CODE_SIGN_IDENTITY[config=CI][sdk=macosx*] =
45+
46+
PRODUCT_NAME = $(AGENT_PRODUCT_NAME)
47+
48+
PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] =
49+
PROVISIONING_PROFILE_SPECIFIER[config=Review][sdk=macosx*] = macOS Network Protection Agent App Product Review
50+
PROVISIONING_PROFILE_SPECIFIER[config=Release][sdk=macosx*] = macOS Network Protection Agent App (Distribution)
51+
52+
FEATURE_FLAGS[arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
53+
FEATURE_FLAGS[config=CI][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
54+
FEATURE_FLAGS[config=Debug][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
55+
FEATURE_FLAGS[config=Review][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
56+
57+
ENABLE_APP_SANDBOX = YES
58+
SWIFT_OBJC_BRIDGING_HEADER =
59+
SKIP_INSTALL = YES
60+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME =
61+
62+
#include? "../../../LocalOverrides.xcconfig"
Lines changed: 62 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
1+
// Copyright © 2023 DuckDuckGo. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
16+
#include "../AppTargetsBase.xcconfig"
17+
#include "../../AppStore.xcconfig"
18+
19+
BUNDLE_IDENTIFIER_PREFIX = HKE973VLUW.com.duckduckgo.macos.browser.network-protection.agent
20+
21+
// Override AppTargetsBase.xcconfig until we resolve bundle IDs.
22+
PRODUCT_BUNDLE_IDENTIFIER[sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
23+
PRODUCT_BUNDLE_IDENTIFIER[config=Debug][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX).debug
24+
PRODUCT_BUNDLE_IDENTIFIER[config=CI][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX).debug
25+
PRODUCT_BUNDLE_IDENTIFIER[config=Review][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX).review
26+
27+
INFOPLIST_FILE = DuckDuckGoAgent/Info-AppStore.plist
28+
GENERATE_INFOPLIST_FILE = YES
29+
INFOPLIST_KEY_LSUIElement = YES
30+
INFOPLIST_KEY_NSPrincipalClass = Application
31+
32+
// Just make sure to override anything set by the AppTargetBase.xcconfig
33+
//CODE_SIGN_STYLE[config=Debug][sdk=*] = Manual
34+
//CODE_SIGN_STYLE[config=Release][sdk=*] = Manual
35+
36+
// Left empty intentionally as we currently only support debug and release builds
37+
CODE_SIGN_ENTITLEMENTS[config=Review][sdk=macosx*] =
38+
CODE_SIGN_ENTITLEMENTS[config=CI][sdk=macosx*] =
39+
CODE_SIGN_ENTITLEMENTS[config=Debug][sdk=macosx*] = DuckDuckGoAgent/DuckDuckGoAgentAppStore.entitlements
40+
CODE_SIGN_ENTITLEMENTS[config=Release][sdk=macosx*] = DuckDuckGoAgent/DuckDuckGoAgentAppStore.entitlements
41+
42+
CODE_SIGN_IDENTITY[sdk=macosx*] = 3rd Party Mac Developer Application
43+
CODE_SIGN_IDENTITY[config=Review][sdk=macosx*] = Developer ID Application
44+
CODE_SIGN_IDENTITY[config=Debug][sdk=macosx*] = Apple Development
45+
CODE_SIGN_IDENTITY[config=CI][sdk=macosx*] =
46+
47+
PRODUCT_NAME = $(AGENT_PRODUCT_NAME)
48+
49+
PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] =
50+
PROVISIONING_PROFILE_SPECIFIER[config=Release][sdk=macosx*] = Mac Browser NetP Developer ID Not. (Distribution)
51+
52+
FEATURE_FLAGS[arch=*][sdk=*] =
53+
FEATURE_FLAGS[config=CI][arch=*][sdk=*] =
54+
FEATURE_FLAGS[config=Debug][arch=*][sdk=*] =
55+
FEATURE_FLAGS[config=Review][arch=*][sdk=*] =
56+
57+
ENABLE_APP_SANDBOX = YES
58+
SWIFT_OBJC_BRIDGING_HEADER =
59+
SKIP_INSTALL = YES
60+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME =
61+
62+
#include? "../../../LocalOverrides.xcconfig"
Lines changed: 58 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,58 @@
1+
// Copyright © 2023 DuckDuckGo. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
16+
#include "../AppTargetsBase.xcconfig"
17+
#include "../../NetworkProtectionDeveloperID.xcconfig"
18+
19+
BUNDLE_IDENTIFIER_PREFIX = $(NOTIFICATIONS_AGENT_BUNDLE_ID)
20+
21+
// Override AppTargetsBase.xcconfig until we resolve bundle IDs.
22+
PRODUCT_BUNDLE_IDENTIFIER[sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
23+
PRODUCT_BUNDLE_IDENTIFIER[config=Debug][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
24+
PRODUCT_BUNDLE_IDENTIFIER[config=CI][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
25+
PRODUCT_BUNDLE_IDENTIFIER[config=Review][sdk=*] = $(BUNDLE_IDENTIFIER_PREFIX)
26+
27+
INFOPLIST_FILE = DuckDuckGoNotifications/Info.plist
28+
GENERATE_INFOPLIST_FILE = YES
29+
INFOPLIST_KEY_LSUIElement = YES
30+
INFOPLIST_KEY_NSPrincipalClass = Application
31+
32+
// Left empty intentionally as we currently only support debug and release builds
33+
CODE_SIGN_ENTITLEMENTS[config=Review][sdk=macosx*] =
34+
CODE_SIGN_ENTITLEMENTS[config=CI][sdk=macosx*] =
35+
CODE_SIGN_ENTITLEMENTS[config=Debug][sdk=macosx*] = DuckDuckGoNotifications/DuckDuckGoNotifications.entitlements
36+
CODE_SIGN_ENTITLEMENTS[config=Release][sdk=macosx*] = DuckDuckGoNotifications/DuckDuckGoNotifications.entitlements
37+
38+
CODE_SIGN_IDENTITY[sdk=macosx*] = Developer ID Application
39+
CODE_SIGN_IDENTITY[config=Debug][sdk=macosx*] = Apple Development
40+
CODE_SIGN_IDENTITY[config=CI][sdk=macosx*] =
41+
42+
PRODUCT_NAME_PREFIX = $(NOTIFICATIONS_AGENT_PRODUCT_NAME)
43+
PRODUCT_NAME[config=Review][arch=*][sdk=*] = $(NOTIFICATIONS_AGENT_PRODUCT_NAME)
44+
45+
PROVISIONING_PROFILE_SPECIFIER[sdk=macosx*] =
46+
PROVISIONING_PROFILE_SPECIFIER[config=Review][sdk=macosx*] = MacOS Browser NetP Notifications Product Review
47+
PROVISIONING_PROFILE_SPECIFIER[config=Release][sdk=macosx*] = Mac Browser NetP Developer ID Not. (Distribution)
48+
49+
FEATURE_FLAGS[arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
50+
FEATURE_FLAGS[config=CI][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
51+
FEATURE_FLAGS[config=Debug][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
52+
FEATURE_FLAGS[config=Review][arch=*][sdk=*] = NETP_SYSTEM_EXTENSION
53+
54+
SWIFT_OBJC_BRIDGING_HEADER =
55+
SKIP_INSTALL = YES
56+
ASSETCATALOG_COMPILER_GLOBAL_ACCENT_COLOR_NAME =
57+
58+
#include? "../../../LocalOverrides.xcconfig"
Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
// Copyright © 2023 DuckDuckGo. All rights reserved.
2+
//
3+
// Licensed under the Apache License, Version 2.0 (the "License");
4+
// you may not use this file except in compliance with the License.
5+
// You may obtain a copy of the License at
6+
//
7+
// http://www.apache.org/licenses/LICENSE-2.0
8+
//
9+
// Unless required by applicable law or agreed to in writing, software
10+
// distributed under the License is distributed on an "AS IS" BASIS,
11+
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12+
// See the License for the specific language governing permissions and
13+
// limitations under the License.
14+
//
15+
16+
#include "../../Common.xcconfig"
17+
18+
ALWAYS_SEARCH_USER_PATHS=NO
19+
ASSETCATALOG_COMPILER_APPICON_NAME=AppIcon
20+
21+
CODE_SIGN_ENTITLEMENTS=DuckDuckGo/NetworkProtectionVPNController.entitlements
22+
CODE_SIGN_IDENTITY[sdk=macosx*] = Developer ID Application
23+
CODE_SIGN_IDENTITY[config=CI][sdk=macosx*] =
24+
CODE_SIGN_IDENTITY[config=Debug][sdk=macosx*] = Apple Development
25+
26+
CODE_SIGN_STYLE[sdk=*] = Manual
27+
CODE_SIGN_STYLE[config=Debug][sdk=*] = Automatic
28+
29+
COMBINE_HIDPI_IMAGES=YES
30+
COPY_PHASE_STRIP=NO
31+
32+
DEBUG_INFORMATION_FORMAT[config=CI]=dwarf-with-dsym
33+
DEBUG_INFORMATION_FORMAT[config=Debug]=dwarf
34+
DEBUG_INFORMATION_FORMAT[config=Release]=dwarf-with-dsym
35+
DEBUG_INFORMATION_FORMAT[config=Review]=dwarf-with-dsym
36+
37+
ENABLE_HARDENED_RUNTIME=YES
38+
ENABLE_NS_ASSERTIONS[config=CI]=NO
39+
ENABLE_NS_ASSERTIONS[config=Release]=NO
40+
ENABLE_NS_ASSERTIONS[config=Review]=NO
41+
ENABLE_PREVIEWS=YES
42+
ENABLE_STRICT_OBJC_MSGSEND=YES
43+
ENABLE_TESTABILITY[config=Debug]=YES
44+
45+
GCC_C_LANGUAGE_STANDARD=gnu11
46+
GCC_DYNAMIC_NO_PIC[config=Debug]=NO
47+
GCC_NO_COMMON_BLOCKS=YES
48+
GCC_OPTIMIZATION_LEVEL[config=Debug]=0
49+
GCC_PREPROCESSOR_DEFINITIONS[config=Debug]=DEBUG=1 $(inherited)
50+
GCC_WARN_64_TO_32_BIT_CONVERSION=YES
51+
GCC_WARN_ABOUT_RETURN_TYPE=YES_ERROR
52+
GCC_WARN_UNDECLARED_SELECTOR=YES
53+
GCC_WARN_UNINITIALIZED_AUTOS=YES_AGGRESSIVE
54+
GCC_WARN_UNUSED_FUNCTION=YES
55+
GCC_WARN_UNUSED_VARIABLE=YES
56+
GENERATE_INFOPLIST_FILE=YES
57+
58+
INFOPLIST_KEY_LSUIElement=YES
59+
INFOPLIST_KEY_NSHumanReadableCopyright=Copyright © 2023 DuckDuckGo. All rights reserved.
60+
61+
LD_RUNPATH_SEARCH_PATHS[config=CI]=$(inherited) @executable_path/../Frameworks
62+
LD_RUNPATH_SEARCH_PATHS[config=Debug]=$(inherited) @executable_path/../Frameworks
63+
LD_RUNPATH_SEARCH_PATHS[config=Release]=$(inherited) @executable_path/../Frameworks
64+
LD_RUNPATH_SEARCH_PATHS[config=Review]=$(inherited) @executable_path/../Frameworks
65+
66+
MTL_ENABLE_DEBUG_INFO[config=CI]=NO
67+
MTL_ENABLE_DEBUG_INFO[config=Debug]=INCLUDE_SOURCE
68+
MTL_ENABLE_DEBUG_INFO[config=Release]=NO
69+
MTL_ENABLE_DEBUG_INFO[config=Review]=NO
70+
MTL_FAST_MATH=YES
71+
72+
ONLY_ACTIVE_ARCH[config=Debug]=YES
73+
PRODUCT_NAME=$(TARGET_NAME)
74+
SDKROOT=macosx
75+
76+
SKIP_INSTALL=YES
77+
78+
SWIFT_ACTIVE_COMPILATION_CONDITIONS[config=Debug]=DEBUG
79+
SWIFT_COMPILATION_MODE[config=CI]=wholemodule
80+
SWIFT_COMPILATION_MODE[config=Release]=wholemodule
81+
SWIFT_COMPILATION_MODE[config=Review]=wholemodule
82+
SWIFT_EMIT_LOC_STRINGS=YES

0 commit comments

Comments
 (0)