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

The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. #69

Open
TamasBarta opened this issue Sep 11, 2024 · 3 comments
Labels
incident Something isn't working ios Needs changes on iOS

Comments

@TamasBarta
Copy link

When I try to upload my app to the App Store, I get this error:

[04:37:57]: [altool] 2024-09-11 04:37:57.658 *** Error: Asset validation failed Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. (ID: 2685f55e-b5a3-443f-a315-bfaef45f1c81) (90482)

[04:37:57]: [altool]  {

[04:37:57]: [altool]     NSLocalizedDescription = "Asset validation failed";

[04:37:57]: [altool]     NSLocalizedFailureReason = "Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. (ID: 2685f55e-b5a3-443f-a315-bfaef45f1c81)";

[04:37:57]: [altool]     NSUnderlyingError = "Error Domain=IrisAPI Code=-19241 \"Asset validation failed\" UserInfo={status=409, detail=Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode., id=2685f55e-b5a3-443f-a315-bfaef45f1c81, code=STATE_ERROR.VALIDATION_ERROR.90482, title=Asset validation failed, NSLocalizedFailureReason=Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode., NSLocalizedDescription=Asset validation failed}";

[04:37:57]: [altool]     "iris-code" = "STATE_ERROR.VALIDATION_ERROR.90482";

[04:37:57]: [altool] }

[04:37:57]: Application Loader output above ^
[04:37:57]: [ContentDelivery.Uploader.600003D2C180] Asset validation failed (90482) Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. (ID: 2685f55e-b5a3-443f-a315-bfaef45f1c81)
[04:37:57]: Error uploading '/var/folders/zr/1lkpcx912m125gn972vyh0jc0000gn/T/a0563dec-7659-4073-b98d-1b908e1effe6.ipa'.
[04:37:57]: Asset validation failed Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. (ID: 2685f55e-b5a3-443f-a315-bfaef45f1c81) (90482)
[04:37:57]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.
[04:37:57]: Could not download/upload from App Store Connect!

[!] Error uploading ipa file:
 [Application Loader Error Output]: [ContentDelivery.Uploader.600003D2C180] Asset validation failed (90482) Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. (ID: 2685f55e-b5a3-443f-a315-bfaef45f1c81)
[Application Loader Error Output]: Error uploading '/var/folders/zr/1lkpcx912m125gn972vyh0jc0000gn/T/a0563dec-7659-4073-b98d-1b908e1effe6.ipa'.
[Application Loader Error Output]: Asset validation failed Invalid Executable. The executable 'Runner.app/Frameworks/GoogleCast.framework/GoogleCast' contains bitcode. (ID: 2685f55e-b5a3-443f-a315-bfaef45f1c81) (90482)
[Application Loader Error Output]: The call to the altool completed with a non-zero exit status: 1. This indicates a failure.

GoogleCast is only related to this library in my app. Unfortunately I have no idea what even bitcode is, but I wanted to report this, as this wasn't the case with an earlier version of the library. Now I use main from Git in my pubspec.yaml.

@sifferhans sifferhans added incident Something isn't working ios Needs changes on iOS labels Sep 11, 2024
@sifferhans
Copy link
Contributor

sifferhans commented Dec 21, 2024

@TamasBarta Is this still the case? I switched to Google's official cast library, which should have fixed the issue.

@MessatsuGo
Copy link

MessatsuGo commented Dec 24, 2024

@TamasBarta Is this still the case? I switched to Google's official cast library, which should have fixed the issue.

Hi @sifferhans, we're also running into this issue. Looks like you pushed a fix at 580e51d to solve it, but the package at https://pub.dev/documentation/bccm_player/ doesn't seem to have been updated in a while (100+ changes in main since v1.1.2). It's also marked as 'discontinued'.

Is this still the correct place to pull your package from? According to your docs it should, but just wanted to make sure.

Regards!

@IrvingGuerra
Copy link

same here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
incident Something isn't working ios Needs changes on iOS
Projects
None yet
Development

No branches or pull requests

4 participants