[iOS][macOS] Remove iOS Xcode Project (#2082)

* Delete project/workspace for iOS, and update macOS

* Update package for version and tests on iOS

* Fix demo imports

* Update build script and docs

* Invoke xcodebuild as projects

* Update macOS targets to build properly

* Delete unused files

* Update version numbering script
This commit is contained in:
Mike Schreiber 2024-09-17 20:02:37 -07:00 коммит произвёл GitHub
Родитель 0fadbee237
Коммит 2db2f49132
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
36 изменённых файлов: 135 добавлений и 2863 удалений

Просмотреть файл

@ -46,14 +46,31 @@ let package = Package(
"TextField/TextField.resources.xcfilelist",
"Tooltip/Tooltip.resources.xcfilelist",
"TwoLineTitleView/TwoLineTitleView.resources.xcfilelist",
],
resources: [
.copy("Resources/Version.plist")
]
),
.testTarget(
name: "FluentUI_iOS_Tests",
dependencies: [
.target(name: "FluentUI_ios", condition: .when(platforms: [.iOS, .visionOS, .macCatalyst])),
],
path: "ios/FluentUI.Tests"
),
.target(
name: "FluentUI_macos",
path: "macos/FluentUI",
exclude: [
"FluentUI-Info.plist"
]
),
.testTarget(
name: "FluentUI_macOS_Tests",
dependencies: [
.target(name: "FluentUI_macos", condition: .when(platforms: [.macOS]))
],
path: "macos/FluentUIUnitTest"
)
]
)

Просмотреть файл

@ -6,7 +6,7 @@ Included in this repository is a demo that showcases all the currently available
To build and run the demo app follow these steps:
- Clone the [FluentUI](https://github.com/microsoft/fluentui-apple) repository.
- Open `ios/FluentUI.xcworkspace` in Xcode.
- Open `ios/FluentUI.Demo/FluentUI.Demo.xcodeproj` in Xcode.
- In the Xcode scheme menu choose `Demo.development` and choose an iOS Simulator(or Device if you have your own device provisioning profile) to deploy to.
- Make sure Swift Package Manager has download 2 dependencies(appcenter-sdk-apple and PLCrashReporter) for demo app.
- Build and Run the demo app

Просмотреть файл

@ -87,9 +87,8 @@
8F0B8116267021A700463726 /* AppCenterCrashes in Frameworks */ = {isa = PBXBuildFile; platformFilter = ios; productRef = 8F0B8115267021A700463726 /* AppCenterCrashes */; };
9211BC612BD97B7900B95200 /* DemoHostingController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9211BC602BD97B7900B95200 /* DemoHostingController.swift */; };
92279B352B97F5DA00994D88 /* ButtonDemoController_SwiftUI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92279B342B97F5D900994D88 /* ButtonDemoController_SwiftUI.swift */; };
923DF2DB271158C900637646 /* libFluentUI.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 923DF2DA271158C900637646 /* libFluentUI.a */; };
923DF2DF27115B4700637646 /* FluentUIResources-ios.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 923DF2DC271158CD00637646 /* FluentUIResources-ios.bundle */; };
9245E1F927BECDBB007616F3 /* GlobalColorTokensDemoController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9245E1F827BECDBB007616F3 /* GlobalColorTokensDemoController.swift */; };
9246B7072C628CF6004A4440 /* FluentUI in Frameworks */ = {isa = PBXBuildFile; productRef = 9246B7062C628CF6004A4440 /* FluentUI */; };
92561E732718AD090072ED00 /* DemoTableViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92561E722718AD090072ED00 /* DemoTableViewController.swift */; };
92B45E4E279A1A0B00E72517 /* DemoAppearanceControlView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92B45E4D279A1A0B00E72517 /* DemoAppearanceControlView.swift */; };
92BF13322BE405710068422C /* AliasColorTokensDemoController_SwiftUI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BF13312BE405710068422C /* AliasColorTokensDemoController_SwiftUI.swift */; };
@ -229,6 +228,7 @@
923DF2DA271158C900637646 /* libFluentUI.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libFluentUI.a; sourceTree = BUILT_PRODUCTS_DIR; };
923DF2DC271158CD00637646 /* FluentUIResources-ios.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; path = "FluentUIResources-ios.bundle"; sourceTree = BUILT_PRODUCTS_DIR; };
9245E1F827BECDBB007616F3 /* GlobalColorTokensDemoController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GlobalColorTokensDemoController.swift; sourceTree = "<group>"; };
9246B7052C628CAE004A4440 /* fluentui-apple */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "fluentui-apple"; path = ../..; sourceTree = "<group>"; };
92561E722718AD090072ED00 /* DemoTableViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoTableViewController.swift; sourceTree = "<group>"; };
92B45E4D279A1A0B00E72517 /* DemoAppearanceControlView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DemoAppearanceControlView.swift; sourceTree = "<group>"; };
92BF13312BE405710068422C /* AliasColorTokensDemoController_SwiftUI.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AliasColorTokensDemoController_SwiftUI.swift; sourceTree = "<group>"; };
@ -345,10 +345,10 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9246B7072C628CF6004A4440 /* FluentUI in Frameworks */,
8F0B81122670200300463726 /* AppCenterDistribute in Frameworks */,
8F0B8114267021A700463726 /* AppCenterAnalytics in Frameworks */,
8F0B8116267021A700463726 /* AppCenterCrashes in Frameworks */,
923DF2DB271158C900637646 /* libFluentUI.a in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -473,6 +473,7 @@
A5CEC20320E436F10016922A = {
isa = PBXGroup;
children = (
9246B7052C628CAE004A4440 /* fluentui-apple */,
A5CEC20E20E436F10016922A /* FluentUI.Demo */,
3A83F7C0295110FF00EF6629 /* FluentUIDemoTests */,
A5CEC20D20E436F10016922A /* Products */,
@ -645,6 +646,7 @@
8F0B81112670200300463726 /* AppCenterDistribute */,
8F0B8113267021A700463726 /* AppCenterAnalytics */,
8F0B8115267021A700463726 /* AppCenterCrashes */,
9246B7062C628CF6004A4440 /* FluentUI */,
);
productName = OfficeUIFabric.Demo;
productReference = A5CEC20C20E436F10016922A /* FluentUI.Demo.app */;
@ -745,7 +747,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
923DF2DF27115B4700637646 /* FluentUIResources-ios.bundle in Resources */,
A5CEC21C20E436F20016922A /* LaunchScreen.storyboard in Resources */,
A5CEC21920E436F20016922A /* Assets.xcassets in Resources */,
);
@ -1382,6 +1383,10 @@
package = 8F0B81102670200300463726 /* XCRemoteSwiftPackageReference "appcenter-sdk-apple" */;
productName = AppCenterCrashes;
};
9246B7062C628CF6004A4440 /* FluentUI */ = {
isa = XCSwiftPackageProductDependency;
productName = FluentUI;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = A5CEC20420E436F10016922A /* Project object */;

Просмотреть файл

@ -1,25 +1,24 @@
{
"object": {
"pins": [
{
"package": "AppCenter",
"repositoryURL": "https://github.com/microsoft/appcenter-sdk-apple.git",
"state": {
"branch": null,
"revision": "25f64229373de97ff3920941cd52203193e5d8be",
"version": "4.3.0"
}
},
{
"package": "PLCrashReporter",
"repositoryURL": "https://github.com/microsoft/PLCrashReporter.git",
"state": {
"branch": null,
"revision": "59513acde6194d93617afcf7b2c81c88638a6af2",
"version": "1.10.0"
}
"originHash" : "9368007d7da5b3af9332e1d38cf6cc8e8eaa8ccb8923fbd5137a6b91bf39293b",
"pins" : [
{
"identity" : "appcenter-sdk-apple",
"kind" : "remoteSourceControl",
"location" : "https://github.com/microsoft/appcenter-sdk-apple.git",
"state" : {
"revision" : "ab54f758243f282d290b33027e8aac910d3d859a",
"version" : "5.0.5"
}
]
},
"version": 1
},
{
"identity" : "plcrashreporter",
"kind" : "remoteSourceControl",
"location" : "https://github.com/microsoft/PLCrashReporter.git",
"state" : {
"revision" : "6752f71de206f6a53fa6a758c3660fd9a7fe7527",
"version" : "1.11.2"
}
}
],
"version" : 3
}

Просмотреть файл

@ -20,20 +20,6 @@
ReferencedContainer = "container:FluentUI.Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD01165228A820600D25925"
BuildableName = "libFluentUI.a"
BlueprintName = "FluentUILib"
ReferencedContainer = "container:../FluentUI.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
@ -68,20 +54,20 @@
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A5CEC15920D980B30016922A"
BuildableName = "FluentUITests.xctest"
BlueprintName = "FluentUITests"
ReferencedContainer = "container:../FluentUI.xcodeproj">
BlueprintIdentifier = "3A83F7BE295110FF00EF6629"
BuildableName = "FluentUIDemoTests.xctest"
BlueprintName = "FluentUIDemoTests"
ReferencedContainer = "container:FluentUI.Demo.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "3A83F7BE295110FF00EF6629"
BuildableName = "FluentUIDemoTests.xctest"
BlueprintName = "FluentUIDemoTests"
ReferencedContainer = "container:FluentUI.Demo.xcodeproj">
BlueprintIdentifier = "FluentUI_iOS_Tests"
BuildableName = "FluentUI_iOS_Tests"
BlueprintName = "FluentUI_iOS_Tests"
ReferencedContainer = "container:../..">
</BuildableReference>
</TestableReference>
</Testables>

Просмотреть файл

@ -20,20 +20,6 @@
ReferencedContainer = "container:FluentUI.Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD01165228A820600D25925"
BuildableName = "libFluentUI.a"
BlueprintName = "FluentUILib"
ReferencedContainer = "container:../FluentUI.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction

Просмотреть файл

@ -20,20 +20,6 @@
ReferencedContainer = "container:FluentUI.Demo.xcodeproj">
</BuildableReference>
</BuildActionEntry>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD01165228A820600D25925"
BuildableName = "libFluentUI.a"
BlueprintName = "FluentUILib"
ReferencedContainer = "container:../FluentUI.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
@ -64,16 +50,6 @@
</BuildableReference>
</CodeCoverageTargets>
<Testables>
<TestableReference
skipped = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A5CEC15920D980B30016922A"
BuildableName = "FluentUITests.xctest"
BlueprintName = "FluentUITests"
ReferencedContainer = "container:../FluentUI.xcodeproj">
</BuildableReference>
</TestableReference>
<TestableReference
skipped = "YES"
parallelizable = "YES">

Просмотреть файл

@ -48,9 +48,7 @@ class DemoListViewController: DemoTableViewController {
guard let appName = bundle.object(forInfoDictionaryKey: "CFBundleName") as? String else {
preconditionFailure("CFBundleName is nil")
}
guard let libraryVersion = FluentUIFramework.resourceBundle.object(forInfoDictionaryKey: "CFBundleShortVersionString") as? String else {
preconditionFailure("CFBundleShortVersionString is nil")
}
let libraryVersion = FluentUIFramework.fluentVersion
navigationItem.title = appName
navigationItem.largeTitleDisplayMode = .always
navigationItem.backButtonDisplayMode = .minimal

Просмотреть файл

@ -4,7 +4,7 @@
//
#import <UIKit/UIKit.h>
#import <FluentUI/FluentUI-Swift.h>
#import <FluentUI_Demo-Swift.h>
NS_ASSUME_NONNULL_BEGIN

Просмотреть файл

@ -4,7 +4,6 @@
//
#import "ObjectiveCDemoColorProviding.h"
#import <FluentUI/FluentUI-Swift.h>
#import <FluentUI_Demo-Swift.h>
@interface ObjectiveCDemoColorProviding () <MSFColorProviding>

Просмотреть файл

@ -5,7 +5,6 @@
#import "ObjectiveCDemoController.h"
#import "ObjectiveCDemoColorProviding.h"
#import <FluentUI/FluentUI-Swift.h>
#import <FluentUI_Demo-Swift.h>
@interface ObjectiveCDemoController () <MSFTwoLineTitleViewDelegate,

Просмотреть файл

@ -4,7 +4,7 @@
//
#import "PopupMenuObjCDemoController.h"
#import <FluentUI/FluentUI-Swift.h>
#import <FluentUI_Demo-Swift.h>
@implementation PopupMenuObjCDemoController

Просмотреть файл

@ -4,7 +4,7 @@
//
#import "TextFieldObjCDemoController.h"
#import <FluentUI/FluentUI-Swift.h>
#import <FluentUI_Demo-Swift.h>
@implementation TextFieldObjCDemoController

Просмотреть файл

@ -4,7 +4,7 @@
//
import XCTest
@testable import FluentUI
@testable import FluentUI_ios
class AvatarTests: XCTestCase {

Просмотреть файл

@ -5,7 +5,7 @@
import XCTest
import SwiftUI
@testable import FluentUI
@testable import FluentUI_ios
class ColorTests: XCTestCase {

Просмотреть файл

@ -4,7 +4,7 @@
//
import XCTest
@testable import FluentUI
@testable import FluentUI_ios
class DatePickerControllerTests: XCTestCase {
let startDate: Date = NSDate.now

Просмотреть файл

@ -4,7 +4,7 @@
//
import XCTest
@testable import FluentUI
@testable import FluentUI_ios
class FluentUITests: XCTestCase {
override func setUp() {

Просмотреть файл

@ -5,7 +5,7 @@
import XCTest
import SwiftUI
@testable import FluentUI
@testable import FluentUI_ios
class FontTests: XCTestCase {

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -1,7 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "self:FluentUI.xcodeproj">
</FileRef>
</Workspace>

Просмотреть файл

@ -1,88 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD01165228A820600D25925"
BuildableName = "libFluentUI.a"
BlueprintName = "FluentUILib"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES"
enableAddressSanitizer = "YES"
enableASanStackUseAfterReturn = "YES">
<Testables>
<TestableReference
skipped = "NO">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A5CEC15920D980B30016922A"
BuildableName = "FluentUITests.xctest"
BlueprintName = "FluentUITests"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</TestableReference>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD01165228A820600D25925"
BuildableName = "libFluentUI.a"
BlueprintName = "FluentUILib"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "8FD01165228A820600D25925"
BuildableName = "libFluentUI.a"
BlueprintName = "FluentUILib"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

Просмотреть файл

@ -1,67 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Scheme
LastUpgradeVersion = "1250"
version = "1.3">
<BuildAction
parallelizeBuildables = "YES"
buildImplicitDependencies = "YES">
<BuildActionEntries>
<BuildActionEntry
buildForTesting = "YES"
buildForRunning = "YES"
buildForProfiling = "YES"
buildForArchiving = "YES"
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A5DA88FB226FAA01000A8EA8"
BuildableName = "FluentUIResources-ios.bundle"
BlueprintName = "FluentUIResources"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
</BuildAction>
<TestAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
shouldUseLaunchSchemeArgsEnv = "YES">
<Testables>
</Testables>
</TestAction>
<LaunchAction
buildConfiguration = "Debug"
selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
launchStyle = "0"
useCustomWorkingDirectory = "NO"
ignoresPersistentStateOnLaunch = "NO"
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
shouldUseLaunchSchemeArgsEnv = "YES"
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "A5DA88FB226FAA01000A8EA8"
BuildableName = "FluentUIResources-ios.bundle"
BlueprintName = "FluentUIResources"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">
</AnalyzeAction>
<ArchiveAction
buildConfiguration = "Release"
revealArchiveInOrganizer = "YES">
</ArchiveAction>
</Scheme>

10
ios/FluentUI.xcworkspace/contents.xcworkspacedata сгенерированный
Просмотреть файл

@ -1,10 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<Workspace
version = "1.0">
<FileRef
location = "group:FluentUI.xcodeproj">
</FileRef>
<FileRef
location = "group:FluentUI.Demo/FluentUI.Demo.xcodeproj">
</FileRef>
</Workspace>

Просмотреть файл

@ -1,8 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
</dict>
</plist>

Просмотреть файл

@ -1,24 +0,0 @@
{
"originHash" : "9368007d7da5b3af9332e1d38cf6cc8e8eaa8ccb8923fbd5137a6b91bf39293b",
"pins" : [
{
"identity" : "appcenter-sdk-apple",
"kind" : "remoteSourceControl",
"location" : "https://github.com/microsoft/appcenter-sdk-apple.git",
"state" : {
"revision" : "ab54f758243f282d290b33027e8aac910d3d859a",
"version" : "5.0.5"
}
},
{
"identity" : "plcrashreporter",
"kind" : "remoteSourceControl",
"location" : "https://github.com/microsoft/PLCrashReporter.git",
"state" : {
"revision" : "6752f71de206f6a53fa6a758c3660fd9a7fe7527",
"version" : "1.11.2"
}
}
],
"version" : 3
}

Просмотреть файл

@ -23,6 +23,19 @@ public class FluentUIFramework: NSObject {
return resourceBundle
}()
@objc public static var fluentVersion: String? = {
struct VersionConfig: Decodable {
let FluentVersion: String
}
guard let url = resourceBundle.url(forResource: "Version", withExtension: "plist"),
let data = try? Data(contentsOf: url),
let versionConfig = try? PropertyListDecoder().decode(VersionConfig.self, from: data) else {
return nil
}
return versionConfig.FluentVersion
}()
@available(*, deprecated, message: "Non-fluent icons no longer supported. Setting this var no longer has any effect and it will be removed in a future update.")
@objc public static var usesFluentIcons: Bool = true

Просмотреть файл

@ -2,7 +2,7 @@
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>IDEDidComputeMac32BitWarning</key>
<true/>
<key>FluentVersion</key>
<string>0.30.0</string>
</dict>
</plist>

Просмотреть файл

@ -62,7 +62,7 @@ Included in this repository is a demo of currently implemented controls. A full
To build and deploy the demo follow these steps:
- Download or clone the [FluentUI for iOS](https://github.com/microsoft/fluentui-apple) repository.
- Open `ios/FluentUI.xcworkspace` in Xcode.
- Open `ios/FluentUI.Demo/FluentUI.Demo.xcodeproj` in Xcode.
- In the Xcode scheme menu choose `Demo.development` and choose a device to deploy to.
- Once deployed you can choose a control to demo from the list of controls on the selected device.

Просмотреть файл

@ -4,7 +4,7 @@
//
import XCTest
@testable import FluentUI
@testable import FluentUI_macos
class AvatarViewTests: XCTestCase {
func testValidInitialsCharacter () {

Просмотреть файл

@ -4,7 +4,7 @@
//
import XCTest
@testable import FluentUI
@testable import FluentUI_macos
class DatePickerControllerTests: XCTestCase {

Просмотреть файл

@ -1,14 +0,0 @@
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
@import XCTest;
NS_ASSUME_NONNULL_BEGIN
/// Ensures that importing FluentUI into ObjC has no issues.
@interface SimpleObjCTest : XCTestCase
@end
NS_ASSUME_NONNULL_END

Просмотреть файл

@ -1,10 +0,0 @@
//
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
//
@import FluentUI;
#import "SimpleObjCTest.h"
@implementation SimpleObjCTest
@end

Просмотреть файл

@ -3,11 +3,10 @@
archiveVersion = 1;
classes = {
};
objectVersion = 50;
objectVersion = 54;
objects = {
/* Begin PBXBuildFile section */
2F6759B8251E4C2600210B3C /* SimpleObjCTest.m in Sources */ = {isa = PBXBuildFile; fileRef = 2F6759B7251E4C2600210B3C /* SimpleObjCTest.m */; };
3A42751229677C3700F36FBE /* BaseTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A42751129677C3700F36FBE /* BaseTest.swift */; };
3A42751429677C3700F36FBE /* AvatarViewTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A42751329677C3700F36FBE /* AvatarViewTest.swift */; };
3A42751B29677CA100F36FBE /* BadgeViewTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A42751A29677CA100F36FBE /* BadgeViewTest.swift */; };
@ -18,38 +17,16 @@
3A42752529677D0800F36FBE /* SeparatorTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A42752429677D0800F36FBE /* SeparatorTest.swift */; };
3A42752729677D3700F36FBE /* ColorTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A42752629677D3700F36FBE /* ColorTest.swift */; };
3A80A049299EE88900A4A3D2 /* NotificationBarViewTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A80A048299EE88900A4A3D2 /* NotificationBarViewTest.swift */; };
3A8CB0E02996CB8800B68FCF /* NotificationBarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A8CB0DF2996CB8800B68FCF /* NotificationBarView.swift */; };
3A8CB0E32996CDA200B68FCF /* TestNotificationBarViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3A8CB0E12996CD6400B68FCF /* TestNotificationBarViewController.swift */; };
3F2506DB25F2C7A90049ED54 /* DynamicColor.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F2506D825F2C7A90049ED54 /* DynamicColor.swift */; };
3F2506DC25F2C7A90049ED54 /* Apperance+Theme.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3F2506DA25F2C7A90049ED54 /* Apperance+Theme.swift */; };
53BCB0DB253A72AD00620960 /* Colors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53BCB0DA253A72AD00620960 /* Colors.swift */; };
53BCB0E2253A72E000620960 /* FluentUIResources.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53BCB0E1253A72E000620960 /* FluentUIResources.swift */; };
53BCB0ED253A75BB00620960 /* AvatarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53BCB0EC253A75BB00620960 /* AvatarView.swift */; };
53BCB0F4253A75CF00620960 /* Button.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53BCB0F3253A75CF00620960 /* Button.swift */; };
53BCB0FB253A75E400620960 /* Link.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53BCB0FA253A75E400620960 /* Link.swift */; };
53BCB102253A75EF00620960 /* Separator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53BCB101253A75EF00620960 /* Separator.swift */; };
8005007722FB361200CA6343 /* DatePickerControllerTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8005007622FB361200CA6343 /* DatePickerControllerTests.swift */; };
80117A7F22DCDF6F00813D59 /* CalendarView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80117A7E22DCDF6F00813D59 /* CalendarView.swift */; };
80117A8322E0E63E00813D59 /* CalendarHeaderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 80117A8222E0E63E00813D59 /* CalendarHeaderView.swift */; };
804626C622D7908100AFA48C /* CalendarDayButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = 804626C522D7908100AFA48C /* CalendarDayButton.swift */; };
8061BF7E22EF936800F2D245 /* DatePickerView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8061BF7C22EF936700F2D245 /* DatePickerView.swift */; };
8061BF7F22EF936800F2D245 /* DatePickerController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8061BF7D22EF936700F2D245 /* DatePickerController.swift */; };
8F41CC7A2447B8DB0040B851 /* FluentUIResources-macos.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 8F41CC6D2447B60F0040B851 /* FluentUIResources-macos.bundle */; };
8F5368052295F4BF0098AC8F /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F5368042295F4BF0098AC8F /* AppDelegate.swift */; };
8F5368072295F4C10098AC8F /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 8F5368062295F4C10098AC8F /* Assets.xcassets */; };
8F53680A2295F4C10098AC8F /* MainMenu.xib in Resources */ = {isa = PBXBuildFile; fileRef = 8F5368082295F4C10098AC8F /* MainMenu.xib */; };
921AF7D7269CD3C900255791 /* FluentUI.strings in Resources */ = {isa = PBXBuildFile; fileRef = 921AF7B1269CD39C00255791 /* FluentUI.strings */; };
9B4AEBA42703CADB00B68020 /* FilledTemplateImageView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B4AEBA22703CADB00B68020 /* FilledTemplateImageView.swift */; };
9252C6222C62A8B3009C9272 /* FluentUI in Frameworks */ = {isa = PBXBuildFile; productRef = 9252C6212C62A8B3009C9272 /* FluentUI */; };
9252C6282C62A9F1009C9272 /* FluentUI in Frameworks */ = {isa = PBXBuildFile; productRef = 9252C6272C62A9F1009C9272 /* FluentUI */; };
9B4AEBAB2705206300B68020 /* TestFilledTemplateImageViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B4AEBAA2705206300B68020 /* TestFilledTemplateImageViewController.swift */; };
9B8661772A4F5DAE00FA4F78 /* TestColorProvider.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9B8661752A4F5C4800FA4F78 /* TestColorProvider.swift */; };
9BE619162A1576BD0046463A /* ColorProviding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9BE619152A1576BD0046463A /* ColorProviding.swift */; };
A257F81E2512DE45002CAA6E /* TestColorViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = A257F81C2512DDF7002CAA6E /* TestColorViewController.swift */; };
A257F826251D987E002CAA6E /* FluentUI-macos.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = A257F825251D987E002CAA6E /* FluentUI-macos.xcassets */; };
AC7235D82492E0D000D0DCA8 /* FluentUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E61C96B22295E8D60006561F /* FluentUI.framework */; };
AC7235D92492E0D000D0DCA8 /* FluentUI.framework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = E61C96B22295E8D60006561F /* FluentUI.framework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
E61C96BC2295E8D60006561F /* FluentUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E61C96B22295E8D60006561F /* FluentUI.framework */; };
E61C96C12295E8D60006561F /* AvatarViewTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = E61C96C02295E8D60006561F /* AvatarViewTests.swift */; };
E61C96CC2295EAC50006561F /* FluentUI.h in Headers */ = {isa = PBXBuildFile; fileRef = E61C96B52295E8D60006561F /* FluentUI.h */; settings = {ATTRIBUTES = (Public, ); }; };
E61C96D322962BC20006561F /* TestControlsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E61C96D222962BC20006561F /* TestControlsViewController.swift */; };
E660317224BEB46F00A132DB /* TestViewControllerWrappingView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E660317124BEB46F00A132DB /* TestViewControllerWrappingView.swift */; };
E6A92D2D24BEA8AC00562BCA /* TestSeparatorViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC97EFE8247FAB1D00DADC99 /* TestSeparatorViewController.swift */; };
@ -61,7 +38,6 @@
E6A92D3B24BEA91F00562BCA /* ContentView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A92D3A24BEA91F00562BCA /* ContentView.swift */; };
E6A92D4024BEA92000562BCA /* Preview Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E6A92D3F24BEA92000562BCA /* Preview Assets.xcassets */; };
E6A92D4F24BEAEEA00562BCA /* TestViewControllers.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6A92D4E24BEAEEA00562BCA /* TestViewControllers.swift */; };
EC3AF6A426BDC892009118F4 /* BadgeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC3AF6A326BDC892009118F4 /* BadgeView.swift */; };
EC3AF6A726BDDD30009118F4 /* TestBadgeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EC3AF6A526BDDD2A009118F4 /* TestBadgeViewController.swift */; };
/* End PBXBuildFile section */
@ -73,34 +49,6 @@
remoteGlobalIDString = 8F5368012295F4BF0098AC8F;
remoteInfo = FluentUITestApp;
};
8F41CC7B2447B8F40040B851 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E61C96A92295E8D60006561F /* Project object */;
proxyType = 1;
remoteGlobalIDString = 8F41CC6C2447B60F0040B851;
remoteInfo = "FluentUIResources-macos";
};
8F69C7B3229604A8009F69C0 /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E61C96A92295E8D60006561F /* Project object */;
proxyType = 1;
remoteGlobalIDString = E61C96B12295E8D60006561F;
remoteInfo = FluentUI;
};
E61C96BD2295E8D60006561F /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E61C96A92295E8D60006561F /* Project object */;
proxyType = 1;
remoteGlobalIDString = E61C96B12295E8D60006561F;
remoteInfo = FluentUI;
};
E660317324BEBF8F00A132DB /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E61C96A92295E8D60006561F /* Project object */;
proxyType = 1;
remoteGlobalIDString = E61C96B12295E8D60006561F;
remoteInfo = FluentUI;
};
E6A92D4624BEA9A600562BCA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E61C96A92295E8D60006561F /* Project object */;
@ -115,13 +63,6 @@
remoteGlobalIDString = E6A92D2324BEA85900562BCA;
remoteInfo = FluentUITestViewControllers;
};
E6A92D4A24BEA9B400562BCA /* PBXContainerItemProxy */ = {
isa = PBXContainerItemProxy;
containerPortal = E61C96A92295E8D60006561F /* Project object */;
proxyType = 1;
remoteGlobalIDString = E61C96B12295E8D60006561F;
remoteInfo = FluentUI;
};
/* End PBXContainerItemProxy section */
/* Begin PBXCopyFilesBuildPhase section */
@ -131,7 +72,6 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
AC7235D92492E0D000D0DCA8 /* FluentUI.framework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
@ -139,8 +79,6 @@
/* End PBXCopyFilesBuildPhase section */
/* Begin PBXFileReference section */
2F6759B6251E4C2600210B3C /* SimpleObjCTest.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = SimpleObjCTest.h; sourceTree = "<group>"; };
2F6759B7251E4C2600210B3C /* SimpleObjCTest.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SimpleObjCTest.m; sourceTree = "<group>"; };
3A42750F29677C3700F36FBE /* FluentUIDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FluentUIDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
3A42751129677C3700F36FBE /* BaseTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BaseTest.swift; sourceTree = "<group>"; };
3A42751329677C3700F36FBE /* AvatarViewTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AvatarViewTest.swift; sourceTree = "<group>"; };
@ -152,22 +90,7 @@
3A42752429677D0800F36FBE /* SeparatorTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SeparatorTest.swift; sourceTree = "<group>"; };
3A42752629677D3700F36FBE /* ColorTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ColorTest.swift; sourceTree = "<group>"; };
3A80A048299EE88900A4A3D2 /* NotificationBarViewTest.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationBarViewTest.swift; sourceTree = "<group>"; };
3A8CB0DF2996CB8800B68FCF /* NotificationBarView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = NotificationBarView.swift; sourceTree = "<group>"; };
3A8CB0E12996CD6400B68FCF /* TestNotificationBarViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestNotificationBarViewController.swift; sourceTree = "<group>"; };
3F2506D825F2C7A90049ED54 /* DynamicColor.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DynamicColor.swift; sourceTree = "<group>"; };
3F2506DA25F2C7A90049ED54 /* Apperance+Theme.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = "Apperance+Theme.swift"; sourceTree = "<group>"; };
53BCB0DA253A72AD00620960 /* Colors.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Colors.swift; sourceTree = "<group>"; };
53BCB0E1253A72E000620960 /* FluentUIResources.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FluentUIResources.swift; sourceTree = "<group>"; };
53BCB0EC253A75BB00620960 /* AvatarView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = AvatarView.swift; sourceTree = "<group>"; };
53BCB0F3253A75CF00620960 /* Button.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Button.swift; sourceTree = "<group>"; };
53BCB0FA253A75E400620960 /* Link.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Link.swift; sourceTree = "<group>"; };
53BCB101253A75EF00620960 /* Separator.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = Separator.swift; sourceTree = "<group>"; };
8005007622FB361200CA6343 /* DatePickerControllerTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatePickerControllerTests.swift; sourceTree = "<group>"; };
80117A7E22DCDF6F00813D59 /* CalendarView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CalendarView.swift; sourceTree = "<group>"; };
80117A8222E0E63E00813D59 /* CalendarHeaderView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CalendarHeaderView.swift; sourceTree = "<group>"; };
804626C522D7908100AFA48C /* CalendarDayButton.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CalendarDayButton.swift; sourceTree = "<group>"; };
8061BF7C22EF936700F2D245 /* DatePickerView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatePickerView.swift; sourceTree = "<group>"; };
8061BF7D22EF936700F2D245 /* DatePickerController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = DatePickerController.swift; sourceTree = "<group>"; };
8061BF8222EF957200F2D245 /* TestDatePickerController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestDatePickerController.swift; sourceTree = "<group>"; };
8F250B8C22B3062A00142B0E /* TestAvatarViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestAvatarViewController.swift; sourceTree = "<group>"; };
8F3572322361143B0076FBBE /* FluentUI.xctestplan */ = {isa = PBXFileReference; lastKnownFileType = text; path = FluentUI.xctestplan; sourceTree = "<group>"; };
@ -217,56 +140,14 @@
8F79192724589B6D00C84086 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/MainMenu.strings; sourceTree = "<group>"; };
8F79192924589B6E00C84086 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/MainMenu.strings; sourceTree = "<group>"; };
8F931A6C22BD593300311764 /* FluentUI_unittest.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = FluentUI_unittest.xcconfig; sourceTree = "<group>"; };
921AF7B2269CD39C00255791 /* de */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = de; path = de.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7B3269CD39C00255791 /* he */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = he; path = he.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7B4269CD39C00255791 /* ar */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ar; path = ar.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7B5269CD39C00255791 /* el */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = el; path = el.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7B6269CD39C00255791 /* zh-Hans */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hans"; path = "zh-Hans.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7B7269CD39C00255791 /* ja */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ja; path = ja.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7B8269CD39C00255791 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7B9269CD39C00255791 /* uk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = uk; path = uk.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7BA269CD39C00255791 /* nb-NO */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "nb-NO"; path = "nb-NO.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7BB269CD39C00255791 /* en-GB */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "en-GB"; path = "en-GB.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7BC269CD39C00255791 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7BD269CD39C00255791 /* da */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = da; path = da.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7BE269CD39C00255791 /* it */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = it; path = it.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7BF269CD39C00255791 /* sk */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sk; path = sk.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C0269CD39C00255791 /* ms */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ms; path = ms.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C1269CD39C00255791 /* sv */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = sv; path = sv.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C2269CD39C00255791 /* cs */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = cs; path = cs.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C3269CD39C00255791 /* ko */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ko; path = ko.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C4269CD39C00255791 /* zh-Hant */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "zh-Hant"; path = "zh-Hant.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7C5269CD39C00255791 /* hu */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hu; path = hu.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C6269CD39C00255791 /* tr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = tr; path = tr.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C7269CD39C00255791 /* pl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = pl; path = pl.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7C8269CD39C00255791 /* pt-BR */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-BR"; path = "pt-BR.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7C9269CD39C00255791 /* vi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = vi; path = vi.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7CA269CD39C00255791 /* es-MX */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "es-MX"; path = "es-MX.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7CB269CD39C00255791 /* ru */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ru; path = ru.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7CC269CD39C00255791 /* fr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fr; path = fr.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7CD269CD39C00255791 /* fi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = fi; path = fi.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7CE269CD39C00255791 /* id */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = id; path = id.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7CF269CD39C00255791 /* nl */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = nl; path = nl.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7D0269CD39C00255791 /* th */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = th; path = th.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7D1269CD39C00255791 /* pt-PT */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = "pt-PT"; path = "pt-PT.lproj/FluentUI.strings"; sourceTree = "<group>"; };
921AF7D2269CD39C00255791 /* ro */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ro; path = ro.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7D3269CD39C00255791 /* hr */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hr; path = hr.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7D4269CD39C00255791 /* hi */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = hi; path = hi.lproj/FluentUI.strings; sourceTree = "<group>"; };
921AF7D5269CD39C00255791 /* ca */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = ca; path = ca.lproj/FluentUI.strings; sourceTree = "<group>"; };
9B4AEBA22703CADB00B68020 /* FilledTemplateImageView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = FilledTemplateImageView.swift; sourceTree = "<group>"; };
9252C61E2C62A881009C9272 /* fluentui-apple */ = {isa = PBXFileReference; lastKnownFileType = wrapper; name = "fluentui-apple"; path = ../..; sourceTree = "<group>"; };
9B4AEBAA2705206300B68020 /* TestFilledTemplateImageViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestFilledTemplateImageViewController.swift; sourceTree = "<group>"; };
9B8661752A4F5C4800FA4F78 /* TestColorProvider.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestColorProvider.swift; sourceTree = "<group>"; };
9BE619152A1576BD0046463A /* ColorProviding.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ColorProviding.swift; sourceTree = "<group>"; };
A257F81C2512DDF7002CAA6E /* TestColorViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestColorViewController.swift; sourceTree = "<group>"; };
A257F825251D987E002CAA6E /* FluentUI-macos.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = "FluentUI-macos.xcassets"; path = "../FluentUI/Resources/FluentUI-macos.xcassets"; sourceTree = "<group>"; };
AC97EFE3247541E100DADC99 /* TestButtonViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = TestButtonViewController.swift; sourceTree = "<group>"; };
AC97EFE8247FAB1D00DADC99 /* TestSeparatorViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestSeparatorViewController.swift; sourceTree = "<group>"; };
E61C96B22295E8D60006561F /* FluentUI.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = FluentUI.framework; sourceTree = BUILT_PRODUCTS_DIR; };
E61C96B52295E8D60006561F /* FluentUI.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = FluentUI.h; sourceTree = "<group>"; };
E61C96B62295E8D60006561F /* FluentUI-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FluentUI-Info.plist"; sourceTree = "<group>"; };
E61C96BB2295E8D60006561F /* FluentUIUnitTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = FluentUIUnitTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
E61C96C02295E8D60006561F /* AvatarViewTests.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AvatarViewTests.swift; sourceTree = "<group>"; };
E61C96C22295E8D60006561F /* FluentUIUnitTest-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "FluentUIUnitTest-Info.plist"; sourceTree = "<group>"; };
E61C96CE2295ED8A0006561F /* FluentUI_framework.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = FluentUI_framework.xcconfig; sourceTree = "<group>"; };
E61C96CF2295F6FE0006561F /* FluentUI_common.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = FluentUI_common.xcconfig; sourceTree = "<group>"; };
E61C96D02295FA360006561F /* FluentUI_debug.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = FluentUI_debug.xcconfig; sourceTree = "<group>"; };
@ -284,7 +165,6 @@
E6A92D4C24BEAA0200562BCA /* FluentUI_swiftui_testapp.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = FluentUI_swiftui_testapp.xcconfig; sourceTree = "<group>"; };
E6A92D4D24BEAA0200562BCA /* FluentUI_testviewcontrollers.xcconfig */ = {isa = PBXFileReference; lastKnownFileType = text.xcconfig; path = FluentUI_testviewcontrollers.xcconfig; sourceTree = "<group>"; };
E6A92D4E24BEAEEA00562BCA /* TestViewControllers.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestViewControllers.swift; sourceTree = "<group>"; };
EC3AF6A326BDC892009118F4 /* BadgeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BadgeView.swift; sourceTree = "<group>"; };
EC3AF6A526BDDD2A009118F4 /* TestBadgeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TestBadgeViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -307,14 +187,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
AC7235D82492E0D000D0DCA8 /* FluentUI.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E61C96AF2295E8D60006561F /* Frameworks */ = {
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
9252C6222C62A8B3009C9272 /* FluentUI in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -322,7 +195,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
E61C96BC2295E8D60006561F /* FluentUI.framework in Frameworks */,
9252C6282C62A9F1009C9272 /* FluentUI in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -360,84 +233,6 @@
path = FluentUIDemoTests;
sourceTree = "<group>";
};
3A8CB0DE2996CA1B00B68FCF /* Notification */ = {
isa = PBXGroup;
children = (
3A8CB0DF2996CB8800B68FCF /* NotificationBarView.swift */,
);
path = Notification;
sourceTree = "<group>";
};
3F2506D725F2C7A90049ED54 /* DynamicColor */ = {
isa = PBXGroup;
children = (
3F2506D825F2C7A90049ED54 /* DynamicColor.swift */,
);
path = DynamicColor;
sourceTree = "<group>";
};
3F2506D925F2C7A90049ED54 /* Appearance */ = {
isa = PBXGroup;
children = (
3F2506DA25F2C7A90049ED54 /* Apperance+Theme.swift */,
);
path = Appearance;
sourceTree = "<group>";
};
53BCB0D9253A724700620960 /* Core */ = {
isa = PBXGroup;
children = (
53BCB0E1253A72E000620960 /* FluentUIResources.swift */,
9BE619152A1576BD0046463A /* ColorProviding.swift */,
53BCB0DA253A72AD00620960 /* Colors.swift */,
);
path = Core;
sourceTree = "<group>";
};
53BCB0E8253A74DF00620960 /* AvatarView */ = {
isa = PBXGroup;
children = (
53BCB0EC253A75BB00620960 /* AvatarView.swift */,
);
path = AvatarView;
sourceTree = "<group>";
};
53BCB0E9253A74FE00620960 /* Button */ = {
isa = PBXGroup;
children = (
53BCB0F3253A75CF00620960 /* Button.swift */,
);
path = Button;
sourceTree = "<group>";
};
53BCB0EA253A752400620960 /* Link */ = {
isa = PBXGroup;
children = (
53BCB0FA253A75E400620960 /* Link.swift */,
);
path = Link;
sourceTree = "<group>";
};
53BCB0EB253A753400620960 /* Separator */ = {
isa = PBXGroup;
children = (
53BCB101253A75EF00620960 /* Separator.swift */,
);
path = Separator;
sourceTree = "<group>";
};
804626C722D7909200AFA48C /* DatePicker */ = {
isa = PBXGroup;
children = (
804626C522D7908100AFA48C /* CalendarDayButton.swift */,
80117A8222E0E63E00813D59 /* CalendarHeaderView.swift */,
80117A7E22DCDF6F00813D59 /* CalendarView.swift */,
8061BF7C22EF936700F2D245 /* DatePickerView.swift */,
8061BF7D22EF936700F2D245 /* DatePickerController.swift */,
);
path = DatePicker;
sourceTree = "<group>";
};
8F41CC6E2447B60F0040B851 /* FluentUIResources-macos */ = {
isa = PBXGroup;
children = (
@ -460,30 +255,6 @@
path = ../FluentUITestApp;
sourceTree = "<group>";
};
921AF7AF269CD39C00255791 /* Resources */ = {
isa = PBXGroup;
children = (
921AF7B0269CD39C00255791 /* Strings */,
);
path = Resources;
sourceTree = "<group>";
};
921AF7B0269CD39C00255791 /* Strings */ = {
isa = PBXGroup;
children = (
921AF7B1269CD39C00255791 /* FluentUI.strings */,
);
path = Strings;
sourceTree = "<group>";
};
9B4AEBA12703CADB00B68020 /* FilledTemplateImageView */ = {
isa = PBXGroup;
children = (
9B4AEBA22703CADB00B68020 /* FilledTemplateImageView.swift */,
);
path = FilledTemplateImageView;
sourceTree = "<group>";
};
AC7235D72492E0D000D0DCA8 /* Frameworks */ = {
isa = PBXGroup;
children = (
@ -494,14 +265,13 @@
E61C96A82295E8D60006561F = {
isa = PBXGroup;
children = (
9252C61E2C62A881009C9272 /* fluentui-apple */,
A257F825251D987E002CAA6E /* FluentUI-macos.xcassets */,
E61C96B42295E8D60006561F /* FluentUI */,
3A42751029677C3700F36FBE /* FluentUIDemoTests */,
8F41CC6E2447B60F0040B851 /* FluentUIResources-macos */,
E6A92D2524BEA85900562BCA /* FluentUITestViewControllers */,
8F5368032295F4BF0098AC8F /* FluentUITestApp */,
E6A92D3724BEA91F00562BCA /* FluentUISwiftUITestApp */,
E61C96BF2295E8D60006561F /* FluentUIUnitTest */,
E61C96CD2295ED530006561F /* xcode */,
E61C96B32295E8D60006561F /* Products */,
AC7235D72492E0D000D0DCA8 /* Frameworks */,
@ -514,7 +284,6 @@
E61C96B32295E8D60006561F /* Products */ = {
isa = PBXGroup;
children = (
E61C96B22295E8D60006561F /* FluentUI.framework */,
E61C96BB2295E8D60006561F /* FluentUIUnitTests.xctest */,
8F5368022295F4BF0098AC8F /* FluentUITestApp.app */,
8F41CC6D2447B60F0040B851 /* FluentUIResources-macos.bundle */,
@ -525,41 +294,6 @@
name = Products;
sourceTree = "<group>";
};
E61C96B42295E8D60006561F /* FluentUI */ = {
isa = PBXGroup;
children = (
3F2506D925F2C7A90049ED54 /* Appearance */,
53BCB0E8253A74DF00620960 /* AvatarView */,
EC3AF6A226BDC67D009118F4 /* Badge */,
53BCB0E9253A74FE00620960 /* Button */,
53BCB0D9253A724700620960 /* Core */,
804626C722D7909200AFA48C /* DatePicker */,
3F2506D725F2C7A90049ED54 /* DynamicColor */,
9B4AEBA12703CADB00B68020 /* FilledTemplateImageView */,
53BCB0EA253A752400620960 /* Link */,
3A8CB0DE2996CA1B00B68FCF /* Notification */,
921AF7AF269CD39C00255791 /* Resources */,
53BCB0EB253A753400620960 /* Separator */,
E61C96B62295E8D60006561F /* FluentUI-Info.plist */,
E61C96B52295E8D60006561F /* FluentUI.h */,
);
name = FluentUI;
path = ../FluentUI;
sourceTree = "<group>";
};
E61C96BF2295E8D60006561F /* FluentUIUnitTest */ = {
isa = PBXGroup;
children = (
E61C96C02295E8D60006561F /* AvatarViewTests.swift */,
8005007622FB361200CA6343 /* DatePickerControllerTests.swift */,
E61C96C22295E8D60006561F /* FluentUIUnitTest-Info.plist */,
2F6759B6251E4C2600210B3C /* SimpleObjCTest.h */,
2F6759B7251E4C2600210B3C /* SimpleObjCTest.m */,
);
name = FluentUIUnitTest;
path = ../FluentUIUnitTest;
sourceTree = "<group>";
};
E61C96CD2295ED530006561F /* xcode */ = {
isa = PBXGroup;
children = (
@ -618,25 +352,9 @@
path = "Preview Content";
sourceTree = "<group>";
};
EC3AF6A226BDC67D009118F4 /* Badge */ = {
isa = PBXGroup;
children = (
EC3AF6A326BDC892009118F4 /* BadgeView.swift */,
);
path = Badge;
sourceTree = "<group>";
};
/* End PBXGroup section */
/* Begin PBXHeadersBuildPhase section */
E61C96AD2295E8D60006561F /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
files = (
E61C96CC2295EAC50006561F /* FluentUI.h in Headers */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E6A92D2024BEA85900562BCA /* Headers */ = {
isa = PBXHeadersBuildPhase;
buildActionMask = 2147483647;
@ -694,34 +412,17 @@
buildRules = (
);
dependencies = (
9252C6202C62A8AB009C9272 /* PBXTargetDependency */,
E6A92D4724BEA9A600562BCA /* PBXTargetDependency */,
8F69C7B4229604A8009F69C0 /* PBXTargetDependency */,
);
name = FluentUITestApp;
packageProductDependencies = (
9252C6212C62A8B3009C9272 /* FluentUI */,
);
productName = FluentUITestApp;
productReference = 8F5368022295F4BF0098AC8F /* FluentUITestApp.app */;
productType = "com.apple.product-type.application";
};
E61C96B12295E8D60006561F /* FluentUI */ = {
isa = PBXNativeTarget;
buildConfigurationList = E61C96C62295E8D60006561F /* Build configuration list for PBXNativeTarget "FluentUI" */;
buildPhases = (
E61C96AD2295E8D60006561F /* Headers */,
E61C96AE2295E8D60006561F /* Sources */,
E61C96AF2295E8D60006561F /* Frameworks */,
E61C96B02295E8D60006561F /* Resources */,
5328556A25ACC3B40042C3B9 /* Run swiftlint */,
);
buildRules = (
);
dependencies = (
8F41CC7C2447B8F40040B851 /* PBXTargetDependency */,
);
name = FluentUI;
productName = FluentUI;
productReference = E61C96B22295E8D60006561F /* FluentUI.framework */;
productType = "com.apple.product-type.framework";
};
E61C96BA2295E8D60006561F /* FluentUITests */ = {
isa = PBXNativeTarget;
buildConfigurationList = E61C96C92295E8D60006561F /* Build configuration list for PBXNativeTarget "FluentUITests" */;
@ -733,9 +434,12 @@
buildRules = (
);
dependencies = (
E61C96BE2295E8D60006561F /* PBXTargetDependency */,
9252C6262C62A8F6009C9272 /* PBXTargetDependency */,
);
name = FluentUITests;
packageProductDependencies = (
9252C6272C62A9F1009C9272 /* FluentUI */,
);
productName = FluentUITests;
productReference = E61C96BB2295E8D60006561F /* FluentUIUnitTests.xctest */;
productType = "com.apple.product-type.bundle.unit-test";
@ -751,7 +455,7 @@
buildRules = (
);
dependencies = (
E660317424BEBF8F00A132DB /* PBXTargetDependency */,
9252C6242C62A8DC009C9272 /* PBXTargetDependency */,
);
name = FluentUITestViewControllers;
productName = FluentUITestViewControllers;
@ -769,7 +473,6 @@
buildRules = (
);
dependencies = (
E6A92D4B24BEA9B400562BCA /* PBXTargetDependency */,
E6A92D4924BEA9AF00562BCA /* PBXTargetDependency */,
);
name = FluentUISwiftUITestApp;
@ -797,10 +500,6 @@
8F5368012295F4BF0098AC8F = {
CreatedOnToolsVersion = 10.2.1;
};
E61C96B12295E8D60006561F = {
CreatedOnToolsVersion = 10.2.1;
LastSwiftMigration = 1020;
};
E61C96BA2295E8D60006561F = {
CreatedOnToolsVersion = 10.2.1;
};
@ -860,7 +559,6 @@
projectDirPath = "";
projectRoot = "";
targets = (
E61C96B12295E8D60006561F /* FluentUI */,
E61C96BA2295E8D60006561F /* FluentUITests */,
3A42750E29677C3700F36FBE /* FluentUIDemoTests */,
8F5368012295F4BF0098AC8F /* FluentUITestApp */,
@ -883,7 +581,6 @@
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
921AF7D7269CD3C900255791 /* FluentUI.strings in Resources */,
A257F826251D987E002CAA6E /* FluentUI-macos.xcassets in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
@ -897,14 +594,6 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
E61C96B02295E8D60006561F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
files = (
8F41CC7A2447B8DB0040B851 /* FluentUIResources-macos.bundle in Resources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E61C96B92295E8D60006561F /* Resources */ = {
isa = PBXResourcesBuildPhase;
buildActionMask = 2147483647;
@ -922,27 +611,6 @@
};
/* End PBXResourcesBuildPhase section */
/* Begin PBXShellScriptBuildPhase section */
5328556A25ACC3B40042C3B9 /* Run swiftlint */ = {
isa = PBXShellScriptBuildPhase;
buildActionMask = 2147483647;
files = (
);
inputFileListPaths = (
);
inputPaths = (
);
name = "Run swiftlint";
outputFileListPaths = (
);
outputPaths = (
);
runOnlyForDeploymentPostprocessing = 0;
shellPath = /bin/sh;
shellScript = "# Adds support for Apple Silicon brew directory\nexport PATH=\"$PATH:/opt/homebrew/bin\"\n\nif which swiftlint >/dev/null; then\n export LINTPATH=\"${LOCROOT}/../\"\n swiftlint --config ../../.swiftlint.yml\nelse\n echo \"warning: SwiftLint not installed, download from https://github.com/realm/SwiftLint\"\nfi\n";
};
/* End PBXShellScriptBuildPhase section */
/* Begin PBXSourcesBuildPhase section */
3A42750B29677C3700F36FBE /* Sources */ = {
isa = PBXSourcesBuildPhase;
@ -977,37 +645,10 @@
);
runOnlyForDeploymentPostprocessing = 0;
};
E61C96AE2295E8D60006561F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
804626C622D7908100AFA48C /* CalendarDayButton.swift in Sources */,
53BCB0DB253A72AD00620960 /* Colors.swift in Sources */,
53BCB102253A75EF00620960 /* Separator.swift in Sources */,
80117A8322E0E63E00813D59 /* CalendarHeaderView.swift in Sources */,
3A8CB0E02996CB8800B68FCF /* NotificationBarView.swift in Sources */,
53BCB0ED253A75BB00620960 /* AvatarView.swift in Sources */,
3F2506DC25F2C7A90049ED54 /* Apperance+Theme.swift in Sources */,
53BCB0FB253A75E400620960 /* Link.swift in Sources */,
EC3AF6A426BDC892009118F4 /* BadgeView.swift in Sources */,
80117A7F22DCDF6F00813D59 /* CalendarView.swift in Sources */,
53BCB0E2253A72E000620960 /* FluentUIResources.swift in Sources */,
8061BF7E22EF936800F2D245 /* DatePickerView.swift in Sources */,
3F2506DB25F2C7A90049ED54 /* DynamicColor.swift in Sources */,
9B4AEBA42703CADB00B68020 /* FilledTemplateImageView.swift in Sources */,
8061BF7F22EF936800F2D245 /* DatePickerController.swift in Sources */,
9BE619162A1576BD0046463A /* ColorProviding.swift in Sources */,
53BCB0F4253A75CF00620960 /* Button.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
E61C96B72295E8D60006561F /* Sources */ = {
isa = PBXSourcesBuildPhase;
buildActionMask = 2147483647;
files = (
E61C96C12295E8D60006561F /* AvatarViewTests.swift in Sources */,
2F6759B8251E4C2600210B3C /* SimpleObjCTest.m in Sources */,
8005007722FB361200CA6343 /* DatePickerControllerTests.swift in Sources */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -1047,25 +688,17 @@
target = 8F5368012295F4BF0098AC8F /* FluentUITestApp */;
targetProxy = 3A42751529677C3700F36FBE /* PBXContainerItemProxy */;
};
8F41CC7C2447B8F40040B851 /* PBXTargetDependency */ = {
9252C6202C62A8AB009C9272 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = 8F41CC6C2447B60F0040B851 /* FluentUIResources-macos */;
targetProxy = 8F41CC7B2447B8F40040B851 /* PBXContainerItemProxy */;
productRef = 9252C61F2C62A8AB009C9272 /* FluentUI */;
};
8F69C7B4229604A8009F69C0 /* PBXTargetDependency */ = {
9252C6242C62A8DC009C9272 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E61C96B12295E8D60006561F /* FluentUI */;
targetProxy = 8F69C7B3229604A8009F69C0 /* PBXContainerItemProxy */;
productRef = 9252C6232C62A8DC009C9272 /* FluentUI */;
};
E61C96BE2295E8D60006561F /* PBXTargetDependency */ = {
9252C6262C62A8F6009C9272 /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E61C96B12295E8D60006561F /* FluentUI */;
targetProxy = E61C96BD2295E8D60006561F /* PBXContainerItemProxy */;
};
E660317424BEBF8F00A132DB /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E61C96B12295E8D60006561F /* FluentUI */;
targetProxy = E660317324BEBF8F00A132DB /* PBXContainerItemProxy */;
productRef = 9252C6252C62A8F6009C9272 /* FluentUI */;
};
E6A92D4724BEA9A600562BCA /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
@ -1077,11 +710,6 @@
target = E6A92D2324BEA85900562BCA /* FluentUITestViewControllers */;
targetProxy = E6A92D4824BEA9AF00562BCA /* PBXContainerItemProxy */;
};
E6A92D4B24BEA9B400562BCA /* PBXTargetDependency */ = {
isa = PBXTargetDependency;
target = E61C96B12295E8D60006561F /* FluentUI */;
targetProxy = E6A92D4A24BEA9B400562BCA /* PBXContainerItemProxy */;
};
/* End PBXTargetDependency section */
/* Begin PBXVariantGroup section */
@ -1129,49 +757,6 @@
name = MainMenu.xib;
sourceTree = "<group>";
};
921AF7B1269CD39C00255791 /* FluentUI.strings */ = {
isa = PBXVariantGroup;
children = (
921AF7B2269CD39C00255791 /* de */,
921AF7B3269CD39C00255791 /* he */,
921AF7B4269CD39C00255791 /* ar */,
921AF7B5269CD39C00255791 /* el */,
921AF7B6269CD39C00255791 /* zh-Hans */,
921AF7B7269CD39C00255791 /* ja */,
921AF7B8269CD39C00255791 /* en */,
921AF7B9269CD39C00255791 /* uk */,
921AF7BA269CD39C00255791 /* nb-NO */,
921AF7BB269CD39C00255791 /* en-GB */,
921AF7BC269CD39C00255791 /* es */,
921AF7BD269CD39C00255791 /* da */,
921AF7BE269CD39C00255791 /* it */,
921AF7BF269CD39C00255791 /* sk */,
921AF7C0269CD39C00255791 /* ms */,
921AF7C1269CD39C00255791 /* sv */,
921AF7C2269CD39C00255791 /* cs */,
921AF7C3269CD39C00255791 /* ko */,
921AF7C4269CD39C00255791 /* zh-Hant */,
921AF7C5269CD39C00255791 /* hu */,
921AF7C6269CD39C00255791 /* tr */,
921AF7C7269CD39C00255791 /* pl */,
921AF7C8269CD39C00255791 /* pt-BR */,
921AF7C9269CD39C00255791 /* vi */,
921AF7CA269CD39C00255791 /* es-MX */,
921AF7CB269CD39C00255791 /* ru */,
921AF7CC269CD39C00255791 /* fr */,
921AF7CD269CD39C00255791 /* fi */,
921AF7CE269CD39C00255791 /* id */,
921AF7CF269CD39C00255791 /* nl */,
921AF7D0269CD39C00255791 /* th */,
921AF7D1269CD39C00255791 /* pt-PT */,
921AF7D2269CD39C00255791 /* ro */,
921AF7D3269CD39C00255791 /* hr */,
921AF7D4269CD39C00255791 /* hi */,
921AF7D5269CD39C00255791 /* ca */,
);
name = FluentUI.strings;
sourceTree = "<group>";
};
/* End PBXVariantGroup section */
/* Begin XCBuildConfiguration section */
@ -1358,20 +943,6 @@
};
name = Release;
};
E61C96C72295E8D60006561F /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = E61C96CE2295ED8A0006561F /* FluentUI_framework.xcconfig */;
buildSettings = {
};
name = Debug;
};
E61C96C82295E8D60006561F /* Release */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = E61C96CE2295ED8A0006561F /* FluentUI_framework.xcconfig */;
buildSettings = {
};
name = Release;
};
E61C96CA2295E8D60006561F /* Debug */ = {
isa = XCBuildConfiguration;
baseConfigurationReference = 8F931A6C22BD593300311764 /* FluentUI_unittest.xcconfig */;
@ -1455,15 +1026,6 @@
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E61C96C62295E8D60006561F /* Build configuration list for PBXNativeTarget "FluentUI" */ = {
isa = XCConfigurationList;
buildConfigurations = (
E61C96C72295E8D60006561F /* Debug */,
E61C96C82295E8D60006561F /* Release */,
);
defaultConfigurationIsVisible = 0;
defaultConfigurationName = Release;
};
E61C96C92295E8D60006561F /* Build configuration list for PBXNativeTarget "FluentUITests" */ = {
isa = XCConfigurationList;
buildConfigurations = (
@ -1492,6 +1054,29 @@
defaultConfigurationName = Release;
};
/* End XCConfigurationList section */
/* Begin XCSwiftPackageProductDependency section */
9252C61F2C62A8AB009C9272 /* FluentUI */ = {
isa = XCSwiftPackageProductDependency;
productName = FluentUI;
};
9252C6212C62A8B3009C9272 /* FluentUI */ = {
isa = XCSwiftPackageProductDependency;
productName = FluentUI;
};
9252C6232C62A8DC009C9272 /* FluentUI */ = {
isa = XCSwiftPackageProductDependency;
productName = FluentUI;
};
9252C6252C62A8F6009C9272 /* FluentUI */ = {
isa = XCSwiftPackageProductDependency;
productName = FluentUI;
};
9252C6272C62A9F1009C9272 /* FluentUI */ = {
isa = XCSwiftPackageProductDependency;
productName = FluentUI;
};
/* End XCSwiftPackageProductDependency section */
};
rootObject = E61C96A92295E8D60006561F /* Project object */;
}

Просмотреть файл

@ -14,10 +14,10 @@
buildForAnalyzing = "YES">
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E61C96B12295E8D60006561F"
BuildableName = "FluentUI.framework"
BlueprintIdentifier = "FluentUI"
BuildableName = "FluentUI"
BlueprintName = "FluentUI"
ReferencedContainer = "container:FluentUI.xcodeproj">
ReferencedContainer = "container:../..">
</BuildableReference>
</BuildActionEntry>
</BuildActionEntries>
@ -52,15 +52,6 @@
debugDocumentVersioning = "YES"
debugServiceExtension = "internal"
allowLocationSimulation = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E61C96B12295E8D60006561F"
BuildableName = "FluentUI.framework"
BlueprintName = "FluentUI"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</MacroExpansion>
</LaunchAction>
<ProfileAction
buildConfiguration = "Release"
@ -68,15 +59,6 @@
savedToolIdentifier = ""
useCustomWorkingDirectory = "NO"
debugDocumentVersioning = "YES">
<MacroExpansion>
<BuildableReference
BuildableIdentifier = "primary"
BlueprintIdentifier = "E61C96B12295E8D60006561F"
BuildableName = "FluentUI.framework"
BlueprintName = "FluentUI"
ReferencedContainer = "container:FluentUI.xcodeproj">
</BuildableReference>
</MacroExpansion>
</ProfileAction>
<AnalyzeAction
buildConfiguration = "Debug">

Просмотреть файл

@ -157,7 +157,7 @@ let majorBump = Int(values[0])!
updatePlist(path: "\(currentDirectory)/ios/FluentUI.Demo/FluentUI.Demo/Info.plist",
values: ["\(1 + majorBump)\(croppedNewValue)", "\(137 + majorBump)\(croppedNewValue)"])
updatePlist(path: "\(currentDirectory)/ios/FluentUI.Resources/Info.plist",
updatePlist(path: "\(currentDirectory)/ios/FluentUI.Resources/Version.plist",
values: [newVersion, newVersion])
updatePlist(path: "\(currentDirectory)/macos/FluentUI/FluentUI-Info.plist",

Просмотреть файл

@ -30,7 +30,7 @@ function invoke_xcodebuild()
# \param $3+ build commands
function ios_simulator_build()
{
invoke_xcodebuild workspace "ios/FluentUI.xcworkspace" "$1" "$2" iphonesimulator "${@:3}"
invoke_xcodebuild project "ios/FluentUI.Demo/FluentUI.Demo.xcodeproj" "$1" "$2" iphonesimulator "${@:3}"
return $?
}
@ -41,7 +41,7 @@ function ios_simulator_build()
# \param $3+ build commands
function ios_device_build()
{
invoke_xcodebuild workspace "ios/FluentUI.xcworkspace" "$1" "$2" iphoneos "${@:3}"
invoke_xcodebuild project "ios/FluentUI.Demo/FluentUI.Demo.xcodeproj" "$1" "$2" iphoneos "${@:3}"
return $?
}
@ -63,7 +63,7 @@ function macos_build()
# \param $3+ build commands
function visionos_simulator_build()
{
invoke_xcodebuild workspace "ios/FluentUI.xcworkspace" "$1" "$2" xrsimulator "${@:3}"
invoke_xcodebuild project "ios/FluentUI.Demo/FluentUI.Demo.xcodeproj" "$1" "$2" xrsimulator "${@:3}"
return $?
}