mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-10 17:46:07 -06:00
[BITAU-171] Rename Package to AuthenticatorBridgeKit (#920)
This commit is contained in:
parent
6af83fce35
commit
0ea7e9437f
@ -7,7 +7,7 @@
|
||||
<key>CFBundleIdentifier</key>
|
||||
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
|
||||
<key>CFBundleName</key>
|
||||
<string>AuthenticatorSyncKit</string>
|
||||
<string>AuthenticatorBridgeKit</string>
|
||||
<key>CFBundlePackageType</key>
|
||||
<string>FMWK</string>
|
||||
<key>CFBundleShortVersionString</key>
|
||||
@ -2,9 +2,9 @@ import CryptoKit
|
||||
import Foundation
|
||||
import XCTest
|
||||
|
||||
@testable import AuthenticatorSyncKit
|
||||
@testable import AuthenticatorBridgeKit
|
||||
|
||||
final class SharedKeychainRepositoryTests: AuthenticatorSyncKitTestCase {
|
||||
final class SharedKeychainRepositoryTests: AuthenticatorBridgeKitTestCase {
|
||||
// MARK: Properties
|
||||
|
||||
let accessGroup = "group.com.example.bitwarden"
|
||||
@ -1,6 +1,6 @@
|
||||
import Foundation
|
||||
|
||||
@testable import AuthenticatorSyncKit
|
||||
@testable import AuthenticatorBridgeKit
|
||||
|
||||
class MockAuthenticatorKeychainService {
|
||||
// MARK: Properties
|
||||
@ -1,7 +1,7 @@
|
||||
import CryptoKit
|
||||
import Foundation
|
||||
|
||||
@testable import AuthenticatorSyncKit
|
||||
@testable import AuthenticatorBridgeKit
|
||||
|
||||
class MockSharedKeychainRepository {
|
||||
var authenticatorKey: Data?
|
||||
@ -1,8 +1,8 @@
|
||||
import XCTest
|
||||
|
||||
/// Base class for any tests in the AuthenticatorSyncKit framework.
|
||||
/// Base class for any tests in the AuthenticatorBridgeKit framework.
|
||||
///
|
||||
open class AuthenticatorSyncKitTestCase: XCTestCase {
|
||||
open class AuthenticatorBridgeKitTestCase: XCTestCase {
|
||||
/// Asserts that an asynchronous block of code will throw an error. The test will fail if the
|
||||
/// block does not throw an error.
|
||||
///
|
||||
@ -1,4 +1,4 @@
|
||||
import AuthenticatorSyncKit
|
||||
import AuthenticatorBridgeKit
|
||||
import Foundation
|
||||
|
||||
// MARK: - KeychainService
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
#include "./Common.xcconfig"
|
||||
#include? "./Local.xcconfig"
|
||||
|
||||
PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).authenticator-sync-kit
|
||||
PRODUCT_BUNDLE_IDENTIFIER = $(ORGANIZATION_IDENTIFIER).authenticator-bridge-kit
|
||||
36
project.yml
36
project.yml
@ -36,15 +36,15 @@ packages:
|
||||
url: https://github.com/nalexn/ViewInspector
|
||||
exactVersion: 0.9.10
|
||||
schemes:
|
||||
AuthenticatorSyncKit:
|
||||
AuthenticatorBridgeKit:
|
||||
build:
|
||||
targets:
|
||||
AuthenticatorSyncKit: all
|
||||
AuthenticatorSyncKitTests: [test]
|
||||
AuthenticatorBridgeKit: all
|
||||
AuthenticatorBridgeKitTests: [test]
|
||||
test:
|
||||
gatherCoverageData: true
|
||||
targets:
|
||||
- AuthenticatorSyncKitTests
|
||||
- AuthenticatorBridgeKitTests
|
||||
Bitwarden:
|
||||
build:
|
||||
targets:
|
||||
@ -59,14 +59,14 @@ schemes:
|
||||
language: en
|
||||
region: US
|
||||
coverageTargets:
|
||||
- AuthenticatorSyncKit
|
||||
- AuthenticatorBridgeKit
|
||||
- Bitwarden
|
||||
- BitwardenActionExtension
|
||||
- BitwardenAutoFillExtension
|
||||
- BitwardenShareExtension
|
||||
- BitwardenShared
|
||||
targets:
|
||||
- AuthenticatorSyncKitTests
|
||||
- AuthenticatorBridgeKitTests
|
||||
- BitwardenTests
|
||||
- BitwardenActionExtensionTests
|
||||
- BitwardenAutoFillExtensionTests
|
||||
@ -136,32 +136,32 @@ schemes:
|
||||
targets:
|
||||
BitwardenWatchWidgetExtension: all
|
||||
targets:
|
||||
AuthenticatorSyncKit:
|
||||
AuthenticatorBridgeKit:
|
||||
type: framework
|
||||
platform: iOS
|
||||
configFiles:
|
||||
Debug: Configs/AuthenticatorSyncKit.xcconfig
|
||||
Release: Configs/AuthenticatorSyncKit.xcconfig
|
||||
Debug: Configs/AuthenticatorBridgeKit.xcconfig
|
||||
Release: Configs/AuthenticatorBridgeKit.xcconfig
|
||||
settings:
|
||||
base:
|
||||
APPLICATION_EXTENSION_API_ONLY: true
|
||||
INFOPLIST_FILE: AuthenticatorSyncKit/Info.plist
|
||||
INFOPLIST_FILE: AuthenticatorBridgeKit/Info.plist
|
||||
sources:
|
||||
- path: AuthenticatorSyncKit
|
||||
- path: AuthenticatorBridgeKit
|
||||
excludes:
|
||||
- "**/Tests/*"
|
||||
AuthenticatorSyncKitTests:
|
||||
AuthenticatorBridgeKitTests:
|
||||
type: bundle.unit-test
|
||||
platform: iOS
|
||||
settings:
|
||||
base:
|
||||
INFOPLIST_FILE: AuthenticatorSyncKit/Tests/TestHelpers/Support/Info.plist
|
||||
INFOPLIST_FILE: AuthenticatorBridgeKit/Tests/TestHelpers/Support/Info.plist
|
||||
sources:
|
||||
- path: AuthenticatorSyncKit
|
||||
- path: AuthenticatorBridgeKit
|
||||
includes:
|
||||
- "**/Tests/*"
|
||||
dependencies:
|
||||
- target: AuthenticatorSyncKit
|
||||
- target: AuthenticatorBridgeKit
|
||||
randomExecutionOrder: true
|
||||
Bitwarden:
|
||||
type: application
|
||||
@ -192,7 +192,7 @@ targets:
|
||||
- path: swiftgen.yml
|
||||
buildPhase: none
|
||||
dependencies:
|
||||
- target: AuthenticatorSyncKit
|
||||
- target: AuthenticatorBridgeKit
|
||||
- target: BitwardenShared
|
||||
- target: BitwardenActionExtension
|
||||
- target: BitwardenAutoFillExtension
|
||||
@ -245,7 +245,7 @@ targets:
|
||||
- "**/TestHelpers/*"
|
||||
- path: GlobalTestHelpers
|
||||
dependencies:
|
||||
- target: AuthenticatorSyncKit
|
||||
- target: AuthenticatorBridgeKit
|
||||
- target: Bitwarden
|
||||
- target: BitwardenShared
|
||||
- package: SnapshotTesting
|
||||
@ -391,7 +391,7 @@ targets:
|
||||
optional: true
|
||||
- path: BitwardenWatchShared
|
||||
dependencies:
|
||||
- target: AuthenticatorSyncKit
|
||||
- target: AuthenticatorBridgeKit
|
||||
- package: BitwardenSdk
|
||||
- package: Networking
|
||||
- package: SwiftUIIntrospect
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user