CoreWLAN associateToEnterpriseNetwork doesn't remember network after macOS 12.5

I use CoreWLAN for Wi-Fi connection, since macOS 12.5, Wi-Fi can't connect automatically after restarting the computer.

rememberJoinedNetworks is set to true. Same problem with EAP-PEAP, EAP-TLS.

Can't find "com.apple.network.eap.user.item.wlan.ssid" item in keychain. 

Here is my code:

BOOL success = [interface associateToEnterpriseNetwork:selectedNetwork
                           identity:nil
                           username:username
                           password:password
                            error:&err];

Replies

Just to confirm, you’re saying that this code:

  • Worked in macOS 12.5

  • No longer works in macOS 12.6

Is that right?

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

  • Not worked in macOS 12.5,seems to worked in macOS 12.3.1

  • Not worked in macOS 12.5, seems to worked in macOS 12.3.1

Add a Comment

Not worked in macOS 12.5, seems to worked in macOS 12.3.1

Interesting.

I don’t have good explanation for that. If the problem reproduces in macOS 13, I recommend that you file a bug about it.

Please post your bug number, just for the record.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@" + "apple.com"

bug id: FB11810809

Add a Comment

Hi, Did you get any fix for this issue? Looks like my problem is same, after using above call I can connect to Ssid but if I reboot Mac then after reboot it is asking for username and password again. Did you get any working solution? I tried with different routine corewlan seteapusernameandpassword as well but no avail.