Skip to content
This repository was archived by the owner on Apr 18, 2023. It is now read-only.

Commit 747af44

Browse files
author
Vikas Dadheech
committed
Add support for mac platform to models project
1 parent 00a0b39 commit 747af44

23 files changed

+158
-158
lines changed

MSGraphCoreSDK.podspec

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@ Pod::Spec.new do |s|
1616

1717

1818
s.ios.deployment_target = "9.0"
19-
#s.osx.deployment_target = "10.7"
19+
s.osx.deployment_target = "10.10"
2020

21-
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :branch => "vidadhee/ModelsIntegration" }
21+
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :branch => "vidadhee/MacSupport" }
2222

2323

2424

MSGraphModels/MSGraphModels.xcodeproj/project.pbxproj

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6018,10 +6018,13 @@
60186018
GCC_WARN_UNUSED_FUNCTION = YES;
60196019
GCC_WARN_UNUSED_VARIABLE = YES;
60206020
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
6021+
MACOSX_DEPLOYMENT_TARGET = 10.10;
60216022
MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE;
60226023
MTL_FAST_MATH = YES;
60236024
ONLY_ACTIVE_ARCH = YES;
6024-
SDKROOT = iphoneos;
6025+
SDKROOT = macosx;
6026+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
6027+
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
60256028
VERSIONING_SYSTEM = "apple-generic";
60266029
VERSION_INFO_PREFIX = "";
60276030
};
@@ -6074,10 +6077,13 @@
60746077
GCC_WARN_UNUSED_FUNCTION = YES;
60756078
GCC_WARN_UNUSED_VARIABLE = YES;
60766079
IPHONEOS_DEPLOYMENT_TARGET = 12.0;
6080+
MACOSX_DEPLOYMENT_TARGET = 10.10;
60776081
MTL_ENABLE_DEBUG_INFO = NO;
60786082
MTL_FAST_MATH = YES;
6079-
SDKROOT = iphoneos;
6083+
SDKROOT = macosx;
6084+
SUPPORTED_PLATFORMS = "iphonesimulator iphoneos macosx";
60806085
VALIDATE_PRODUCT = YES;
6086+
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
60816087
VERSIONING_SYSTEM = "apple-generic";
60826088
VERSION_INFO_PREFIX = "";
60836089
};
@@ -6103,7 +6109,9 @@
61036109
PRODUCT_BUNDLE_IDENTIFIER = com.Microsoft.MSGraph.MSGraphModels;
61046110
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
61056111
SKIP_INSTALL = YES;
6112+
SUPPORTED_PLATFORMS = "iphonesimulator macosx iphoneos";
61066113
TARGETED_DEVICE_FAMILY = "1,2";
6114+
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
61076115
};
61086116
name = Debug;
61096117
};
@@ -6127,7 +6135,9 @@
61276135
PRODUCT_BUNDLE_IDENTIFIER = com.Microsoft.MSGraph.MSGraphModels;
61286136
PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
61296137
SKIP_INSTALL = YES;
6138+
SUPPORTED_PLATFORMS = "iphonesimulator macosx iphoneos";
61306139
TARGETED_DEVICE_FAMILY = "1,2";
6140+
VALID_ARCHS = "arm64 armv7 armv7s i386 x86_64";
61316141
};
61326142
name = Release;
61336143
};

MSGraphModels/MSGraphModels/MSGraphModels.h

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
//
2-
// MSGraphModels.h
3-
// MSGraphModels
4-
//
5-
// Created by Vikas Dadheech on 17/12/18.
6-
// Copyright © 2018 Microsoft. All rights reserved.
7-
//
1+
// Copyright (c) Microsoft Corporation. All Rights Reserved. Licensed under the MIT License. See License in the project root for license information.
2+
3+
84

9-
#import <UIKit/UIKit.h>
105

116
//! Project version number for MSGraphModels.
127
FOUNDATION_EXPORT double MSGraphModelsVersionNumber;

MSGraphModels/MSGraphModels/Models/MSGraphDeviceGeoLocation.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
#import <UIKit/UiKit.h>
5+
66

77

88
#import <MSGraphCoreSDK/MSObject.h>

MSGraphModels/MSGraphModels/Models/MSGraphGeoCoordinates.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
#import <UIKit/UiKit.h>
5+
66

77

88
#import <MSGraphCoreSDK/MSObject.h>

MSGraphModels/MSGraphModels/Models/MSGraphMeetingTimeSuggestion.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44

55
@class MSGraphTimeSlot, MSGraphAttendeeAvailability, MSGraphLocation;
6-
#import <UIKit/UiKit.h>
6+
77
#import "MSGraphFreeBusyStatus.h"
88

99

MSGraphModels/MSGraphModels/Models/MSGraphNumberColumn.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
#import <UIKit/UiKit.h>
5+
66

77

88
#import <MSGraphCoreSDK/MSObject.h>

MSGraphModels/MSGraphModels/Models/MSGraphOmaSettingFloatingPoint.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
#import <UIKit/UiKit.h>
5+
66

77

88
#import "MSGraphOmaSetting.h"

MSGraphModels/MSGraphModels/Models/MSGraphOutlookGeoCoordinates.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
#import <UIKit/UiKit.h>
5+
66

77

88
#import <MSGraphCoreSDK/MSObject.h>

MSGraphModels/MSGraphModels/Models/MSGraphPhoto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33

44

5-
#import <UIKit/UiKit.h>
5+
66

77

88
#import <MSGraphCoreSDK/MSObject.h>

0 commit comments

Comments
 (0)