NativeScript / NativeScript/ios

Build error - Bitcode not enabled

Open
#191 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
150
Forks
43
Avg merge
3d 10h
Merged PRs (30d)
22

Description

Hi,

I've to enable bitcode on our application because we need to use IXGuard and it requires bitcode.
During build I have this error:

/NativeScript.framework/NativeScript' does not contain bitcode. You must rebuild it with bitcode enabled (Xcode setting ENABLE_BITCODE), obtain an updated library from the vendor

I've this error if I use iOS runtime version > 8.4, if I use previous versions it works correctly.

Is it possible to release newer versions of NS Runtime with bitcode enabled?

Thanks for your attention.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the build with an iOS runtime newer than 8.4 and inspect NativeScript.framework, which the error identifies as lacking bitcode. Done means a newer NativeScript iOS runtime is released with bitcode enabled and the application builds successfully with IXGuard.

Written by the indexing model from the issue text.

Assessment

Tech stack
ios, javascript
Domain
build-system, mobile-dev
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.