Skip to content

Commit 0803972

Browse files
authored
Add explicit Foundation import. (#3309)
This is causing issues when building an XCFramework.
1 parent d8a0e5e commit 0803972

File tree

6 files changed

+12
-0
lines changed

6 files changed

+12
-0
lines changed

GoogleUtilities/AppDelegateSwizzler/Internal/GULAppDelegateSwizzler_Private.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <Foundation/Foundation.h>
1718
#import <GoogleUtilities/GULAppDelegateSwizzler.h>
1819
#import <GoogleUtilities/GULMutableDictionary.h>
1920

GoogleUtilities/CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# Unreleased
2+
- Add explicit Foundation import for headers.
3+
14
# 6.2.1
25
- Fix Xcode 11 build warning. (#3133)
36

GoogleUtilities/Common/GULLoggerCodes.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <Foundation/Foundation.h>
18+
1719
typedef NS_ENUM(NSInteger, GULSwizzlerMessageCode) {
1820
// App Delegate Swizzling.
1921
kGULSwizzlerMessageCodeAppDelegateSwizzling000 = 1000, // I-SWZ001000

GoogleUtilities/Logger/Public/GULLoggerLevel.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <Foundation/Foundation.h>
18+
1719
/**
1820
* The log levels used by internal logging.
1921
*/

GoogleUtilities/Network/Private/GULNetworkMessageCode.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <Foundation/Foundation.h>
18+
1719
// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum.
1820
typedef NS_ENUM(NSInteger, GULNetworkMessageCode) {
1921
// GULNetwork.m

GoogleUtilities/Reachability/Private/GULReachabilityMessageCode.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
* limitations under the License.
1515
*/
1616

17+
#import <Foundation/Foundation.h>
18+
1719
// Make sure these codes do not overlap with any contained in the FIRAMessageCode enum.
1820
typedef NS_ENUM(NSInteger, GULReachabilityMessageCode) {
1921
// GULReachabilityChecker.m

0 commit comments

Comments
 (0)