Skip to content

Commit aac64a6

Browse files
authored
Add Foundation import so TARGET_OS_IOS or other TARGET_OS_* gets defined (#71)
1 parent 6bf2463 commit aac64a6

File tree

16 files changed

+30
-1
lines changed

16 files changed

+30
-1
lines changed

Example/Auth/Tests/FIRAuthTests.m

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
#import <XCTest/XCTest.h>
1820

1921
#import "FIRAppInternal.h"

Example/Auth/Tests/FIRUserTests.m

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
#import <XCTest/XCTest.h>
1820

1921
#import "EmailPassword/FIREmailAuthProvider.h"

Firebase/Auth/Source/FIRAuth.m

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
#import "Private/FIRAuth_Internal.h"
1820

1921
#import "FIRAppAssociationRegistration.h"

Firebase/Auth/Source/FIRUser.m

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
#import "Private/FIRUser_Internal.h"
1820

1921
#import "AuthProviders/EmailPassword/FIREmailPasswordAuthCredential.h"

Firebase/Auth/Source/FirebaseAuth.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
#import "FIREmailAuthProvider.h"
1820
#import "FIRFacebookAuthProvider.h"
1921
#import "FIRGitHubAuthProvider.h"

Firebase/Auth/Source/Private/FIRAuth_Internal.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
#import "FIRAuth.h"
1820

1921
#if TARGET_OS_IOS

Firebase/Auth/Source/RPCs/FIRAuthBackend.m

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
#import "FIRAuthBackend.h"
1820

1921
#import "../AuthProviders/Phone/FIRPhoneAuthCredential_Internal.h"

Firebase/Core/FIRAppEnvironmentUtil.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15-
15+
#import <Foundation/Foundation.h>
1616

1717
#import "Private/FIRAppEnvironmentUtil.h"
1818

Firebase/Core/FIRNetworkURLSession.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#import <Foundation/Foundation.h>
16+
1517
#import "Private/FIRNetworkURLSession.h"
1618

1719
#import "Private/FIRMutableDictionary.h"

Firebase/Core/FIRReachabilityChecker.m

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
// See the License for the specific language governing permissions and
1313
// limitations under the License.
1414

15+
#import <Foundation/Foundation.h>
16+
1517
#import "Private/FIRReachabilityChecker.h"
1618
#import "Private/FIRReachabilityChecker+Internal.h"
1719

0 commit comments

Comments
 (0)