Skip to content

BitCode Support #21

@loretoparisi

Description

@loretoparisi

Getting this XCode error when compiling the example ios app

ld: '/Volumes/MacHDD2/Developmemt/AI/torch-ios/Torch.framework/Torch(THStorage.c.o)' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor, or disable bitcode for this target. for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

The Torch.framework should be compiled using the C compiler flag -fembed-bitcode in order to enable bitcode.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions