Skip to content

Commit e5ae79e

Browse files
authored
Merge pull request #765 from bugsnag/backport-release-6_3_5
Backport Release v6.3.5
2 parents 7cd57e3 + 5b32a64 commit e5ae79e

File tree

12 files changed

+137
-626
lines changed

12 files changed

+137
-626
lines changed

.buildkite/pipeline.full.yml

Lines changed: 9 additions & 328 deletions
Large diffs are not rendered by default.

.buildkite/pipeline.yml

Lines changed: 11 additions & 161 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ steps:
1010
timeout_in_minutes: 30
1111
key: 'build-artifacts'
1212
env:
13-
UNITY_VERSION: "2018.4.36f1"
13+
UNITY_VERSION: "2020.3.48f1"
1414
commands:
1515
- bundle install
1616
- bundle exec rake plugin:export
@@ -21,72 +21,6 @@ steps:
2121
- exit_status: "*"
2222
limit: 1
2323

24-
#
25-
# Build MacOS and WebGL test fixtures
26-
#
27-
- label: Build Unity 2020 MacOS and WebGL test fixtures
28-
timeout_in_minutes: 30
29-
key: 'cocoa-webgl-2020-fixtures'
30-
depends_on: 'build-artifacts'
31-
env:
32-
UNITY_VERSION: "2020.3.32f1"
33-
plugins:
34-
artifacts#v1.5.0:
35-
download:
36-
- Bugsnag.unitypackage
37-
commands:
38-
- scripts/ci-build-macos-packages.sh
39-
artifact_paths:
40-
- unity.log
41-
- features/fixtures/maze_runner/build/MacOS-2020.3.32f1.zip
42-
- features/fixtures/maze_runner/build/WebGL-2020.3.32f1.zip
43-
retry:
44-
automatic:
45-
- exit_status: "*"
46-
limit: 1
47-
48-
#
49-
# Run desktop tests
50-
#
51-
- label: Run MacOS e2e tests for Unity 2020
52-
timeout_in_minutes: 30
53-
depends_on: 'cocoa-webgl-2020-fixtures'
54-
agents:
55-
queue: macos-12-arm-unity
56-
env:
57-
UNITY_VERSION: "2020.3.32f1"
58-
plugins:
59-
artifacts#v1.5.0:
60-
download:
61-
- features/fixtures/maze_runner/build/MacOS-2020.3.32f1.zip
62-
upload:
63-
- maze_output/**/*
64-
- Mazerunner.log
65-
commands:
66-
- scripts/ci-run-macos-tests.sh
67-
68-
#
69-
# Run WebGL tests
70-
#
71-
# Note: These are run on Intel due to an issue with persistence with Firefox on ARM.
72-
#
73-
- label: Run WebGL e2e tests for Unity 2020
74-
timeout_in_minutes: 30
75-
depends_on: 'cocoa-webgl-2020-fixtures'
76-
agents:
77-
queue: opensource-mac-cocoa-11
78-
env:
79-
UNITY_VERSION: "2020.3.32f1"
80-
plugins:
81-
artifacts#v1.5.0:
82-
download:
83-
- features/fixtures/maze_runner/build/WebGL-2020.3.32f1.zip
84-
upload:
85-
- maze_output/**/*
86-
# TODO: WebGL persistence tests are currently skipped pending PLAT-8151
87-
commands:
88-
- scripts/ci-run-webgl-tests.sh
89-
9024
#
9125
# Build Android test fixtures
9226
#
@@ -95,13 +29,13 @@ steps:
9529
key: 'build-android-fixture-2020'
9630
depends_on: 'build-artifacts'
9731
env:
98-
UNITY_VERSION: "2020.3.32f1"
32+
UNITY_VERSION: "2020.3.48f1"
9933
plugins:
10034
artifacts#v1.5.0:
10135
download:
10236
- Bugsnag.unitypackage
10337
upload:
104-
- features/fixtures/maze_runner/mazerunner_2020.3.32f1.apk
38+
- features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk
10539
- features/fixtures/unity.log
10640
commands:
10741
- rake test:android:build
@@ -110,28 +44,6 @@ steps:
11044
- exit_status: "*"
11145
limit: 1
11246

113-
- label: ':android: Build Android EDM test fixture for Unity 2020'
114-
timeout_in_minutes: 30
115-
key: 'build-edm-fixture-2020'
116-
depends_on: 'build-artifacts'
117-
env:
118-
UNITY_VERSION: "2020.3.32f1"
119-
plugins:
120-
artifacts#v1.5.0:
121-
download:
122-
- Bugsnag.unitypackage
123-
upload:
124-
- features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk
125-
- features/scripts/mobile/buildEdmFixture.log
126-
- features/scripts/mobile/edmImport.log
127-
- features/scripts/mobile/enableEdm.log
128-
commands:
129-
- rake test:edm:build
130-
retry:
131-
automatic:
132-
- exit_status: "*"
133-
limit: 1
134-
13547
#
13648
# Run Android tests
13749
#
@@ -141,49 +53,25 @@ steps:
14153
agents:
14254
queue: opensource
14355
env:
144-
UNITY_VERSION: "2020.3.32f1"
56+
UNITY_VERSION: "2020.3.48f1"
14557
plugins:
14658
artifacts#v1.5.0:
14759
download:
148-
- "features/fixtures/maze_runner/mazerunner_2020.3.32f1.apk"
60+
- "features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk"
14961
upload:
15062
- "maze_output/**/*"
15163
docker-compose#v3.7.0:
15264
pull: maze-runner
15365
run: maze-runner
15466
command:
155-
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.32f1.apk"
67+
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.48f1.apk"
15668
- "--farm=bs"
15769
- "--device=ANDROID_9_0"
15870
- "features/android"
15971
concurrency: 9
16072
concurrency_group: browserstack-app
16173
concurrency_method: eager
16274

163-
- label: ':android: Run Android EDM e2e tests for Unity 2020'
164-
timeout_in_minutes: 30
165-
depends_on: 'build-edm-fixture-2020'
166-
agents:
167-
queue: opensource
168-
env:
169-
UNITY_VERSION: "2020.3.32f1"
170-
plugins:
171-
artifacts#v1.5.0:
172-
download:
173-
- "features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk"
174-
upload:
175-
- "maze_output/**/*"
176-
docker-compose#v3.7.0:
177-
pull: maze-runner
178-
run: maze-runner
179-
command:
180-
- "--app=/app/features/fixtures/EDM_Fixture/edm_2020.3.32f1.apk"
181-
- "--farm=bs"
182-
- "--device=ANDROID_9_0"
183-
- "features/edm"
184-
concurrency: 9
185-
concurrency_group: browserstack-app
186-
concurrency_method: eager
18775

18876
#
18977
# Build iOS test fixtures
@@ -193,7 +81,7 @@ steps:
19381
key: 'generate-fixture-project-2020'
19482
depends_on: 'build-artifacts'
19583
env:
196-
UNITY_VERSION: "2020.3.32f1"
84+
UNITY_VERSION: "2020.3.48f1"
19785
plugins:
19886
artifacts#v1.5.0:
19987
download:
@@ -214,14 +102,14 @@ steps:
214102
key: 'build-ios-fixture-2020'
215103
depends_on: 'generate-fixture-project-2020'
216104
env:
217-
UNITY_VERSION: "2020.3.32f1"
105+
UNITY_VERSION: "2020.3.48f1"
218106
plugins:
219107
artifacts#v1.5.0:
220108
download:
221109
- Bugsnag.unitypackage
222110
- project_2020.tgz
223111
upload:
224-
- features/fixtures/maze_runner/mazerunner_2020.3.32f1.ipa
112+
- features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa
225113
- features/fixtures/unity.log
226114
commands:
227115
- tar -zxf project_2020.tgz features/fixtures/maze_runner
@@ -242,14 +130,14 @@ steps:
242130
plugins:
243131
artifacts#v1.5.0:
244132
download:
245-
- "features/fixtures/maze_runner/mazerunner_2020.3.32f1.ipa"
133+
- "features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa"
246134
upload:
247135
- "maze_output/**/*"
248136
docker-compose#v3.7.0:
249137
pull: maze-runner
250138
run: maze-runner
251139
command:
252-
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.32f1.ipa"
140+
- "--app=/app/features/fixtures/maze_runner/mazerunner_2020.3.48f1.ipa"
253141
- "--farm=bs"
254142
- "--device=IOS_14"
255143
- "--fail-fast"
@@ -258,47 +146,9 @@ steps:
258146
concurrency_group: browserstack-app
259147
concurrency_method: eager
260148

261-
#
262-
# Build Windows test fixture
263-
#
264-
- label: Build Unity 2020 Windows test fixture
265-
timeout_in_minutes: 30
266-
key: 'windows-2020-fixture'
267-
depends_on: 'build-artifacts'
268-
agents:
269-
queue: opensource-windows-unity
270-
env:
271-
UNITY_VERSION: "2020.3.32f1"
272-
commands:
273-
- scripts/ci-build-windows-package.bat
274-
artifact_paths:
275-
- unity.log
276-
- features/fixtures/maze_runner/build/Windows-2020.3.32f1.zip
277-
retry:
278-
automatic:
279-
- exit_status: "*"
280-
limit: 1
281-
282-
#
283-
# Run Windows e2e tests
284-
#
285-
- label: Run Windows e2e tests for Unity 2020
286-
timeout_in_minutes: 30
287-
depends_on: 'windows-2020-fixture'
288-
agents:
289-
queue: opensource-windows-unity
290-
env:
291-
UNITY_VERSION: "2020.3.32f1"
292-
WSLENV: "UNITY_VERSION"
293-
command:
294-
- scripts/ci-run-windows-tests.bat
295-
artifact_paths:
296-
- maze_output/**/*
297-
298149
#
299150
# Conditionally trigger full pipeline
300151
#
301152
- label: 'Conditionally trigger full set of tests'
302153
timeout_in_minutes: 30
303154
command: sh -c .buildkite/pipeline_trigger.sh
304-

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Changelog
22

3+
## 6.3.5 (2023-07-06)
4+
5+
- Update bugsnag-cocoa from v6.16.1 to [v6.28.0](https://github.com/bugsnag/bugsnag-cocoa/blob/master/CHANGELOG.md#6280-2023-12-13) (includes compliance with Apple's Required Reasons API – see [online docs](https://docs.bugsnag.com/platforms/ios/appstore-privacy/#declaring-required-reasons-for-api-usage))
36

47
## 6.3.4 (2023-07-06)
58

Gemfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ gem 'xcpretty'
55
gem 'xcodeproj'
66

77
# Use official Maze Runner release
8-
gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v6.27.0'
8+
gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', tag: 'v8.15.0'
99

1010
# Use a specific Maze Runner branch
1111
#gem 'bugsnag-maze-runner', git: 'https://github.com/bugsnag/maze-runner', branch: 'master'

Rakefile

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ namespace :plugin do
194194
# Define TARGET_OS* macros since they aren't added for static targets.
195195
case project_name
196196
when "bugsnag-tvos"
197-
target = project.new_target(:static_library, "bugsnag-tvos", :tvos, "9.0")
197+
target = project.new_target(:static_library, "bugsnag-tvos", :tvos, "9.2")
198198
target_macro = "-DTARGET_OS_TV"
199199

200200
# Link UIKit during compilation
@@ -203,7 +203,7 @@ namespace :plugin do
203203
phase.add_file_reference file_ref
204204
end
205205
when "bugsnag-ios"
206-
target = project.new_target(:static_library, "bugsnag-ios", :ios, "8.0")
206+
target = project.new_target(:static_library, "bugsnag-ios", :ios, "9.0")
207207
target_macro = "-DTARGET_OS_IPHONE"
208208

209209
# Link UIKit during compilation
@@ -212,7 +212,7 @@ namespace :plugin do
212212
phase.add_file_reference file_ref
213213
end
214214
when "bugsnag-osx"
215-
target = project.new_target(:bundle, "bugsnag-osx", :osx, "10.8")
215+
target = project.new_target(:bundle, "bugsnag-osx", :osx, "10.11")
216216
target_macro = "-DTARGET_OS_MAC"
217217
end
218218

@@ -231,9 +231,12 @@ namespace :plugin do
231231

232232
project.build_configurations.each do |build_configuration|
233233
build_configuration.build_settings["HEADER_SEARCH_PATHS"] = " $(SRCROOT)/Bugsnag/include/"
234+
235+
build_configuration.build_settings["GENERATE_INFOPLIST_FILE"] = "YES"
236+
234237
if ["bugsnag-ios", "bugsnag-tvos"].include? project_name
235238
build_configuration.build_settings["ONLY_ACTIVE_ARCH"] = "NO"
236-
build_configuration.build_settings["VALID_ARCHS"] = ["x86_64", "i386", "armv7", "arm64"]
239+
build_configuration.build_settings["VALID_ARCHS"] = ["x86_64", "armv7", "arm64"]
237240
end
238241
case build_configuration.type
239242
when :debug
@@ -260,6 +263,9 @@ namespace :plugin do
260263

261264
tvos_dir = File.join(assets_path, "tvOS")
262265

266+
#copy framework usage api file
267+
cp_r File.join("bugsnag-cocoa", "Bugsnag", "resources", "PrivacyInfo.xcprivacy"), ios_dir
268+
263269
cd cocoa_build_dir do
264270
cd "build" do
265271
def is_fat library_path
@@ -277,7 +283,6 @@ namespace :plugin do
277283
device_library = File.join("#{build_type}-#{long_name}os", library)
278284
simulator_dir = "#{build_type}-#{long_name}simulator"
279285
simulator_library = File.join(simulator_dir, library)
280-
simulator_x86 = File.join(simulator_dir, "libBugsnagStatic-x86.a")
281286
simulator_x64 = File.join(simulator_dir, "libBugsnagStatic-x64.a")
282287
output_library = File.join(directory, library)
283288

@@ -286,12 +291,9 @@ namespace :plugin do
286291
else
287292
simulator_x64 = simulator_library
288293
end
289-
if short_name == "ios"
290-
sh "lipo", "-extract", "i386", simulator_library, "-output", simulator_x86
291-
sh "lipo", "-create", device_library, simulator_x86, simulator_x64, "-output", output_library
292-
else
293-
sh "lipo", "-create", device_library, simulator_x64, "-output", output_library
294-
end
294+
295+
sh "lipo", "-create", device_library, simulator_x64, "-output", output_library
296+
295297
end
296298
end
297299
end
@@ -450,4 +452,4 @@ namespace :test do
450452
task build: %w[test:ios:generate_xcode test:ios:build_xcode] do
451453
end
452454
end
453-
end
455+
end

bugsnag-cocoa

Submodule bugsnag-cocoa updated 657 files

build.cake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ var target = Argument("target", "Default");
55
var solution = File("./BugsnagUnity.sln");
66
var configuration = Argument("configuration", "Release");
77
var project = File("./src/BugsnagUnity/BugsnagUnity.csproj");
8-
var version = "6.3.4";
8+
var version = "6.3.5";
99

1010
Task("Restore-NuGet-Packages")
1111
.Does(() => NuGetRestore(solution));

features/ios/ios_callbacks.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@ Feature: Callbacks
2020
And the event "device.model" equals "Model"
2121
And the event "device.orientation" equals "Orientation"
2222
And the event "device.manufacturer" equals "Manufacturer"
23-
And the event "device.freeDisk" equals 123
2423
And the event "device.freeMemory" equals 123
2524
And the event "device.jailbroken" is true
2625
And the event "device.locale" equals "Locale"

features/ios/ios_csharp_errors.feature

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,6 @@ Feature: iOS smoke tests for C# errors
4747
And the event "device.osVersion" is not null
4848
And the event "device.runtimeVersions" is not null
4949
# And the event "device.totalMemory" is not null
50-
And the event "device.freeDisk" is not null
5150
And the event "device.freeMemory" is not null
5251
# And the event "device.orientation" equals "portrait"
5352
And the event "device.time" is not null

0 commit comments

Comments
 (0)