Skip to content

Commit

Permalink
Merge pull request #1188 from firebase/nc/12960
Browse files Browse the repository at this point in the history
[Bug] Fix firebase-ios-sdk/#12960
  • Loading branch information
ncooke3 authored May 14, 2024
2 parents d5c037c + 5ae9c08 commit 6ed31d5
Show file tree
Hide file tree
Showing 12 changed files with 17 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/anonymousauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseAnonymousAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseAnonymousAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/auth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand All @@ -61,5 +61,6 @@ jobs:
- name: Setup
run: gem install bundler; bundle install
- name: Build
# Allow warnings for deprecated `updateEmail:completion:` API.
run: |
bundle exec pod lib lint FirebaseAuthUI.podspec
bundle exec pod lib lint FirebaseAuthUI.podspec --allow-warnings
2 changes: 1 addition & 1 deletion .github/workflows/database.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseDatabaseUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseDatabaseUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/emailauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseEmailAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseEmailAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand All @@ -65,6 +65,8 @@ jobs:
- name: Setup
run: gem install bundler; bundle install
- name: Build
# Allow warnings for deprecated `updateEmail:completion:` API.
run: |
bundle exec pod lib lint FirebaseEmailAuthUI.podspec \
--include-podspecs=FirebaseAuthUI.podspec
--include-podspecs=FirebaseAuthUI.podspec \
--allow-warnings
2 changes: 1 addition & 1 deletion .github/workflows/facebookauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseFacebookAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseFacebookAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/firestore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseFirestoreUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseFirestoreUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/googleauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseGoogleAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseGoogleAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/oauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseOAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseOAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/phoneauth.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebasePhoneAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebasePhoneAuthUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/storage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ jobs:
xcodebuild -list
- name: Build
run: |
xcodebuild -scheme FirebaseStorageUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro'
xcodebuild -scheme FirebaseStorageUI -sdk iphonesimulator -destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro'
pod:
name: pod lib lint
runs-on: macOS-latest
Expand Down
2 changes: 1 addition & 1 deletion FirebaseAuthUI/Sources/FUIAuthStrings.m
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@
/** @var kTableName
@brief The name of the strings table to search for localized strings.
*/
NSString *const kTableName = @"FirebaseAuthUI";
static NSString *const kTableName = @"FirebaseAuthUI";

NSString *FUILocalizedString(NSString *key) {
return FUILocalizedStringFromTable(key, kTableName);
Expand Down
2 changes: 1 addition & 1 deletion test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pushd "$module_name";
-workspace "$module_name.xcworkspace" \
-scheme "$module_name" \
-sdk iphonesimulator \
-destination 'platform=iOS Simulator,OS=latest,name=iPhone 13 Pro' \
-destination 'platform=iOS Simulator,OS=latest,name=iPhone 15 Pro' \
clean build test \
ONLY_ACTIVE_ARCH=YES \
| xcpretty) || EXIT_STATUS=$?;
Expand Down

0 comments on commit 6ed31d5

Please sign in to comment.