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

Enabling Bitcode for Xcode 7 fails to build #11

Closed
ckizer opened this issue Jan 3, 2016 · 5 comments
Closed

Enabling Bitcode for Xcode 7 fails to build #11

ckizer opened this issue Jan 3, 2016 · 5 comments

Comments

@ckizer
Copy link

ckizer commented Jan 3, 2016

If you enabled bitcode as the documentation says the project will fail to build with a linker error

@dji-dev
Copy link
Contributor

dji-dev commented Jan 4, 2016

Hi, since we use some third party libraries like FFMPEG, which doesn't support bitcode yet, in our sample code project, we suggest you to disable the bitcode. As the documentation says, you should set the enabled bitcode to NO. Hope it helps.

@dji-dev dji-dev closed this as completed Mar 21, 2016
@dji-dev
Copy link
Contributor

dji-dev commented Mar 21, 2016

Currently, the iOS SDK Sample Code project doesn't support bitcode due to FFmpeg's libavcodec.a issue, we have marked down this problem

@dji-dev dji-dev reopened this Mar 21, 2016
@XietongLU
Copy link
Contributor

Hi ckizer, we figure out a temporary way to enable bitcode.

  1. Enable bitcode for both demo project and VideoPreviewer project.
  2. Remove "Other Linker Flags" in VideoPreviewer.
    Then you can compile demo with bitcode enabled to your mobile device. However, there will be error when compiling demo with this setting to simulator. So if you want to debug your application on simulator, please use the original setting.
    We will keep looking for a better way to do this. Tell me if the suggestion can solve your problem. Then I can close this issue.

@dji-dev
Copy link
Contributor

dji-dev commented Jul 29, 2016

Hi, since this issue is solved, close it now.

@EonKid
Copy link

EonKid commented Jan 30, 2017

@oliverou @XietongLU I still unable to build Archive for upload to AppStore Xcode 8.2.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