forked from project-chip/connectedhomeip
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Darwin: Move warning settings into the Xcode project (project-chip#32828
) * Darwin: Sort some project sections for easier maintenance * Darwin: Move warning settings into the Xcode project Enable warnings in the build settings rather than feeding them in during CI builds only. Also build targets within the project with MTR_NO_AVAILABILITY=1 and provisional / experimental APIs enabled. This means actual warnings now don't get drowned out by thousands of availability warnings. Explicitly suppress certain warnings within third-party code in dft. * Adjust xcodebuild args for darwin-framework-tool * Also adjust xcodebuild args for building unit tests * Availability is now tested via MTRAvailabilityTests * Remove iOS-debug CI variant to reduce load * Whitespace * Darwin: Remove some framework sources from the dft target
- Loading branch information
1 parent
978dfcb
commit c1f823e
Showing
4 changed files
with
180 additions
and
179 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* Copyright (c) 2024 Project CHIP Authors | ||
* | ||
* 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. | ||
*/ | ||
|
||
#import <Matter/Matter.h> | ||
|
||
// The purpose of this test is to ensure that our availablity annotations are | ||
// at least syntactically valid, because within the project we generally | ||
// compile everything with MTR_NO_AVAILABILITY=1 (so that we can internally use | ||
// and test features of Matter.framework independently of when they will ship.) | ||
#if MTR_NO_AVAILABILITY | ||
#error This test must be compiled with MTR_NO_AVAILABILITY=0 | ||
#endif |
Oops, something went wrong.