Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Python3 is added with with bundle identifier 'com.apple.python3'. #8453

Open
arun-gautham opened this issue May 6, 2024 · 1 comment
Open
Labels
triage Please triage and relabel this issue

Comments

@arun-gautham
Copy link

when o build on MACOS I see that Python3 is added with with bundle identifier 'com.apple.python3'.

{
NSLocalizedDescription = "Asset validation failed";
NSLocalizedFailureReason = "Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: Python [com.ngintec.OffCloud.Host.pkg/Payload/OffCloud.app/Contents/Frameworks/Python3.framework], with bundle identifier 'com.apple.python3'. (ID: 77d87677-2b06-47b5-ae28-6c87df8164cb)";
NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 "Asset validation failed" UserInfo={status=409, detail=Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: Python [com.ngintec.OffCloud.Host.pkg/Payload/OffCloud.app/Contents/Frameworks/Python3.framework], with bundle identifier 'com.apple.python3'., id=77d87677-2b06-47b5-ae28-6c87df8164cb, code=STATE_ERROR.VALIDATION_ERROR.90278, title=Asset validation failed, NSLocalizedFailureReason=Invalid Bundle. The application bundle may not contain tools or frameworks provided by Apple, or using bundle identifiers in the 'com.apple.' namespace. Invalid bundle: Python [com.ngintec.OffCloud.Host.pkg/Payload/OffCloud.app/Contents/Frameworks/Python3.framework], with bundle identifier 'com.apple.python3'., NSLocalizedDescription=Asset validation failed}";
"iris-code" = "STATE_ERROR.VALIDATION_ERROR.90278";

is there config to change this behaviour

@arun-gautham arun-gautham added the triage Please triage and relabel this issue label May 6, 2024
@arun-gautham arun-gautham changed the title The application bundle may not contain tools or frameworks provided by Apple Python3 is added with with bundle identifier 'com.apple.python3'. May 6, 2024
@rokm
Copy link
Member

rokm commented May 6, 2024

We don't modify the Info.plists from collected frameworks.

So the way to avoid this would be to not use the Apple's python3 interpreter for your build environment, but instead use python.org python build.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
triage Please triage and relabel this issue
Projects
None yet
Development

No branches or pull requests

2 participants