My app consists of two exes, one is XXXSrv.exe which runs in background with mobile starting, another is XXX.exe.
Previously I tested the app with two unprotected UID, in range 0xA..., assigned to two exes seperately. The app worked on emulator, no *PlatSec* warning. And it also worked on mobile with my Developer Certificate signing.
Last week we were going to Express Sign the app, and protected UID needed. So I replaced two unprotected UID with two protected UID, in range 0x2...
When I signed the app with the same Developer Certificate, the app can be installed on mobile without error. And the backgroud exe XXXSrv.exe runs as expected. But XXX.exe throw an error msg "Unable to execute file for security reasons" when starting.
Could someone kind to explain why it's OKAY with unprotected UID, but failed with protected UID?
- I'm sure I replaced every UID correctly, because I've replaced with another two unprocted UIDs and it worked.
- On emulator there are no PlatSec warning.
- I searched the forum and googled it, but no help. Many of them said it's because of using some capability not specified in mmp files. But it's weird here that it actullay worked with unprotected UIDs.
- my developer certificate is valid.
Any help is greatly appreciated.