Environment -
Monterey 12.0.1, Xcode 13.1, iOS 15.1
We have been using the Network Framework successfully until now, where on iOS 15.1 the network connection goes to the 'preparing' state and takes more than a minute to move to the 'ready' state.
Our app is supporting minimum iOS 14.1 and this issue only occurs on some of our devices [iPhone X].
Is there anything that we need to change/update in order to resolve this issue.
Post
Replies
Boosts
Views
Activity
We are having issues establishing a TCP/IP connection using GCDAsyncSocket [xcode 12.5 and iOS 14.5/14.6] on one of our devices. The error we receive is -
Error Domain=NSPOSIXErrorDomain Code=60 "Operation timed out" UserInfo={NSLocalizedDescription= Operation timed out, NSLocalizedFailureReason=Error in connect() function}
We have an OS X app. In the ‘applicationDidFinishLaunching’ delegate we are loading a C++ dylib(uses OpenGL) using ‘dlopen’ and then calling a function in the library which blocks the main thread. Hence the ‘applicationDidFinishLaunching’ method does not return.The app works fine from within Xcode but the archive crashes.Please advise.The crash log is as below:-System Integrity Protection: enabledCrashed Thread: 0 Dispatch queue: com.apple.main-threadException Type: EXC_BAD_ACCESS (SIGSEGV)Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000Exception Note: EXC_CORPSE_NOTIFYTermination Signal: Segmentation fault: 11Termination Reason: Namespace SIGNAL, Code 0xbTerminating Process: exc handler [6680]VM Regions Near 0:--> __TEXT 0000000106b56000-0000000106b6e000 [ 96K] r-x/r-x SM=COW /Users/USER/Library/Developer/Xcode/Archives/2020-03-06/YePP sibi analyst 6-3-20, 2.09 pm.xcarchive/Products/Applications/YePP sibi analyst.app/Contents/MacOS/YePP sibi analystThread 0 Crashed:: Dispatch queue: com.apple.main-thread0 ??? 000000000000000000 0 + 01 com.yepp.sibiAnalyst 0x0000000106b5853f -[ControllerAppDelegate applicationDidFinishLaunching:] + 997 (ControllerAppDelegate.m:71)2 com.apple.CoreFoundation 0x00007fff3c1d335f __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 123 com.apple.CoreFoundation 0x00007fff3c1d32f3 ___CFXRegistrationPost1_block_invoke + 634 com.apple.CoreFoundation 0x00007fff3c1d3268 _CFXRegistrationPost1 + 3725 com.apple.CoreFoundation 0x00007fff3c1d2ebe ___CFXNotificationPost_block_invoke + 976 com.apple.CoreFoundation 0x00007fff3c1a27e2 -[_CFXNotificationRegistrar find:object:observer:enumerator:] + 15757 com.apple.CoreFoundation 0x00007fff3c1a1c82 _CFXNotificationPost + 13518 com.apple.Foundation 0x00007fff3e827a22 -[NSNotificationCenter postNotificationName:object:userInfo:] + 599 com.apple.AppKit 0x00007fff393aafef -[NSApplication _postDidFinishNotification] + 31210 com.apple.AppKit 0x00007fff393aad32 -[NSApplication _sendFinishLaunchingNotification] + 20811 com.apple.AppKit 0x00007fff393a7df3 -[NSApplication(NSAppleEventHandling) _handleAEOpenEvent:] + 54912 com.apple.AppKit 0x00007fff393a7a39 -[NSApplication(NSAppleEventHandling) _handleCoreEvent:withReplyEvent:] + 68813 com.apple.Foundation 0x00007fff3e853246 -[NSAppleEventManager dispatchRawAppleEvent:withRawReply:handlerRefCon:] + 30814 com.apple.Foundation 0x00007fff3e8530b0 _NSAppleEventManagerGenericHandler + 9815 com.apple.AE 0x00007fff3d557092 0x7fff3d54a000 + 5339416 com.apple.AE 0x00007fff3d5567b9 0x7fff3d54a000 + 5112917 com.apple.AE 0x00007fff3d54ea27 aeProcessAppleEvent + 44918 com.apple.HIToolbox 0x00007fff3ad432b8 AEProcessAppleEvent + 5419 com.apple.AppKit 0x00007fff393a1e4c _DPSNextEvent + 167020 com.apple.AppKit 0x00007fff393a0380 -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 135221 com.apple.AppKit 0x00007fff3939209e -[NSApplication run] + 65822 com.apple.AppKit 0x00007fff39364465 NSApplicationMain + 77723 libdyld.dylib 0x00007fff738817fd start + 1
I want to get a list of available Wi-Fi networks in my IOS app and establish a connection with the user selected network without having to leave the app. How can i do this?