Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ref: bump supported OS versions #2414

Merged
merged 14 commits into from
Nov 22, 2022

Conversation

kevinrenskers
Copy link
Contributor

@kevinrenskers kevinrenskers commented Nov 21, 2022

📜 Description

Bump to macOS 10.13, iOS 11, tvOS 11, and watchOS 4

💡 Motivation and Context

Closes #1916

💚 How did you test it?

📝 Checklist

  • I reviewed the submitted code
  • I added tests to verify the changes
  • I updated the docs if needed
  • Review from the native team if needed
  • No breaking changes

🔮 Next steps

@github-actions
Copy link

github-actions bot commented Nov 21, 2022

Performance metrics 🚀

  Plain With Sentry Diff
Startup time 1226.67 ms 1241.80 ms 15.13 ms
Size 20.75 KiB 373.61 KiB 352.86 KiB

Baseline results on branch: 8.0.0

Startup times

Revision Plain With Sentry Diff
a9e77dc 1231.94 ms 1254.85 ms 22.91 ms
58ec104 1244.29 ms 1269.67 ms 25.39 ms
9be1db2 1219.42 ms 1245.66 ms 26.24 ms
7eee302 1228.73 ms 1241.94 ms 13.21 ms
dcac8ad 1238.82 ms 1247.80 ms 8.98 ms
d10145a 1232.65 ms 1257.55 ms 24.90 ms
68094b3 1214.14 ms 1255.09 ms 40.95 ms

App size

Revision Plain With Sentry Diff
a9e77dc 20.75 KiB 379.12 KiB 358.36 KiB
58ec104 20.75 KiB 379.11 KiB 358.36 KiB
9be1db2 20.75 KiB 373.94 KiB 353.19 KiB
7eee302 20.75 KiB 374.73 KiB 353.97 KiB
dcac8ad 20.75 KiB 379.11 KiB 358.36 KiB
d10145a 20.75 KiB 379.12 KiB 358.36 KiB
68094b3 20.75 KiB 373.94 KiB 353.19 KiB

Previous results on branch: ref/1916-bump-supported-os-versions

Startup times

Revision Plain With Sentry Diff
d011bd6 1234.94 ms 1259.40 ms 24.46 ms
cdc83fe 1249.00 ms 1272.76 ms 23.76 ms
6fc8a07 1227.81 ms 1241.15 ms 13.34 ms
8a69a1d 1223.06 ms 1245.28 ms 22.22 ms
a02bb04 1221.02 ms 1254.24 ms 33.22 ms
c9d27bd 1238.88 ms 1251.52 ms 12.64 ms
57c62e1 1218.88 ms 1239.10 ms 20.22 ms

App size

Revision Plain With Sentry Diff
d011bd6 20.75 KiB 373.61 KiB 352.86 KiB
cdc83fe 20.75 KiB 379.06 KiB 358.30 KiB
6fc8a07 20.75 KiB 379.05 KiB 358.30 KiB
8a69a1d 20.75 KiB 373.61 KiB 352.86 KiB
a02bb04 20.75 KiB 373.61 KiB 352.86 KiB
c9d27bd 20.75 KiB 379.05 KiB 358.30 KiB
57c62e1 20.75 KiB 373.61 KiB 352.86 KiB

@kevinrenskers
Copy link
Contributor Author

I'm getting strange failures in the Sauce Labs UI Tests / Build UITests with Xcode 12.5.1 test:

❌  /Users/runner/work/sentry-cocoa/sentry-cocoa/Samples/iOS-Swift/iOS-Swift/ViewControllers/CoreDataViewController.swift:118:28: ambiguous use of 'fetchRequest()'

❌  /Users/runner/work/sentry-cocoa/sentry-cocoa/Samples/iOS-Swift/iOS-Swift/ViewControllers/CoreDataViewController.swift:121:20: cannot assign value of type '[Any]' to type '[Person]'

But also this:

[09:52:30]: There seems to be a mismatch between your provided `export_method` in gym
[09:52:30]: and the selected provisioning profiles. You passed the following options:
[09:52:30]:   export_method:      
[09:52:30]:   Bundle identifier:  io.sentry.sample.iOS-Swift
[09:52:30]:   Profile name:       match Development io.sentry.sample.iOS-Swift
[09:52:30]:   Profile type:       development
[09:52:30]: Make sure to either change the `export_method` passed from your Fastfile or CLI
[09:52:30]: or select the correct provisioning profiles by updating your Xcode project
[09:52:30]: or passing the profiles to use by using match or manually via the `export_options` hash

I haven't changed anything in CoreDataViewController.swift so I don't know why it gives these errors now? Locally it doesn't give any errors.

And I didn't change anything regarding export methods or provisioning profiles. Any ideas?

@kevinrenskers kevinrenskers added this to the 8.0.0 milestone Nov 21, 2022
Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

That file also needs an update

platforms: [.iOS(.v9), .macOS(.v10_10), .tvOS(.v9), .watchOS(.v2)],
.

CHANGELOG.md Outdated
@@ -8,6 +8,10 @@ This version introduces a dependency on Swift, which only impacts you if you don

- Properly demangle Swift class name (#2162)

### Breaking changes

- Bump minimum supported OS versions: macOS 10.13, iOS 11, tvOS 11, and watchOS 4 are now supported (#2414)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
- Bump minimum supported OS versions: macOS 10.13, iOS 11, tvOS 11, and watchOS 4 are now supported (#2414)
- Bump minimum supported OS versions to macOS 10.13, iOS 11, tvOS 11, and watchOS 4 (#2414)

@philipphofmann
Copy link
Member

philipphofmann commented Nov 21, 2022

Any ideas?

@brustolin could maybe help.

@philipphofmann
Copy link
Member

FYI, I think we don't need to update the docs yet. As long as we keep adding breaking changes to the Changelog, we can do one PR for all of that on the docs.

@brustolin
Copy link
Contributor

We also need to update Package.swift and both .podspec.
I will take a look at this Core data error.

brustolin and others added 2 commits November 22, 2022 09:44
* 8.0.0:
  ref: Remove `- [SentryOptions initWithDict:didFailWithError:]` (#2404)
  ref: Mark [SpanProtocol setExtraValue:forKey] as deprecated (#2413)
  typos (#2421)
  test: Disable NSDataTracker in clearTestState (#2418)
  Update CHANGELOG.md (#2415)
@kevinrenskers
Copy link
Contributor Author

We also need to update Package.swift and both .podspec.
I will take a look at this Core data error.

Done, thanks for the reminder 👍

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this still a Draft PR?

Comment on lines -46 to -49
- name: "iOS-10"
devices:
- name: "iPhone.*"
platformVersion: "10.3.2"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👏👏👏

@kevinrenskers kevinrenskers marked this pull request as ready for review November 22, 2022 09:21
@kevinrenskers
Copy link
Contributor Author

Why is this still a Draft PR?

Because it wasn't done yet, the tests were failing. Now it's ready.

Copy link
Member

@philipphofmann philipphofmann left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If the tests are green, LGTM.

@kevinrenskers
Copy link
Contributor Author

@brustolin are all the changes you made to the VLC patch file necessary? Seems weird that the info.plist location got changed for example.

And sadly it's failing:

error: patch failed: VLC.xcodeproj/project.pbxproj:492
error: VLC.xcodeproj/project.pbxproj: patch does not apply
Error: Process completed with exit code 1.

@brustolin
Copy link
Contributor

@brustolin are all the changes you made to the VLC patch file necessary? Seems weird that the info.plist location got changed for example.

And sadly it's failing:

The only thing I planned to change was Podfile iOS version.
I may have done something wrong here. I will fix

@kevinrenskers kevinrenskers merged commit 88ac2c2 into 8.0.0 Nov 22, 2022
@kevinrenskers kevinrenskers deleted the ref/1916-bump-supported-os-versions branch November 22, 2022 12:09
kevinrenskers added a commit that referenced this pull request Nov 22, 2022
* 8.0.0:
  ref: Fix typos in OOMTracker (#2431)
  ref: Make SpanProtocol.data non nullable (#2409)
  ref: add/improve logging (#2420)
  ref: bump supported OS versions (#2414)
  test: shorten some tests (#2428)
  ref: Remove `- [SentryOptions initWithDict:didFailWithError:]` (#2404)
  ref: Mark [SpanProtocol setExtraValue:forKey] as deprecated (#2413)
  typos (#2421)
  test: Disable NSDataTracker in clearTestState (#2418)
  Update CHANGELOG.md (#2415)
  feat: Properly demangle Swift class name (#2162)
  chore: Create 8.0.0 branch
  test: include Sentry changes in hash keys (#2412)
  release: 7.31.2
  fix: Crash in Client when reading integrations (#2398)
  test: tooling improvements (#2400)
  fix: Don't increase session's error count for dropped events (#2374)
  Update CHANGELOG.md (#2396)
  release: 7.31.1
  Fix: Set the correct OOM event timestamp (#2394)

# Conflicts:
#	Sentry.xcodeproj/project.pbxproj
#	SentryPrivate.podspec
#	scripts/add-sentry-to-vlc.patch
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants