Skip to content

Commit 4870044

Browse files
Release 11.1.1
1 parent 2efc86d commit 4870044

File tree

23 files changed

+210
-77
lines changed

23 files changed

+210
-77
lines changed

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,12 @@
1+
## 11.1.1
2+
###### Release Date: 31-01-2022
3+
4+
### 🚀 Enhancements
5+
* Added support for RTL languages while searching for Articles on the Homescreen.
6+
7+
### 🐛 Bug Fixes
8+
* Made some minor UI improvements.
9+
110
## 11.1.0
211
###### Release Date: 19-01-2022
312

Intercom.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'Intercom'
3-
s.version = '11.1.0'
3+
s.version = '11.1.1'
44
s.summary = 'The Intercom iOS SDK, for integrating Intercom into your iOS application.'
55
s.license = { :type => "Apache 2.0", :file => "LICENSE" }
66
s.authors = {"Brian Boyle"=>"[email protected]", "Mike McNamara"=>"[email protected]", "Katherine Brennan"=>"[email protected]", "Himanshi Goyal"=>"[email protected]", "Niamh Coleman"=>"[email protected]"}

Intercom.xcframework/Info.plist

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,30 @@
66
<array>
77
<dict>
88
<key>LibraryIdentifier</key>
9-
<string>ios-arm64</string>
9+
<string>ios-arm64_x86_64-simulator</string>
1010
<key>LibraryPath</key>
1111
<string>Intercom.framework</string>
1212
<key>SupportedArchitectures</key>
1313
<array>
1414
<string>arm64</string>
15+
<string>x86_64</string>
1516
</array>
1617
<key>SupportedPlatform</key>
1718
<string>ios</string>
19+
<key>SupportedPlatformVariant</key>
20+
<string>simulator</string>
1821
</dict>
1922
<dict>
2023
<key>LibraryIdentifier</key>
21-
<string>ios-arm64_x86_64-simulator</string>
24+
<string>ios-arm64</string>
2225
<key>LibraryPath</key>
2326
<string>Intercom.framework</string>
2427
<key>SupportedArchitectures</key>
2528
<array>
2629
<string>arm64</string>
27-
<string>x86_64</string>
2830
</array>
2931
<key>SupportedPlatform</key>
3032
<string>ios</string>
31-
<key>SupportedPlatformVariant</key>
32-
<string>simulator</string>
3333
</dict>
3434
</array>
3535
<key>CFBundlePackageType</key>
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.
16.3 KB
Binary file not shown.
0 Bytes
Binary file not shown.

Intercom.xcframework/ios-arm64/Intercom.framework/config.yml

Lines changed: 83 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,31 @@ smoke_test_steps: &smoke_test_steps
123123
name: Validate
124124
command: ./Smoke\ Test/scripts/validate_scheme.sh "${SMOKE_TEST_SCHEME}"
125125

126+
#Run Unit tests for speicified $DESTINATION and $TEST_PLAN
127+
unit_tests: &unit_tests
128+
steps:
129+
- checkout
130+
- <<: *setup_ruby
131+
- <<: *setup_bundler
132+
- attach_workspace:
133+
at: .
134+
- run:
135+
name: Unit tests
136+
command: xcodebuild test-without-building -sdk iphonesimulator -destination "$DESTINATION" -xctestrun DerivedData/Build/Products/Unit\ Tests_${TEST_PLAN}*.xctestrun -only-test-configuration "$CONFIGURATION" -resultBundlePath UnitTestResults.xcresult | bundle exec xcpretty
137+
- run:
138+
name: Generate Test Reports
139+
command: bundle exec fastlane upload_test_reports
140+
when: always
141+
- store_test_results:
142+
path: UnitTestResults.xml
143+
- run:
144+
name: Zip Test Results
145+
command: zip -r UnitTestResults.zip UnitTestResults.xcresult
146+
when: on_fail
147+
- store_artifacts:
148+
path: UnitTestResults.zip
149+
- <<: *store_crash_logs
150+
126151

127152
# Define the each of the jobs used for building and testing the iOS SDK
128153
version: 2.1
@@ -219,34 +244,26 @@ jobs:
219244
- Rakefile
220245
- IntercomSDK/Supporting Files/IntercomSDK-Common.xcconfig
221246

222-
# Run Unit tests
223-
unit_tests:
247+
# Build the Test App used for Unit testing and save it to the workspace so that it can be used by multiple jobs
248+
build_unit_test_app: &build_unit_test_app
224249
<<: *macos_config
225250
steps:
226251
- checkout
227252
- <<: *setup_ruby
228253
- <<: *setup_bundler
229254
- <<: *restore_dependencies_cache
230255
- <<: *update_dependencies_if_needed
256+
- attach_workspace:
257+
at: .
231258
- run:
232259
name: Build
233260
command: xcodebuild -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "Unit Tests" -sdk iphonesimulator -destination "$DESTINATION" build-for-testing | bundle exec xcpretty
234-
- run:
235-
name: Test
236-
command: xcodebuild -derivedDataPath DerivedData -workspace IntercomSDK.xcworkspace -scheme "Unit Tests" -sdk iphonesimulator -destination "$DESTINATION" test -resultBundlePath Unit_TestResults.xcresult | bundle exec xcpretty
237-
- run:
238-
name: Generate Test Reports
239-
command: bundle exec fastlane upload_test_reports
240-
when: always
241-
- store_test_results:
242-
path: Unit_TestResults.xml
243-
- run:
244-
name: Zip Test Results
245-
command: zip -r Unit_TestResults.zip Unit_TestResults.xcresult
246-
when: on_fail
247-
- store_artifacts:
248-
path: Unit_TestResults.zip
249-
- <<: *store_crash_logs
261+
- persist_to_workspace:
262+
root: .
263+
paths:
264+
- "DerivedData/Build/Products/Unit\ Tests_*.xctestrun"
265+
- "DerivedData/Build/Products/Debug-iphonesimulator/IntercomSDKTests.xctest"
266+
- "DerivedData/Build/Products/Debug-iphonesimulator/Intercom.framework"
250267
environment:
251268
- DESTINATION: "platform=iOS Simulator,name=iPhone 11 Pro,OS=15.2"
252269

@@ -335,6 +352,32 @@ jobs:
335352
path: build/reports
336353
- <<: *store_crash_logs
337354

355+
356+
# Unit tests
357+
358+
standard_unit_tests:
359+
<<: *macos_config
360+
<<: *unit_tests
361+
environment:
362+
- DESTINATION: "platform=iOS Simulator,name=iPhone 11 Pro,OS=15.2"
363+
- TEST_PLAN: "Unit"
364+
- CONFIGURATION: "Configuration 1"
365+
366+
ltr_snapshot_tests:
367+
<<: *macos_config
368+
<<: *unit_tests
369+
environment:
370+
- DESTINATION: "platform=iOS Simulator,name=iPhone 11 Pro,OS=15.2"
371+
- TEST_PLAN: "Snapshot"
372+
- CONFIGURATION: "LTR"
373+
374+
rtl_snapshot_tests:
375+
<<: *macos_config
376+
<<: *unit_tests
377+
environment:
378+
- DESTINATION: "platform=iOS Simulator,name=iPhone 11 Pro,OS=15.2"
379+
- TEST_PLAN: "Snapshot"
380+
- CONFIGURATION: "RTL"
338381

339382
# UI tests for iPhone 8 (15.2) devices. One test for each test bucket.
340383

@@ -571,11 +614,26 @@ workflows:
571614
- lint_objectiveC:
572615
<<: *run_always
573616

574-
- unit_tests:
617+
- build_unit_test_app:
575618
<<: *run_always
576619
requires:
577620
- dependencies
578621

622+
- standard_unit_tests:
623+
<<: *run_always
624+
requires:
625+
- build_unit_test_app
626+
627+
- ltr_snapshot_tests:
628+
<<: *run_always
629+
requires:
630+
- build_unit_test_app
631+
632+
- rtl_snapshot_tests:
633+
<<: *run_always
634+
requires:
635+
- build_unit_test_app
636+
579637
- release_deployment_tests:
580638
<<: *run_always
581639
requires:
@@ -696,7 +754,9 @@ workflows:
696754
- upload_to_testfairy:
697755
<<: *run_on_master
698756
requires:
699-
- unit_tests
757+
- standard_unit_tests
758+
- ltr_snapshot_tests
759+
- rtl_snapshot_tests
700760
- UI_1_iphone_8
701761
- UI_2_iphone_8
702762
- UI_3_iphone_8
@@ -714,7 +774,9 @@ workflows:
714774
requires:
715775
- build_xcframework
716776
- lint_objectiveC
717-
- unit_tests
777+
- standard_unit_tests
778+
- ltr_snapshot_tests
779+
- rtl_snapshot_tests
718780
- release_deployment_tests
719781
- UI_1_iphone_8
720782
- UI_2_iphone_8
0 Bytes
Binary file not shown.
0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)