Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

WalletUIExtention alert "Unable to add card"

I download a demo from:https://applepaydemo.apple.com/wallet-extensions

And I run my WalletUIExtention,but it's failed.

This is some key in my info.plist

<key>NSExtensionMainStoryboard</key>
<string>MainInterface</string>

<key>NSExtensionPointIdentifier</key>
<string>com.apple.PassKit.issuer-provisioning.authorization</string>

<key>NSExtensionPrincipalClass</key>
<string>MyAUViewController</string>

But I found that deleting the key: NSExtendesionPrincipalClass or NSExtendeionMainStoryboard in the info.plist file can make it run.

Should I delete the key ? Whitch key ?

This is it alert:

This it's message:


2025-05-06 09:15:02.946890+0800 WalletUIExt[626:13530] Successfully load keyboard extensions
Line: 1 Col:1
2025-05-06 09:15:02.972702+0800 WalletUIExt[626:13597] [xpc.exceptions]<NSXPCConnection: 0x2830c30c0> connection from pid 584
on mach service named com.bank.app.WalletUIExt.viewservice: Exception caught during decoding of received
selector __connectToViewControllerFromRemoteViewController:replyHandler:, dropping incoming message.
Exception:<NSXPCDecoder: Qx12a82bc00> received a message or reply block that is not in the interface of the remote object
(__connectToViewControllerFromRemoteViewController:replyHandler:), 
WalletUIExtention alert "Unable to add card"
 
 
Q