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

Error when linking VirgilCryptoFoundation arm64 iOS Simulator with bitcode enabled #56

Closed
jakov-clay opened this issue Feb 3, 2022 · 2 comments

Comments

@jakov-clay
Copy link

jakov-clay commented Feb 3, 2022

Hi,
I'm really glad that you decided to move to xcframework and support arm64 iOS Simulator.

I have some issues when building some of your library dependencies for this architecture.

ld: bitcode bundle could not be generated because '/xxxx/DerivedData/Build/Products/Release-iphonesimulator/XCFrameworkIntermediates/VSCCrypto/Common/VSCCommon.framework/VSCCommon' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build file 'xxxxx/DerivedData/Build/Products/Release-iphonesimulator/XCFrameworkIntermediates/VSCCrypto/Common/VSCCommon.framework/VSCCommon' for architecture arm64

I have a framework that I build with your library as dependency. I can't seem to find a way to prevent this problem. I have to build my framework with bitcode enabled.
Is it maybe possible that you did not build VSCCommon framework with xcodebuild archive command?
Here is a screenshot of Xcode error:
Screenshot 2022-02-03 at 17 33 33

@SergeySeroshtan
Copy link
Member

Hi @jakov-clay.
Would you, please, create a test project that reproduce this issue?

@jakov-clay
Copy link
Author

It was issue on my side.

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

2 participants