Post not yet marked as solved
While generating the Xcode build with Address Sanitizer enabled, I am unable to launch the PacketTunnelProvider provider.
The process is getting killed by the Operating System with the below exception
"Thread 1: EXC_RESOURCE RESOURCE_TYPE_MEMORY (limit=50 MB, unused=0x0)"
I understood that since Packettunnel Provider extension has only a memory limit of 50 MB, Operating System is killing the process. Is there any other way, we can overcome this limitation and perform Address Sanitizer testing ?
Post not yet marked as solved
Pleasehelp me find out crash reason? I have attached the crash stack.
report-2517633556170009999-ca213e2e-5d93-4607-bfbb-99f87a8b98c1.txt
This is where we write to user defaults
`18 Foundation 0x00000001844fb754 -[NSUserDefaults(NSUserDefaults) setObject:forKey:] + 80
19 ControlFilter 0x000000010054cfd8 -[FilterControlProvider startFilterWithCompletionHandler:] (FilterControlProvider.mm:101)`
Post not yet marked as solved
Due to loopback VPN implemented using PacketTunnelProvider, we observed issues regarding failing to update WatchOS.
Is there any workaround for this ? Does WatchOS update is supported using proxy or VPN using Packet tunnel Provider ?
Post not yet marked as solved
Can anyone help me with how to interpret this crash log? I have attached the crash stack, it is reported only a particular user device and was reported multiple times.
I have masked few keywords in the stack trace for confidentiality purpose
Last Exception Backtrace:
0 CoreFoundation 0x197a67928 __exceptionPreprocess + 216 (NSException.m:199)
1 libobjc.A.dylib 0x1ab804480 objc_exception_throw + 56 (objc-exception.mm:565)
2 CoreFoundation 0x197975380 +[NSException raise:format:arguments:] + 96 (NSException.m:146)
3 Foundation 0x198cadef8 -[NSAssertionHandler handleFailureInMethod:object:file:lineNumber:description:] + 128 (NSException.m:231)
4 UIKitCore 0x19a30c274 -[UIApplication _performBlockAfterCATransactionCommits:] + 400 (UIApplication.m:3031)
5 UIKitCore 0x19a34c320 -[UIWindow _noteOverlayInsetsDidChange] + 140 (UIWindow.m:2276)
6 UIKitCore 0x199c3d4b0 -[UIViewController _setContentOverlayInsets:andLeftMargin:rightMargin:] + 608 (UIViewController.m:856)
7 UIKitCore 0x199c3ee9c __121-[UIViewController __updateContentOverlayInsetsWithOurRect:inBoundsOfAncestorViewController:viaImmediateChildOfAncestor:]_block_invoke + 424 (UIViewController.m:1175)
8 UIKitCore 0x199c3e5a4 -[UIViewController __updateContentOverlayInsetsWithOurRect:inBoundsOfAncestorViewController:viaImmediateChildOfAncestor:] + 2620 (UIViewController.m:1236)
9 UIKitCore 0x199c3e9ec -[UIViewController _updateContentOverlayInsetsFromParentIfNecessary] + 612 (UIViewController.m:1025)
10 UIKitCore 0x199c3d718 -[UIViewController _updateContentOverlayInsetsForSelfAndChildren] + 84 (UIViewController.m:900)
11 UIKitCore 0x199c49f90 -[UIViewController _updateLayoutForStatusBarAndInterfaceOrientation] + 636 (UIViewController.m:4013)
12 UIKitCore 0x199c4eb24 -[UIViewController viewDidMoveToWindow:shouldAppearOrDisappear:] + 208 (UIViewController.m:5447)
13 UIKitCore 0x19a8040dc -[UIView(Internal) _didMoveFromWindow:toWindow:] + 1244 (UIView.m:15144)
14 UIKitCore 0x19a7f8804 __45-[UIView(Hierarchy) _postMovedFromSuperview:]_block_invoke + 136 (UIView.m:11860)
crash.txt
Post not yet marked as solved
Hello
I would like to know if Apple might reject an app during review if there is a navigation from App to settings programatically, as we have seen few stack-overflow links for the same.
The below code will be executed on button press which takes the user to settings.
if let appSettings = URL(string: UIApplication.openSettingsURLString) {
UIApplication.shared.open(appSettings, options: [:], completionHandler: nil)
Please let me know if any there is any chance of rejection with the above code.
Post not yet marked as solved
While trying to add a new VPN configuration , the ios Network Extension fails for a particular device with my App with the following error
default 23:34: 34.140388-0400 Adding 918D08B1-2814-47C0-AAA9-0A0A8C92049C to the loaded configurations
error 23:34:41.386023-0400 nehelper : Cannot save configuration , the total size of the NetworkExtension configuration is to large (2643248 bytes)
default 23:34:41.510241-0400 kernel memorystatus: set assertion priority(10) error
The same behaviour is seen with other VPN Providers like Tunnel Bear.
Question: As this issue is seen only on a particular device. Has anyone seen this issue/able to mitigate , and also shed more details why this issue happens.