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

iOS 9 issues #744

Closed
atanasovg opened this issue Sep 15, 2015 · 4 comments
Closed

iOS 9 issues #744

atanasovg opened this issue Sep 15, 2015 · 4 comments

Comments

@atanasovg
Copy link
Contributor

Make sure modules works correctly in iOS9

@vchimev
Copy link
Contributor

vchimev commented Sep 29, 2015

UnitTestsApp built on both xCode 6 and xCode 7 crashes:

  • ListView crash:
...
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [LISTVIEW.test_bindingToParentObject] OK
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [LISTVIEW.test_bindingToParentObjectWithSpacesInIndexer] OK
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [LISTVIEW.test_ConverterIsCalledJustOnce_onAddingItemsToListView] OK
file:///app/TKUnit.js:114:33: JS ERROR Error: ListView leaked!
1   0x100062bb4 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2   0x1004f7010 ffi_closure_SYSV_inner
3   0x1004f81b4 .Ldo_closure
4   0x1889e2cf8 <redacted>
  • TextField crash:
...
ile:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [TEXT-FIELD.testLocalTextAlignmentFromCss] OK
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [TEXT-FIELD.testNativeTextAlignmentFromCss] OK
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [TEXT-FIELD.testNativeTextAlignmentFromLocal] OK
file:///app/TKUnit.js:114:33: JS ERROR Error: TextField leaked!
1   0x100066bb4 NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2   0x1004fb010 ffi_closure_SYSV_inner
3   0x1004fc1b4 .Ldo_closure
4   0x1889e2cf8 <redacted>
  • TextView crash:
...
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [TEXT-VIEW.testLocalTextAlignmentFromCss] OK
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [TEXT-VIEW.testNativeTextAlignmentFromCss] OK
file:///app/tns_modules/trace/trace.js:145:29: CONSOLE INFO Test: --- [TEXT-VIEW.testNativeTextAlignmentFromLocal] OK
file:///app/TKUnit.js:114:33: JS ERROR Error: TextView leaked!
1   0x101c2956e NativeScript::FFICallback<NativeScript::ObjCMethodCallback>::ffiClosureCallback(ffi_cif*, void*, void**, void*)
2   0x1021e9759 ffi_closure_unix64_inner
3   0x1021ec54e ffi_closure_unix64
4   0x1031db940 -[UIViewController __viewWillAppear:]
5   0x10321a3b6 -[UINavigationController _startTransition:fromViewController:toViewController:]
6   0x10321a879 -[UINavigationController _startDeferredTransitionIfNeeded:]
7   0x10321b67d -[UINavigationController __viewWillLayoutSubviews]
8   0x1033b363d -[UILayoutContainerView layoutSubviews]
9   0x1030fb11c -[UIView(CALayerDelegate) layoutSublayersOfLayer:]
10  0x1070d336a -[CALayer layoutSublayers]
  • There are also some test failures:

file:///app/tns_modules/trace/trace.js:151:30: CONSOLE ERROR Test: HTTP.test_getJSONP FAILED: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
file:///app/tns_modules/trace/trace.js:151:30: CONSOLE ERROR Test: HTTP.test_getString_FromVariousUrls_ShouldWorkProperly FAILED: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
file:///app/tns_modules/trace/trace.js:151:30: CONSOLE ERROR Test: IMAGE SOURCE.testFromUrl FAILED: The resource could not be loaded because the App Transport Security policy requires the use of a secure connection.
file:///app/tns_modules/trace/trace.js:151:30: CONSOLE ERROR Test: WEB-VIEW.testLoadExistingUrl FAILED: args.url should equal http://nsbuild01.telerik.com/docs/
file:///app/app/app.js:21:20: CONSOLE LOG UIApplication: <UIApplication: 0x12d64cab0>
file:///app/tns_modules/trace/trace.js:151:30: CONSOLE ERROR Test: WEB-VIEW.testLoadExistingUrl FAILED: args.url should equal http://nsbuild01.telerik.com/docs/
file:///app/tns_modules/trace/trace.js:151:30: CONSOLE ERROR Test: WEAK-EVENTS.test_autoDetachingOfDeadReferences FAILED: All events should be detached

GalleryApp built on xCode 7 issues:

  • TabView issue:

tabview

@enchev enchev added in progress and removed backlog labels Oct 5, 2015
@vchimev
Copy link
Contributor

vchimev commented Oct 6, 2015

Update:

  • Memory leak tests run only on iOS7.0 and iOS8.0 device (no iOS9.0, no simulators),
  • To avoid test failures due to App Transport Security, NSAllowsArbitraryLoads key was added to Info.plist of the test applications.
  • TabView issue is not present anymore.

@vchimev
Copy link
Contributor

vchimev commented Oct 8, 2015

The memory leak tests task was moved to: #906.

@lock
Copy link

lock bot commented Aug 30, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked and limited conversation to collaborators Aug 30, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants