1
1
Pod ::Spec . new do |s |
2
2
s . name = "MSAL"
3
- s . version = "1.2.22 "
3
+ s . version = "1.3.1 "
4
4
s . summary = "Microsoft Authentication Library (MSAL) for iOS"
5
5
s . description = <<-DESC
6
6
The MSAL library for iOS gives your app the ability to begin using the Microsoft Cloud by supporting Microsoft Azure Active Directory and Microsoft Accounts in a converged experience using industry standard OAuth2 and OpenID Connect. The library also supports Microsoft Azure B2C for those using our hosted identity management service.
@@ -20,36 +20,45 @@ Pod::Spec.new do |s|
20
20
:tag => s . version . to_s ,
21
21
:submodules => true
22
22
}
23
-
24
- s . pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' }
23
+ s . resource_bundles = { "MSAL" => [ "MSAL/PrivacyInfo.xcprivacy" ] }
25
24
s . default_subspecs = 'app-lib'
26
25
27
26
s . prefix_header_file = "MSAL/src/MSAL.pch"
28
27
s . header_dir = "MSAL"
29
28
30
29
s . subspec 'app-lib' do |app |
31
- app . source_files = "MSAL/src/**/*.{h,m}" , "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
32
- app . ios . public_header_files = "MSAL/src/public/*.h" , "MSAL/src/public/ios/**/*.h" , "MSAL/src/public/configuration/**/*.h"
33
- app . osx . public_header_files = "MSAL/src/public/mac/*.h" , "MSAL/src/public/*.h" , "MSAL/src/public/configuration/**/*.h"
34
-
35
- app . ios . exclude_files = "MSAL/src/**/mac/*" , "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
36
-
37
- app . osx . exclude_files = "MSAL/src/**/ios/*" , "MSAL/IdentityCore/IdentityCore/src/**/ios/*"
38
- app . requires_arc = true
30
+ app . pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' }
31
+ app . source_files = "MSAL/src/**/*.{h,m}" , "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
32
+ app . ios . public_header_files = "MSAL/src/public/*.h" , "MSAL/src/public/ios/**/*.h" , "MSAL/src/public/configuration/**/*.h" , "MSAL/src/native_auth/public/*.h"
33
+ app . osx . public_header_files = "MSAL/src/public/mac/*.h" , "MSAL/src/public/*.h" , "MSAL/src/public/configuration/**/*.h"
34
+ app . ios . exclude_files = "MSAL/src/**/mac/*" , "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
35
+ app . osx . exclude_files = "MSAL/src/**/ios/*" , "MSAL/IdentityCore/IdentityCore/src/**/ios/*" , "MSAL/src/native_auth/**/*"
36
+ app . requires_arc = true
37
+ end
38
+
39
+ s . subspec 'native-auth' do |nat |
40
+ nat . pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' , 'HEADER_SEARCH_PATHS' => "$SRCROOT/MSAL" }
41
+ nat . source_files = "MSAL/src/**/*.{h,m}" , "MSAL/src/native_auth/**/*.{h,m,swift}" , "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}" , "MSAL/module.modulemap"
42
+ nat . ios . public_header_files = "MSAL/src/public/*.h" , "MSAL/src/public/ios/**/*.h" , "MSAL/src/public/configuration/**/*.h" , "MSAL/src/native_auth/public/*.h"
43
+ nat . osx . public_header_files = "MSAL/src/public/mac/*.h" , "MSAL/src/public/*.h" , "MSAL/src/public/configuration/**/*.h"
44
+ nat . ios . exclude_files = "MSAL/src/**/mac/*" , "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
45
+ nat . osx . exclude_files = "MSAL/src/**/ios/*" , "MSAL/IdentityCore/IdentityCore/src/**/ios/*" , "MSAL/src/native_auth/**/*" , "MSAL/module.modulemap"
46
+ nat . requires_arc = true
39
47
end
40
48
41
49
# Note, MSAL has limited support for running in app extensions.
42
50
s . subspec 'extension' do |ext |
43
- ext . compiler_flags = '-DADAL_EXTENSION_SAFE=1'
44
- ext . source_files = "MSAL/src/**/*.{h,m}" , "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
45
- ext . ios . public_header_files = "MSAL/src/public/*.h" , "MSAL/src/public/ios/**/*.h" , "MSAL/src/public/configuration/**/*.h"
46
- ext . osx . public_header_files = "MSAL/src/public/mac/*.h" , "MSAL/src/public/*.h" , "MSAL/src/public/configuration/**/*.h"
51
+ ext . pod_target_xcconfig = { 'CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF' => 'NO' }
52
+ ext . compiler_flags = '-DADAL_EXTENSION_SAFE=1'
53
+ ext . source_files = "MSAL/src/**/*.{h,m}" , "MSAL/IdentityCore/IdentityCore/src/**/*.{h,m}"
54
+ ext . ios . public_header_files = "MSAL/src/public/*.h" , "MSAL/src/public/ios/**/*.h" , "MSAL/src/public/configuration/**/*.h" , "MSAL/src/native_auth/public/*.h"
55
+ ext . osx . public_header_files = "MSAL/src/public/mac/*.h" , "MSAL/src/public/*.h" , "MSAL/src/public/configuration/**/*.h"
47
56
48
- # There is currently a bug in CocoaPods where it doesn't combine the public headers
49
- # for both the platform and overall.
50
- ext . ios . exclude_files = "MSAL/src/**/mac/*" , "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
51
- ext . osx . exclude_files = "MSAL/src/**/ios/*" , "MSAL/IdentityCore/IdentityCore/src/**/ios/*"
52
- ext . requires_arc = true
57
+ # There is currently a bug in CocoaPods where it doesn't combine the public headers
58
+ # for both the platform and overall.
59
+ ext . ios . exclude_files = "MSAL/src/**/mac/*" , "MSAL/IdentityCore/IdentityCore/src/**/mac/*"
60
+ ext . osx . exclude_files = "MSAL/src/**/ios/*" , "MSAL/IdentityCore/IdentityCore/src/**/ios/*" , "MSAL/src/native_auth/** /*"
61
+ ext . requires_arc = true
53
62
end
54
63
55
64
end
0 commit comments