openfoodfacts / smooth-app

🤳🥫 The new Open Food Facts mobile application for Android and iOS, crafted with Flutter and Dart
https://world.openfoodfacts.org/open-food-facts-mobile-app?utm_source=off&utf_medium=web&utm_campaign=github-repo
Apache License 2.0
800 stars 275 forks source link

Testflight delivery fails because of errors. #245

Closed teolemon closed 3 years ago

teolemon commented 3 years ago

[07:55:57]: [iTMSTransporter] [2021-03-08 07:55:57 UTC]

INFO: Invalid checksum on resource download for: https://contentdelivery.itunes.apple.com/transporter/repositories/j2se8/2.1.0/bundles/org.xerial.sqlite-jdbc-3.27.2.1.jar expected: 0b2eff4ff050a1e6edb0dd0435de3ef5, received: 28b8e7a9105f5cf33bb41670dd0c8017

[07:55:57]: [iTMSTransporter] java.lang.reflect.InvocationTargetException

[07:55:57]: [iTMSTransporter] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

[07:55:57]: [iTMSTransporter] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

[07:55:57]: [iTMSTransporter] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

[07:55:57]: [iTMSTransporter] at java.lang.reflect.Method.invoke(Method.java:498)

[07:55:57]: [iTMSTransporter] at com.apple.transporter.launcher.Application.start(Application.java:220)

[07:55:57]: [iTMSTransporter] at com.apple.transporter.launcher.Application.main(Application.java:658)

[07:55:57]: [iTMSTransporter] Caused by: com.apple.transporter.bootstrap.BundleNotFoundException: bundle=[org.xerial.sqlite-jdbc] version=[3.27.2.1,4.0.0) not found.

[07:55:57]: [iTMSTransporter] at com.apple.transporter.bootstrap.BootstrapperPhase1.downloadNeededBundles(BootstrapperPhase1.java:267)

[07:55:57]: [iTMSTransporter] at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:97)

[07:55:57]: [iTMSTransporter] at com.apple.transporter.bootstrap.BootstrapperPhase1.bootstrap(BootstrapperPhase1.java:59)

[07:55:57]: [iTMSTransporter] at com.apple.transporter.launcher.Launcher.launchBootstrapper(Launcher.java:37)

[07:55:57]: [iTMSTransporter] ... 6 more

[07:55:57]: iTunes Transporter output above ^

monsieurtanuki commented 3 years ago

@teolemon Is that done with fastlane or manually? Fun fact: another problem with sqlite.

teolemon commented 3 years ago

Lol. It's done using fastlane.

monsieurtanuki commented 3 years ago

Then does it work with a manual operation? Perhaps it's "just" a problem in the fastlane set-up.

teolemon commented 3 years ago

My take: unlikely to be a fastlane issue (was working before). Going to investigate further.

teolemon commented 3 years ago

Ok: https://github.com/fastlane/fastlane/issues/18331 seems to popup randomly

teolemon commented 3 years ago

and not much we can do, it seems.

M123-dev commented 3 years ago

Hopefully it will be fixed soon

marcpicaud commented 3 years ago

Same here during upload_to_testflight

[19:22:58]: [Transporter Error Output]: A downloaded software component is corrupted and will not be used. https://contentdelivery.itunes.apple.com/transporter/repositories/j2se8/2.1.0/bundles/com.apple.transporter.mediatoolkit-2.1.1.jar

Happening in GitHub Actions with runner macos-latest

teolemon commented 3 years ago

@marcpicaud our latest delivery went smoothly. So just relaunching your build might fix it.

marcpicaud commented 3 years ago

Indeed ! 🤷‍♂️ Thanks @teolemon

M123-dev commented 3 years ago

I think we are save to close this here since we are not able to solve this directly but we should keep fastlane up to date

M123-dev commented 3 years ago

@teolemon https://github.com/fastlane/fastlane/issues/18331#issuecomment-802297703