I was trying to codesign the output from PyInstaller. It was fine outside 
of the sandbox, but I got this in a sandbox: Container object 
initialization failed: failed to get bundleid for app <my executable name>. 
There is first a pop-up asking for my credentials for library repair.

I had only a rudimentary understanding of how PyInstaller works. My 
understanding was that the bootloader runs and unpacks, then launches a 
second process to run the unpacked application. Launching a second process 
is unfriendly to sandboxing, although Apple provides some limited ways for 
that to work.

I tried both onefile and a normal bundle but it seemed like both are 
multi-process in a way that sandboxing doesn't find acceptable.

I don't think I am attempting something special here, because sandboxing is 
a requirement for many app stores. So there must be some recipe to do that, 
right?

Thanks in advance for any advice.

-- 
You received this message because you are subscribed to the Google Groups 
"PyInstaller" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/pyinstaller.
For more options, visit https://groups.google.com/d/optout.

Reply via email to