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

[TIMOB-25672] iOS: Fix core-SDK warnings, leaks and possible crashes #9733

Merged
merged 13 commits into from Jan 23, 2018

Conversation

hansemannn
Copy link
Collaborator

@hansemannn hansemannn changed the title [TIMOB-25672] iOS: Fix all core-SDK warnings [TIMOB-25672] iOS: Fix core-SDK warnings, leaks and possible crashes Jan 15, 2018
Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a 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];
Copy link
Contributor

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.

Copy link
Collaborator Author

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?

Copy link
Collaborator Author

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.

Copy link
Collaborator Author

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

@vijaysingh-axway
Copy link
Contributor

@hansemannn Can you resolve conflict please?

Copy link
Contributor

@vijaysingh-axway vijaysingh-axway left a comment

Choose a reason for hiding this comment

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

CR passed.

@mukherjee2 mukherjee2 self-requested a review January 23, 2018 00:45
@mukherjee2
Copy link
Contributor

Passed FR using this environment:
Node Version: 8.9.1
NPM Version: 5.5.1
Mac OS: 10.13.1
Appc CLI: 7.0.1
Appc CLI NPM: 4.2.11
Titanium SDK version: 7.0.2 (artifacts from this PR)
Appcelerator Studio vers 5.0.0
iOS 11.1

Validated by building and launching app on device. I observed no warnings or memory leaks using Instruments.

Copy link
Contributor

@mukherjee2 mukherjee2 left a 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.

@build
Copy link
Contributor

build commented Jan 23, 2018

Messages
📖

👍 Hey!, You deleted more code than you added. That's awesome!

📖

💾 Here's the generated SDK zipfile.

Generated by 🚫 dangerJS

@eric34 eric34 merged commit 92908f4 into tidev:master Jan 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants