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
[TIMOB-25672] iOS: Fix core-SDK warnings, leaks and possible crashes #9733
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@hansemannn Can you look in the issue? Thanks!
@@ -186,7 +188,6 @@ - (void)viewWillAttach | |||
|
|||
- (void)viewDidDetach | |||
{ | |||
[self removeNotificationObserver]; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TiMediaVideoPlayerProxy related unit test is crashing sending message -
"Cannot update for observer <TiMediaVideoPlayerProxy 0x7fb2ed044a00> for the key path "player.status" from <AVPlayerViewController 0x7fb2ed033800>, most likely because the value for the key "player" has changed without an appropriate KVO notification being sent. Check the KVO-compliance of the AVPlayerViewController class."
You can see more detail in builds iOS unit test log.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Jenkins actually passes the tests, but fails later. Which test did it mention?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Just reproduced it, adding a test-case for it in my test-suite as well.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed as part of 31182c6
@hansemannn Can you resolve conflict please? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
CR passed.
Passed FR using this environment: Validated by building and launching app on device. I observed no warnings or memory leaks using Instruments. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Passed FR. See comments.
Generated by 🚫 dangerJS |
JIRA: https://jira.appcelerator.org/browse/TIMOB-25672