Configure diagnostics (and MapLibre) using Pkl. (#3820)
* Bump the version for the next release. * Ignore all generated sources. * Use Pkl+XcodeGen to inject secrets instead of the project. * Inject the PostHog/Sentry/Rageshake configuration from the environment. * Fix bad unicode. * Fix unit tests.
This commit is contained in:
@@ -117,8 +117,6 @@
|
||||
<string>$(BASE_BUNDLE_IDENTIFIER)</string>
|
||||
<key>keychainAccessGroupIdentifier</key>
|
||||
<string>$(KEYCHAIN_ACCESS_GROUP_IDENTIFIER)</string>
|
||||
<key>mapLibreAPIKey</key>
|
||||
<string>$(MAPLIBRE_API_KEY)</string>
|
||||
<key>productionAppName</key>
|
||||
<string>$(PRODUCTION_APP_NAME)</string>
|
||||
</dict>
|
||||
|
||||
@@ -1,21 +0,0 @@
|
||||
//
|
||||
// Copyright 2023 New Vector Ltd
|
||||
//
|
||||
// Licensed under the Apache License, Version 2.0 (the "License");
|
||||
// you may not use this file except in compliance with the License.
|
||||
// You may obtain a copy of the License at
|
||||
//
|
||||
// http://www.apache.org/licenses/LICENSE-2.0
|
||||
//
|
||||
// Unless required by applicable law or agreed to in writing, software
|
||||
// distributed under the License is distributed on an "AS IS" BASIS,
|
||||
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
//
|
||||
|
||||
// Configuration settings file format documentation can be found at:
|
||||
// https://help.apple.com/xcode/#/dev745c5c974
|
||||
|
||||
// MARK: - MapLibre
|
||||
MAPLIBRE_API_KEY = your_key
|
||||
@@ -42,10 +42,6 @@ targets:
|
||||
type: application
|
||||
platform: iOS
|
||||
|
||||
configFiles:
|
||||
Debug: ../SupportingFiles/secrets.xcconfig
|
||||
Release: ../SupportingFiles/secrets.xcconfig
|
||||
|
||||
info:
|
||||
path: ../SupportingFiles/Info.plist
|
||||
properties:
|
||||
@@ -109,8 +105,6 @@ targets:
|
||||
LSHandlerRank: Owner
|
||||
LSItemContentTypes: $(PILLS_UT_TYPE_IDENTIFIER)
|
||||
LSSupportsOpeningDocumentsInPlace: false
|
||||
mapLibreAPIKey: $(MAPLIBRE_API_KEY)
|
||||
|
||||
|
||||
settings:
|
||||
base:
|
||||
@@ -226,6 +220,7 @@ targets:
|
||||
excludes:
|
||||
- Other/Extensions/XCTestCase.swift
|
||||
- Other/Extensions/XCUIElement.swift
|
||||
- path: ../../Secrets/Secrets.swift
|
||||
- path: ../Resources
|
||||
- path: ../SupportingFiles
|
||||
- path: ../../Tools/Scripts/Templates/SimpleScreenExample/ElementX
|
||||
|
||||
Reference in New Issue
Block a user