Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit fa19345

Browse files
authored
Merge pull request #588 from wordpress-mobile/release/1.36.0
Merge release/1.36.0 to trunk
2 parents 115aa68 + 7a75f51 commit fa19345

File tree

104 files changed

+992
-1201
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

104 files changed

+992
-1201
lines changed

.circleci/config.yml

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,24 @@ version: 2.1
22

33
orbs:
44
# Using 1.0 of our Orbs means it will use the latest 1.0.x version from https://github.com/wordpress-mobile/circleci-orbs
5-
ios: wordpress-mobile/[email protected]
5+
ios: wordpress-mobile/[email protected]
6+
7+
# YAML anchors for some common/repeated values
8+
x-common-params:
9+
- &xcode-version "12.2.0"
10+
- &podspec "WordPressAuthenticator.podspec"
11+
- &on-tags-only
12+
tags:
13+
only: /.*/
14+
branches:
15+
ignore: /.*/
616

717
workflows:
818
test_and_validate:
919
jobs:
1020
- ios/test:
1121
name: Test
12-
xcode-version: "12.2.0"
22+
xcode-version: *xcode-version
1323
workspace: WordPressAuthenticator.xcworkspace
1424
scheme: WordPressAuthenticator
1525
device: iPhone 11
@@ -18,17 +28,21 @@ workflows:
1828
pod-install: true
1929
- ios/validate-podspec:
2030
name: Validate Podspec
21-
xcode-version: "12.2.0"
22-
podspec-path: WordPressAuthenticator.podspec
31+
xcode-version: *xcode-version
32+
podspec-path: *podspec
33+
bundle-install: true
34+
- ios/publish-podspec:
35+
name: Publish to a8c Spec Repo
36+
xcode-version: *xcode-version
37+
podspec-path: *podspec
38+
spec-repo: https://github.com/wordpress-mobile/cocoapods-specs.git
2339
bundle-install: true
40+
post-to-slack: false
41+
filters: *on-tags-only
2442
- ios/publish-podspec:
2543
name: Publish to Trunk
26-
xcode-version: "12.2.0"
27-
podspec-path: WordPressAuthenticator.podspec
44+
xcode-version: *xcode-version
45+
podspec-path: *podspec
2846
bundle-install: true
2947
post-to-slack: true
30-
filters:
31-
tags:
32-
only: /.*/
33-
branches:
34-
ignore: /.*/
48+
filters: *on-tags-only

WordPressAuthenticator.podspec

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
11
Pod::Spec.new do |s|
22
s.name = "WordPressAuthenticator"
3-
s.version = "1.35.1"
4-
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
3+
s.version = "1.36.0"
54

5+
s.summary = "WordPressAuthenticator implements an easy and elegant way to authenticate your WordPress Apps."
66
s.description = <<-DESC
77
This framework encapsulates everything required to display the Authentication UI
88
and perform authentication against WordPress.com and WordPress.org sites.
99
10-
Plus: WordPress.com *signup* is supported.
11-
DESC
10+
Plus: WordPress.com *signup* is supported.
11+
DESC
1212

1313
s.homepage = "https://github.com/wordpress-mobile/WordPressAuthenticator-iOS"
14-
s.license = "GPLv2"
15-
s.author = { "WordPress" => "[email protected]" }
14+
s.license = { :type => "GPLv2", :file => "LICENSE" }
15+
s.author = { "The WordPress Mobile Team" => "[email protected]" }
16+
1617
s.platform = :ios, "11.0"
1718
s.swift_version = '4.2'
19+
1820
s.source = { :git => "https://github.com/wordpress-mobile/WordPressAuthenticator-iOS.git", :tag => s.version.to_s }
1921
s.source_files = 'WordPressAuthenticator/**/*.{h,m,swift}'
2022
s.private_header_files = "WordPressAuthenticator/Private/*.h"
@@ -26,17 +28,19 @@ Pod::Spec.new do |s|
2628
'WordPressAuthenticator/**/*.{storyboard,xib}'
2729
]
2830
}
29-
s.requires_arc = true
3031
s.static_framework = true # This is needed because GoogleSignIn vendors a static framework
3132
s.header_dir = 'WordPressAuthenticator'
3233

34+
# Fixing arm64 issue with Xcode 12: https://github.com/CocoaPods/CocoaPods/issues/10104
35+
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
36+
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
37+
3338
s.dependency '1PasswordExtension', '~> 1.8.6'
3439
s.dependency 'Alamofire', '~> 4.8'
3540
s.dependency 'CocoaLumberjack', '~> 3.5'
3641
s.dependency 'lottie-ios', '~> 3.1.6'
3742
s.dependency 'NSURL+IDN', '0.4'
3843
s.dependency 'SVProgressHUD', '~> 2.2.5'
39-
4044
s.dependency 'Gridicons', '~> 1.0'
4145
s.dependency 'GoogleSignIn', '~> 5.0.2'
4246

@@ -45,9 +49,4 @@ Pod::Spec.new do |s|
4549
s.dependency 'WordPressUI', '~> 1.7-beta'
4650
s.dependency 'WordPressKit', '~> 4.18-beta' # Don't change this until we hit 5.0 in WPKit
4751
s.dependency 'WordPressShared', '~> 1.12-beta' # Don't change this until we hit 2.0 in WPShared
48-
49-
# Fixing arm64 issue with Xcode 12: https://github.com/CocoaPods/CocoaPods/issues/10104
50-
s.user_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
51-
s.pod_target_xcconfig = { 'EXCLUDED_ARCHS[sdk=iphonesimulator*]' => 'arm64' }
52-
5352
end

0 commit comments

Comments
 (0)