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

Commit fde5531

Browse files
author
Vikas Dadheech
committed
Change podspec and add workspace
1 parent 141e619 commit fde5531

File tree

7 files changed

+43
-126
lines changed

7 files changed

+43
-126
lines changed

MSGraphCoreSDK.podspec

Lines changed: 2 additions & 72 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,8 @@
11

22
Pod::Spec.new do |s|
33

4-
54
s.name = "MSGraphCoreSDK"
6-
s.version = "0.1.1"
5+
s.version = "0.1.2"
76
s.summary = "Microsoft Graph ObjC SDK."
87

98
s.description = <<-DESC
@@ -18,95 +17,26 @@ Pod::Spec.new do |s|
1817
s.ios.deployment_target = "9.0"
1918
s.osx.deployment_target = "10.10"
2019

21-
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :branch => "vidadhee/MacSupport" }
22-
23-
20+
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :tag=> s.version }
2421

2522
s.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/MSGraphCoreSDK.h"
2623
s.exclude_files = "MSGraphCoreSDK/MSGraphCoreSDKTests/*"
2724
s.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/MSGraphCoreSDK.h"
2825

29-
#s.subspec "Core" do |core|
30-
# core.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/**/*.{h,m}"
31-
# core.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/*/*.h"
32-
# core.exclude_files = "MSGraphCoreSDK/MSGraphCoreSDKTests/*"
33-
# end
34-
35-
#s.default_subspec = "Core"
36-
3726
s.subspec "Models" do |models|
3827
models.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.{h,m}"
3928
models.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.h"
4029
end
4130

42-
43-
4431
s.subspec "Authentication" do |authentication|
4532
authentication.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Authentication/*.{h,m}"
4633
authentication.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Authentication/*.h"
4734
end
4835

49-
50-
5136
s.subspec "Common" do |common|
5237
common.dependency 'MSGraphCoreSDK/Authentication'
5338
common.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/{Common,Middleware,GraphContent,HTTPClient}/**/*.{h,m}"
5439
common.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/{Common,Middleware,GraphContent,HTTPClient}/**/*.h"
5540
end
5641

57-
#s.subspec "Middleware" do |middleware|
58-
# middleware.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.{h,m}"
59-
# middleware.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.h"
60-
#end
61-
62-
#s.subspec "GraphContent" do |graphContent|
63-
# graphContent.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.{h,m}"
64-
# graphContent.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.h"
65-
#end
66-
67-
#s.subspec "HTTPClient" do |httpClient|
68-
# httpClient.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.{h,m}"
69-
# httpClient.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.h"
70-
# end
71-
72-
73-
74-
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
75-
#
76-
# A list of resources included with the Pod. These are copied into the
77-
# target bundle with a build phase script. Anything else will be cleaned.
78-
# You can preserve files from being cleaned, please don't preserve
79-
# non-essential files like tests, examples and documentation.
80-
#
81-
82-
# s.resource = "icon.png"
83-
# s.resources = "Resources/*.png"
84-
85-
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
86-
87-
88-
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
89-
#
90-
# Link your library with frameworks, or libraries. Libraries do not include
91-
# the lib prefix of their name.
92-
#
93-
94-
# s.framework = "SomeFramework"
95-
# s.frameworks = "SomeFramework", "AnotherFramework"
96-
97-
# s.library = "iconv"
98-
# s.libraries = "iconv", "xml2"
99-
100-
101-
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
102-
#
103-
# If your library depends on compiler flags you can set them in the xcconfig hash
104-
# where they will only apply to your library. If you depend on other Podspecs
105-
# you can include multiple dependencies to ensure it works.
106-
107-
# s.requires_arc = true
108-
109-
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
110-
# s.dependency "JSONKit", "~> 1.4"
111-
11242
end

MSGraphModels.podspec

Lines changed: 6 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@ Pod::Spec.new do |s|
55

66

77
s.name = "MSGraphModels"
8-
s.version = "0.1.0"
9-
s.summary = "Microsoft Graph Models to be used in conjecture with MSGraphCoreSDK."
8+
s.version = "0.1.3"
9+
s.summary = "Microsoft Graph Models to be used with MSGraphCoreSDK."
1010
s.description = <<-DESC
1111
Use these models to convert raw data from MSGraphCoreSDK to models and back.
1212
DESC
@@ -17,70 +17,23 @@ Pod::Spec.new do |s|
1717

1818

1919
s.ios.deployment_target = "9.0"
20-
#s.osx.deployment_target = "10.7"
20+
s.osx.deployment_target = "10.10"
2121

2222

2323
# ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
24-
#
25-
# Specify the location from where the source should be retrieved.
26-
# Supports git, hg, bzr, svn and HTTP.
27-
#
2824

29-
s.source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git", :branch => "vidadhee/ModelsIntegration" }
25+
s.source = { :git => "https://github.com/dadheech115/MSGraph-SDK-OBJC-Private.git", :tag=> s.version }
3026

3127

3228
# ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
33-
#
34-
# CocoaPods is smart about how it includes source code. For source files
35-
# giving a folder will include any swift, h, m, mm, c & cpp files.
36-
# For header files it will include any header in the folder.
37-
# Not including the public_header_files will make all headers public.
38-
#
3929

4030
s.source_files = "MSGraphModels/MSGraphModels/**/*.{h,m}"
4131
s.exclude_files = "MSGraphModels/MSGraphModelsTests/*"
4232
s.public_header_files = "MSGraphModels/MSGraphModels/**/*.h"
4333

44-
# s.public_header_files = "Classes/**/*.h"
4534

46-
47-
# ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
48-
#
49-
# A list of resources included with the Pod. These are copied into the
50-
# target bundle with a build phase script. Anything else will be cleaned.
51-
# You can preserve files from being cleaned, please don't preserve
52-
# non-essential files like tests, examples and documentation.
53-
#
54-
55-
# s.resource = "icon.png"
56-
# s.resources = "Resources/*.png"
57-
58-
# s.preserve_paths = "FilesToSave", "MoreFilesToSave"
59-
60-
61-
# ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
62-
#
63-
# Link your library with frameworks, or libraries. Libraries do not include
64-
# the lib prefix of their name.
65-
#
66-
67-
# s.framework = "SomeFramework"
68-
# s.frameworks = "SomeFramework", "AnotherFramework"
69-
70-
# s.library = "iconv"
71-
# s.libraries = "iconv", "xml2"
72-
73-
74-
# ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
75-
#
76-
# If your library depends on compiler flags you can set them in the xcconfig hash
77-
# where they will only apply to your library. If you depend on other Podspecs
78-
# you can include multiple dependencies to ensure it works.
79-
80-
# s.requires_arc = true
81-
82-
# s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" }
83-
# s.dependency "MSGraphCoreSDK/Models"
35+
# ――― Dependencies ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― #
36+
s.dependency "MSGraphCoreSDK/Models"
8437

8538

8639
end

MSGraphModels/Cartfile

Lines changed: 0 additions & 1 deletion
This file was deleted.

MSGraphModels/MSGraphModels.xcodeproj/project.pbxproj

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,6 +1428,7 @@
14281428
E56FDB8721CD04B7001DFE68 /* MSGraphResponseType.h in Headers */ = {isa = PBXBuildFile; fileRef = E56FD5FA21CD04B4001DFE68 /* MSGraphResponseType.h */; settings = {ATTRIBUTES = (Public, ); }; };
14291429
E56FDB8821CD04B7001DFE68 /* MSGraphSchemaExtension.h in Headers */ = {isa = PBXBuildFile; fileRef = E56FD5FB21CD04B4001DFE68 /* MSGraphSchemaExtension.h */; settings = {ATTRIBUTES = (Public, ); }; };
14301430
E56FDB8921CD04B7001DFE68 /* MSGraphVerifiedDomain.h in Headers */ = {isa = PBXBuildFile; fileRef = E56FD5FC21CD04B5001DFE68 /* MSGraphVerifiedDomain.h */; settings = {ATTRIBUTES = (Public, ); }; };
1431+
E570B76821E74D3F00C781E8 /* MSGraphCoreSDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E570B76721E74D3F00C781E8 /* MSGraphCoreSDK.framework */; };
14311432
E59A8BEA21C7811B00E15B9D /* MSGraphModels.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E59A8BE021C7811B00E15B9D /* MSGraphModels.framework */; };
14321433
E59A8BEF21C7811B00E15B9D /* MSGraphModelsTests.m in Sources */ = {isa = PBXBuildFile; fileRef = E59A8BEE21C7811B00E15B9D /* MSGraphModelsTests.m */; };
14331434
/* End PBXBuildFile section */
@@ -2864,6 +2865,7 @@
28642865
E56FD5FA21CD04B4001DFE68 /* MSGraphResponseType.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MSGraphResponseType.h; sourceTree = "<group>"; };
28652866
E56FD5FB21CD04B4001DFE68 /* MSGraphSchemaExtension.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MSGraphSchemaExtension.h; sourceTree = "<group>"; };
28662867
E56FD5FC21CD04B5001DFE68 /* MSGraphVerifiedDomain.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MSGraphVerifiedDomain.h; sourceTree = "<group>"; };
2868+
E570B76721E74D3F00C781E8 /* MSGraphCoreSDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; path = MSGraphCoreSDK.framework; sourceTree = BUILT_PRODUCTS_DIR; };
28672869
E59A8BE021C7811B00E15B9D /* MSGraphModels.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = MSGraphModels.framework; sourceTree = BUILT_PRODUCTS_DIR; };
28682870
E59A8BE421C7811B00E15B9D /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
28692871
E59A8BE921C7811B00E15B9D /* MSGraphModelsTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = MSGraphModelsTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
@@ -2876,6 +2878,7 @@
28762878
isa = PBXFrameworksBuildPhase;
28772879
buildActionMask = 2147483647;
28782880
files = (
2881+
E570B76821E74D3F00C781E8 /* MSGraphCoreSDK.framework in Frameworks */,
28792882
);
28802883
runOnlyForDeploymentPostprocessing = 0;
28812884
};
@@ -2890,12 +2893,21 @@
28902893
/* End PBXFrameworksBuildPhase section */
28912894

28922895
/* Begin PBXGroup section */
2896+
E570B76621E74D3F00C781E8 /* Frameworks */ = {
2897+
isa = PBXGroup;
2898+
children = (
2899+
E570B76721E74D3F00C781E8 /* MSGraphCoreSDK.framework */,
2900+
);
2901+
name = Frameworks;
2902+
sourceTree = "<group>";
2903+
};
28932904
E59A8BD621C7811B00E15B9D = {
28942905
isa = PBXGroup;
28952906
children = (
28962907
E59A8BE221C7811B00E15B9D /* MSGraphModels */,
28972908
E59A8BED21C7811B00E15B9D /* MSGraphModelsTests */,
28982909
E59A8BE121C7811B00E15B9D /* Products */,
2910+
E570B76621E74D3F00C781E8 /* Frameworks */,
28992911
);
29002912
sourceTree = "<group>";
29012913
};

MSGraphSDK.xcworkspace/contents.xcworkspacedata

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict>
5+
<key>IDEDidComputeMac32BitWarning</key>
6+
<true/>
7+
</dict>
8+
</plist>
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
3+
<plist version="1.0">
4+
<dict/>
5+
</plist>

0 commit comments

Comments
 (0)