Multiple apps based on the same code base fails biometric authentication on iPhone.

I have multiple apps based on the same code base. And we are having features called biometric authentication on the app when the app is opened.

When I have the App-1 installed and then installing any other apps of mine like the App-2 app my biometric stops for the App-1 app and works for the App-2. Similarly, if I am installing the other app of mine biometric like App-3 it shifts to a newly installed app and stops for the rest of the app like App-1 and App-2.

And if I delete the newly installed app the biometric starts working only for the latest one from the list of apps installed.

It's like it will work for one app which is last installed on my device. Rest other biometric is not working.


Steps 1

App-1 -> Installed

App-2 -> Installed

App-3 -> Installed

If all three 3 installed works for the latest installed i.e App-3


Step 2

App-1 -> Installed

App-2 -> Installed

App-3 -> Deleted

Now deleted App-3 biometric start working for App-2

Problem Facing on iOS Device

On Simulator works for all


I’ve seen something like this before. In that case the issue was that the LocalAuthentication subsystem was using the main executable’s Mach-O UUID as art of its client tracking, and having multiple clients with the same UUID would confuse it. IMO this is a bug for Apple to fix (r. 68659397) but, in the meantime, you can work around it by ensuring that all of your apps have a unique Mach-O UUID for their main executable.

Share and Enjoy

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

Thanks for your response. When will this be fixed by the apple team as I have checked my app has unique UUID.

When will this be fixed by the apple team as I have checked my app has
unique UUID.

If each of your apps has a unique Mach-O UUID this is not the same issue I mentioned in my previous post. In that case I have no good idea why things are failing. I have two bits of advice:
  • File a bug report, making such to attach the .ipa files for each of your apps and a sysdiagnose log taken shortly after reproducing the problem. Please post your bug number, just for the record.

  • If you’d like someone from DTS to look for a workaround, open a DTS tech support incident and we can pick things up in that context.

Share and Enjoy

Quinn “The Eskimo!” @ Developer Technical Support @ Apple
let myEmail = "eskimo" + "1" + "@apple.com"
Case1:
One thing I noticed is when I reinstall Xcode and release new build biometrics works for both the app. From Same Mac.

Case2:
Also in the case when I have 2 mac and I do a release

App-1 - Mac1
App-2 - Mac2

In this case also both biometric works.😀
Multiple apps based on the same code base fails biometric authentication on iPhone.
 
 
Q