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

Incompatible with bitcode #28

Open
Thomvis opened this issue Mar 27, 2021 · 3 comments
Open

Incompatible with bitcode #28

Thomvis opened this issue Mar 27, 2021 · 3 comments

Comments

@Thomvis
Copy link

Thomvis commented Mar 27, 2021

After adopting InterposeKit in my app, uploading a build to Apple fails when bitcode is enabled with the following error:

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

Uploading with bitcode disabled is fine. After reading the linked page I suspect it has something to do with the inline assembly in ITKSuperBuilder.m. I removed InterposeKit from my app and uploaded with bitcode without error to confirm that it was indeed InerposeKit causing the issue. Please challenge my assumption if you think something else is the issue.

Do you think this can be fixed? At least I think it would make sense to document this limitation in the readme.

@steipete
Copy link
Owner

Yeah, I need to remove this. Noticed this as well.

@duraidabdul
Copy link

Just in case you've forgotten about this, it would be really great to see this fixed!

@twodayslate
Copy link

For reference this is what the error is when linking

    Undefined symbols for architecture arm64:
      "_ITKReturnThreadSuper", referenced from:
          __hidden#19025_ in 091.o
    ld: symbol(s) not found for architecture arm64
    Exited with 1

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

No branches or pull requests

4 participants