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

archive will not generate on adding this library #6

Closed
Sushobhitbuiltbyblank opened this issue May 2, 2017 · 3 comments
Closed

archive will not generate on adding this library #6

Sushobhitbuiltbyblank opened this issue May 2, 2017 · 3 comments

Comments

@Sushobhitbuiltbyblank
Copy link

I am using Xcode - Version 8.3.2 (8E2002)
Code in Swift
use cocoapod to add libray in xcode.
I want to use this library the library work on run on simulator and device. but when i try to make Archive. Its shows below error -
ld: bitcode bundle could not be generated because '/Users/path/Desktop/project-name/practical/Demo/Pods/TinyCrayon/TCMask.framework/TCMask' was built without full bitcode. All frameworks and dylibs for bitcode must be generated from Xcode Archive or Install build for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

I have search out the issue but get nothing fruitful. also follow this - http://stackoverflow.com/questions/31486232/how-do-i-xcodebuild-a-static-library-with-bitcode-enabled
but still no luck.
Please help me out.

@zengxinzhy
Copy link
Contributor

Hi @Sushobhitbuiltbyblank , currently the TinyCrayon SDK does not support bitcode yet, we are still busy working on this, and we are expected to release a new version with bitcode support in 1 or 2 weeks.

To avoid it from blocking your progress, you can set Enable Bitcode to "NO" in your build settings.
http://stackoverflow.com/questions/30848208/new-warnings-in-ios-9

Thanks

@Sushobhitbuiltbyblank
Copy link
Author

Thank you very much for the response. Now I am able to make archive after set Enable Bitcode to "NO" in built setting.

@zengxinzhy
Copy link
Contributor

Hi @Sushobhitbuiltbyblank . Just FYI, the latest release with bitcode support has been released. If you run 'pod update', the archive should work with Enable Bitcode set back to "YES".

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