We've been using network framework for peer to peer connectivity since iOS 15. Since the introduction of iOS 17 we've been getting the following for our NWListener when attempting to establish a connection with any multipathServiceType enabled. We're not doing anything special here. On iOS 17.x devices (we've tested 17.1, 17.2, 17.4) we simply enable multipath services by adding the multipath capability and then setting multipathServiceType to .handover or .interactive on our NWParameters. The devices never connect when we try establish an NWConnection. This works on all non-iOS 17.x devices.
This is reproducible using the Apple Peer-to-Peer NWConnection TicTacToe sample code.
Hardware
RSS for tagDelve into the physical components of Apple devices, including processors, memory, storage, and their interaction with the software.
Post
Replies
Boosts
Views
Activity
We have a relatively simple app that using Network.Framework, NWConnection, NWEndpoint to setup TCP connections with nearby devices also using the app. It's actually been working great for a while now but we've recently noticed with iOS 17.4/17.4.1 that we're spontaneously getting:
nw_proto_tcp_route_init [C6:3] no mtu received
sometimes the [C6:3] will be [C7:3] or another similar code. We may also occasionally see No route to Host appear in our console logs though this isn't definite. After this point the connection is effectively lost but we don't actually receive any updates on our NWConnection stateUpdateHandler to action on. It's sort of dead in the water so to speak.
We've reproduced this issue with multiple devices on iOS 17.4.x and in multiple network settings (in office, cafe, home networks...etc). Nothing seems to make a difference. Any ideas on how to fix or workaround this?
I saw a similar issue here: https://developer.apple.com/forums/thread/669519 but the original author never followed up and it's around 3 years old. I've captured a sysdiagnose log and can submit an issue if it warrants filing a bug report.
Shouldn't Siri use iCloud to post alarms for ALL my devices?
Hi folks,
I have a 2020 MBP with Sonoma 14.4.1 installed. Now it won't mount the external drive- tried mount in Disk Utility, mount in Recover Mood, force mount in Terminal- nothing. It is greyed out in Disk Utility, but is def connected. Here are the specs-
Backup+ BK:
Capacity: 1 TB (1,000,204,885,504 bytes)
Removable Media: No
BSD Name: disk2
Logical Unit: 0
Partition Map Type: APM (Apple Partition Map)
S.M.A.R.T. status: Verified
USB Interface: 0
Volumes:
disk2s1:
Capacity: 32 KB (32,256 bytes)
BSD Name: disk2s1
Content: Apple_partition_map
Seagate Backup Plus Drive:
Capacity: 1 TB (1,000,070,631,424 bytes)
File System: Journaled HFS+
BSD Name: disk2s3
Content: Apple_HFS
Volume UUID: 32160C59-217F-3552-8125-F71F017D0974
Please help!
What I mean is an AirTag-type device that doesn't make noise so thieves can't detect it, but shoots you a text or alert if your car moves more than five feet after you have activated it. No one uses my car but me, so I know that if I get an alert that my car is moving, it's either being stolen or towed.
Thanks!
I would like a feature on the remote app which visualizes the TV screen in the remote app on the phone.
Scenario is to navigate the Apple TV while I’m not in front of the TV screen (e.g. start a show on Apple tv) Today I need to stand in front of the TV to see where I’m navigating to.
I'm having mostly BBEdit (sometimes iTerm2) quit overnight and I can't find out why. I tried running a crontab to see if BBEdit was open every 15 minutes to find the time it was closing but it gave the wrong feedback.
Anybody know how I can chase this up? The Console isn't showing anything relevant.
Cheers
Ventura 13.2.1 M1
Sonoma 14.2.1 M2
In my app I have a signal handler.
When testing it with null-dereference I see that in previous MacOs versions like Monterey 12.0 x86 the signal handler is called.
However, on my Silicon Ventura/Sonoma machines its not called.
Tried with SIP enabled and disabled
So I created a binary with code:
#include <iostream>
int main() {
int *ptr = nullptr;
std::cout << *ptr; // Dereference null pointer
return 0;
}
Compiled it with:
g++ null.cpp -o null.bin
And executed it with and without sudo.
The app indeed crashes because of the null dereference (and core dump is created when SIP disabled).
However, no signal is recived. I am able to prove it with DTrace .
DTrace script:
#pragma D option quiet
proc:::signal-send
{
@[execname, stringof(args[1]->pr_fname), args[2]] = count();
}
END
{
printf("%20s %20s %12s %s\n",
"SENDER", "RECIPIENT", "SIG", "COUNT");
printa("%20s %20s %12d %@d\n", @);
}
Here is the output. In the left terminal I executed the binary. In the right terminal the script output.
On top of DTrace I created and MacOS endpoint-security app and subscribed to ES_EVENT_TYPE_NOTIFY_SIGNAL. Same there, no signal.
Did anything change with signals on M1/M2 MacOS 13.0 ?
My 2TB external hard drive is failing to appear after I didn't eject it properly. I attempted to mount using Disk Utility which brought up the error 49217 which failed. Attempting to run First Aid returns the message below. Any ideas on how to recover the data?
Repairing file system.
Volume is already unmounted.
Performing fsck_apfs -y -x /dev/rdisk4s1
Checking the container superblock.
warning: container has been mounted by APFS version 2235.80.4.0.1, which is newer than 1677.141.3.7.2
warning: disabling overallocation repairs by default; use -o to override
Checking the space manager.
Checking the space manager free queue trees.
Checking the object map.
Checking volume.
Checking the APFS volume superblock.
warning: apfs superblock at index 0: apfs_fs_alloc_count (158958540) is greater than container wide allocated count (158878084)
Checking the object map.
error: (oid 0x1d4a1e) om: invalid o_oid (0x68af)
error: (oid 0x1d4a1e) om: invalid o_type (0x3, expected 0x4000000b)
error: (oid 0x1d4a1e) om: invalid o_type (0x3, expected 0x4000000b)
error: verification/reading of the omap object failed: Illegal byte sequence
The volume /dev/rdisk4s1 could not be verified completely.
File system check exit code is 8.
Restoring the original state found as unmounted.
File system verify or repair failed. : (-69845)
Operation failed…
I have a MacBook Air 2017 (Dual-Core Intel Core i5) and a Samsung curved display (34” ViewFinity Ultra WQHD High Resolution Monitor with 1000R Curvature -Model : S34A650UXN) that used to display fine using a J5 JUD380 dongle to go from the USB A from MacBook to dongle.
The dongle is connected to the Samsung monitor via a HDMI cable.
Before I shared screen with a 3rd party during an IT session, my screen displayed beautifully.
After I ended that session, I delete the software (don't recall what it was) and maybe an additional plist file(s).
Now my display is stretched with resolutions options limited at 1920x1080.
I have reset the monitor 3 times, and reinstalled OS (currently Montery 12.7.5 beta) 4 times. I deleted the NMRAV.
I have tried a different dongle, and tried 3 different HDMI cables.
I'm out of ideas and I am NOT a techie - please help!
We mangage around 500 iPads wich were configured as shared iPads.
Since ipados17 the problem is that we have constantly the issue that were not able to log in to the iPads because we got the error that there is no space available.
This happens with every IpadOS Version we tried sind iOS 17 release and is still an issue with 17.4
we are were also in contact with Jamf and we tried various configs but nothing worked out, but when we search for it, it seems that not only I/we have this issues.
Mac OS Sonoma beta 14.5 - Macbook Pro M1
With the update to beta 14.5 23F5049f it is no longer allowing detection of an external monitor.
Before the update, this would automatically make the external display the main monitor when connecting the USB-C cable.
Have tried the different USB-C ports, also turning on and off the computer and monitor separately but not being able to use the secondary display
Hello all!
I have an app (Scriptio Medication Management) that uses NFC on iPhone, and that works really well. However, I need a larger screen to satisfy customer requests (reports, etc). Because we use NFC tags to authenticate & authorize I need to stick with this tech. I cannot assume that all my customers have iPhone (we also deploy to Android) so pairing an iPad with an iPhone doesn't work for us.
I was looking at an external device such as FlowJack, but since iPad no longer has an audio port, this won't work for me. Has anyone been able to solve this type of issue?
Ideally I can find a solution that non-technical folks can attach/pair with an iPad to read NFC devices (NOT payment processing).
Thanks in advance
Dear Community,
I have paired a new iPhone 15 Pro with XCode, enabled Developer Mode, and have tried launching multiple applications on it. No matter what I run, the application quits immediately and I always get the same error:
The request to open "BUNDLE_ID" failed.
Domain: IDELaunchCoreDevice
Code: 0
User Info: {
DVTErrorCreationDateKey = "2024-04-07 00:07:20 +0000";
IDERunOperationFailingWorker = IDELaunchCoreDeviceWorker;
}
--
The request to open "BUNDLE_ID" failed.
Domain: IDELaunchCoreDevice
Code: 0
User Info: {
IDERunOperationFailingWorker = IDELaunchCoreDeviceWorker;
}
--
The application failed to launch.
Domain: com.apple.dt.CoreDeviceError
Code: 10002
User Info: {
BundleIdentifier = "BUNDLE_ID";
}
--
The request to open "BUNDLE_ID" failed.
Domain: FBSOpenApplicationServiceErrorDomain
Code: 1
Failure Reason: The request was denied by service delegate (SBMainWorkspace).
User Info: {
BSErrorCodeDescription = RequestDenied;
FBSOpenApplicationRequestID = 0x5841;
}
--
The operation couldn’t be completed. The process failed to launch.
Domain: FBProcessExit
Code: 64
Failure Reason: The process failed to launch.
User Info: {
BSErrorCodeDescription = "launch-failed";
}
--
The operation couldn’t be completed. Launch failed.
Domain: RBSRequestErrorDomain
Code: 5
Failure Reason: Launch failed.
--
Launchd job spawn failed
Domain: NSPOSIXErrorDomain
Code: 85
Failure Reason: Bad executable (or shared library)
--
Event Metadata: com.apple.dt.IDERunOperationWorkerFinished : {
"device_isCoreDevice" = 1;
"device_model" = "iPhone16,1";
"device_osBuild" = "17.4.1 (21E236)";
"device_platform" = "com.apple.platform.iphoneos";
"dvt_coredevice_version" = "355.24";
"dvt_mobiledevice_version" = "1643.100.58";
"launchSession_schemeCommand" = Run;
"launchSession_state" = 1;
"launchSession_targetArch" = arm64;
"operation_duration_ms" = 802;
"operation_errorCode" = 0;
"operation_errorDomain" = IDELaunchCoreDevice;
"operation_errorWorker" = IDELaunchCoreDeviceWorker;
"operation_name" = IDERunOperationWorkerGroup;
"param_debugger_attachToExtensions" = 0;
"param_debugger_attachToXPC" = 1;
"param_debugger_type" = 3;
"param_destination_isProxy" = 0;
"param_destination_platform" = "com.apple.platform.iphoneos";
"param_diag_MainThreadChecker_stopOnIssue" = 0;
"param_diag_MallocStackLogging_enableDuringAttach" = 0;
"param_diag_MallocStackLogging_enableForXPC" = 1;
"param_diag_allowLocationSimulation" = 1;
"param_diag_checker_tpc_enable" = 1;
"param_diag_gpu_frameCapture_enable" = 0;
"param_diag_gpu_shaderValidation_enable" = 0;
"param_diag_gpu_validation_enable" = 0;
"param_diag_memoryGraphOnResourceException" = 0;
"param_diag_queueDebugging_enable" = 1;
"param_diag_runtimeProfile_generate" = 0;
"param_diag_sanitizer_asan_enable" = 0;
"param_diag_sanitizer_tsan_enable" = 0;
"param_diag_sanitizer_tsan_stopOnIssue" = 0;
"param_diag_sanitizer_ubsan_stopOnIssue" = 0;
"param_diag_showNonLocalizedStrings" = 0;
"param_diag_viewDebugging_enabled" = 1;
"param_diag_viewDebugging_insertDylibOnLaunch" = 1;
"param_install_style" = 0;
"param_launcher_UID" = 2;
"param_launcher_allowDeviceSensorReplayData" = 0;
"param_launcher_kind" = 0;
"param_launcher_style" = 99;
"param_launcher_substyle" = 8192;
"param_runnable_appExtensionHostRunMode" = 0;
"param_runnable_productType" = "com.apple.product-type.application";
"param_structuredConsoleMode" = 1;
"param_testing_launchedForTesting" = 0;
"param_testing_suppressSimulatorApp" = 0;
"param_testing_usingCLI" = 0;
"sdk_canonicalName" = "iphoneos17.4";
"sdk_osVersion" = "17.4";
"sdk_variant" = iphoneos;
}
--
System Information
macOS Version 14.4.1 (Build 23E224)
Xcode 15.3 (22618) (Build 15E204a)
Timestamp: 2024-04-07T02:07:20+02:00
I have tried the usual basics (restart XCode, disable-re-enable dev mode, perform a clean build), but to no avail. What could be going wrong here? I suspect this has to do with the phone or the pairing, since the same applications perfectly work on the Simulator or on my other devices.
Tried various how-tos on youtube and github. Have conda.
Third step fails.
conda install -c apple tensorflow-deps
pip install tensorflow-macos
pip install tensorflow-metal
ERROR: Could not find a version that satisfies the requirement tensorflow-metal (from versions: none)
ERROR: No matching distribution found for tensorflow-metal
I see a lot of fixes for Intel-based Mac. None for M3. HELP!?
Hi, Im Unity Developer and using Apple ARkit XR Plugin package for my project development.
I want to access ARkit rgbimage frame and convert to texture2D in my project.
It seems that ARkit overrides camera authorization both back and front, so grabbing wecamtexture using another API(e.g. unitywebcamtexture class) does not allowed.
Also ARKit does not provide official root to directly get frame from AR camera.
Is ther anyone resolved this issue?
Thank you.
I want to access to appstoreconnect..
With IOS 17.4.1 we notice that the restriction for Disallow Airprint is not working, it works on 17.3.1, and the restriction gets pushed down to both devices but does not work with IOS 17.4.1
why when i airdrop my photos to my ipad they are saved to the file s app? I have enough storage to my ipad.
All of a sudden can't use Citrix - here is what I get
System Integrity Protection: enabled
Notes:
PC register does not match crashing frame (0x0 vs 0x1061A33B8)
Crashed Thread: 0 1 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called