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

version 1.18.0 - iOS - Incompatible with bitcode #1209

Closed
tomasgreen opened this issue Aug 11, 2021 · 3 comments
Closed

version 1.18.0 - iOS - Incompatible with bitcode #1209

tomasgreen opened this issue Aug 11, 2021 · 3 comments
Assignees
Labels
accepted Issue moved to product team backlog. Will be closed when addressed. bug Something isn't working

Comments

@tomasgreen
Copy link

Describe the bug
The framework is no longer bitcode-compatible.

To Reproduce
Upload an app to App Store Connect using the 1.18.0 version of the framework. Make sure to include bitcode.

Expected behavior
Rejected as invalid binary by Apple

Version of the Cognitive Services Speech SDK
1.18.0

Platform, Operating System, and Programming Language

  • OS: iOS 13.0
  • Hardware: ARM64
  • Programming language: Swift

Additional context
The following message is sent from Apple

Dear Developer,

We identified one or more issues with a recent delivery for your app, ***. Please correct the following issues, then upload again.

ITMS-90562: Invalid Bundle - One or more dynamic libraries that are referenced by your app are not present in the dylib search path.

ITMS-90562: Invalid Bundle - There's an issue with the app's bitcode compilation. Rebuild the app using the current public (GM) version of Xcode and upload it again.

ITMS-90562: Invalid Bundle - The app submission can not be successfully recompiled from bitcode due to missing symbols during linking. You can try to reproduce and diagnose such issues locally by following the instructions from: https://developer.apple.com/library/archive/technotes/tn2432/_index.html

Best regards,

The App Store Team

To be clear, if you exclude bitcode from the upload it completes successfully.

@jhakulin
Copy link

@tomasgreen I will look into this, could you confirm your app is deploying arm64 flavor only? Your report sounds like a regression in 1.18.0, could you confirm bitcode is ok with the earlier SDK version?

@jhakulin jhakulin self-assigned this Aug 11, 2021
@tomasgreen
Copy link
Author

@tomasgreen I will look into this, could you confirm your app is deploying arm64 flavor only? Your report sounds like a regression in 1.18.0, could you confirm bitcode is ok with the earlier SDK version?

Yes, I’m targeting arm64 only.

One of our projects has been a little out of date with it’s pod-dependencies. Today we upgraded from 1.14.0 to 1.18.0. This led to the conclusion that it was the most recent version that had the problem. After trying a number of different versions it turns out that the framework hasn’t been compatible with bitcode since 1.14.0.

P.S
The problem might shed some light on the issues of converting the library to an xcframework. :-)

@jhakulin jhakulin added the accepted Issue moved to product team backlog. Will be closed when addressed. label Aug 16, 2021
@pankopon pankopon added the bug Something isn't working label Oct 30, 2021
@jhakulin
Copy link

jhakulin commented Nov 3, 2021

@tomasgreen Speech SDK 1.19.0 has been released which do not have weak link dependency anymore to Gstreamer which was causing the bitcode failures. Let us know if there are any problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
accepted Issue moved to product team backlog. Will be closed when addressed. bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants