@@ -18,18 +18,28 @@ Pod::Spec.new do |s|
1818 s . ios . deployment_target = "9.0"
1919 #s.osx.deployment_target = "10.7"
2020
21- s . source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git" , :tag => "#{ s . version } " }
21+ s . source = { :git => "https://github.com/microsoftgraph/msgraph-sdk-objc.git" , :branch => "vidadhee/ModelsIntegration " }
2222
2323
2424
2525 s . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/MSGraphCoreSDK.h"
2626 s . exclude_files = "MSGraphCoreSDK/MSGraphCoreSDKTests/*"
2727 s . public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/MSGraphCoreSDK.h"
2828
29- #s.subspec "Models" do |models|
30- # models.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.{h,m}"
31- #models.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.h"
32- # end
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+
37+ s . subspec "Models" do |models |
38+ models . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.{h,m}"
39+ models . public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Models/*.h"
40+ end
41+
42+
3343
3444 s . subspec "Authentication" do |authentication |
3545 authentication . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Authentication/*.{h,m}"
@@ -39,24 +49,25 @@ Pod::Spec.new do |s|
3949
4050
4151 s . subspec "Common" do |common |
42- common . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Common/**/*.{h,m}, MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.{h,m}"
43- common . public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Common/**/*.h, MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.h"
52+ common . dependency 'MSGraphCoreSDK/Authentication'
53+ common . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/{Common,Middleware,GraphContent,HTTPClient}/**/*.{h,m}"
54+ common . public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/{Common,Middleware,GraphContent,HTTPClient}/**/*.h"
4455 end
4556
4657 #s.subspec "Middleware" do |middleware|
4758 # middleware.source_files = "MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.{h,m}"
4859 # middleware.public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/Middleware/**/*.h"
4960 #end
5061
51- s . subspec "GraphContent" do |graphContent |
52- graphContent . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.{h,m}"
53- graphContent . public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/GraphContent/**/*.h"
54- end
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
5566
56- s . subspec "HTTPClient" do |httpClient |
57- httpClient . source_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.{h,m}"
58- httpClient . public_header_files = "MSGraphCoreSDK/MSGraphCoreSDK/HTTPClient/**/*.h"
59- end
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
6071
6172
6273
0 commit comments