Skip to content

Failed to verify bitcode in TNSWidgets.framework/TNSWidgets #4019

@jpakulski

Description

@jpakulski

Environment

Component nativescript has 4.2.4 version and is up to date.
Component tns-core-modules has 4.2.1 version and is up to date.
Component tns-ios has 4.2.0 version and is up to date.

Plugins

    "@angular/animations": "^6.1.10",
    "@angular/cli": "^6.1.10",
    "@angular/common": "^6.1.10",
    "@angular/compiler": "^6.1.10",
    "@angular/core": "^6.1.10",
    "@angular/forms": "^6.1.10",
    "@angular/http": "^6.1.10",
    "@angular/platform-browser": "^6.1.10",
    "@angular/platform-browser-dynamic": "^6.1.10",
    "@angular/router": "^6.1.10",
    "nativescript-angular": "^6.1.0",
    "nativescript-bitmap-factory": "^1.7.1",
    "nativescript-directions": "^1.3.0",
    "nativescript-drawingpad": "^3.0.3",
    "nativescript-drop-down": "^4.0.1",
    "nativescript-email": "^1.5.3",
    "nativescript-fontawesome": "^1.0.0",
    "nativescript-gradient": "^2.0.1",
    "nativescript-iqkeyboardmanager": "^1.3.0",
    "nativescript-ng-shadow": "^2.1.0",
    "nativescript-phone": "^1.3.1",
    "nativescript-plugin-firebase": "^7.1.5",
    "nativescript-sentry": "^1.5.2",
    "nativescript-sqlite": "^2.2.3",
    "nativescript-theme-core": "^1.0.4",
    "nativescript-ui-autocomplete": "^3.9.0",
    "nativescript-ui-listview": "^3.7.1",
    "nativescript-ui-sidedrawer": "^4.3.1",
    "nativescript-unit-test-runner": "^0.3.4",
    "node-sass": "^4.9.3",
    "npm": "^6.4.1",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.3.3",
    "tns-core-modules": "^4.2.1",
    "zone.js": "^0.8.26"

Describe the bug
Started when I was forced to update Xcode to version 10 (to make iOS 12 builds).

Happens when trying to create an Enterprise Archive using XCode. App builds fine but fails with the following error when Enterprise distribution is selected:

Failed to verify bitcode in TNSWidgets.framework/TNSWidgets:
error: Bundle only contains bitcode-marker /var/folders/5d/kv3n6r795l156_mwk8lzpfv00000gn/T/IDEDistributionOptionThinning.Sgt/Payload/hektor.app/Frameworks/TNSWidgets.framework/TNSWidgets (arm64)

I can run the app using the simulator and a dev. build on real device.

I helped reporting a similar issue with the firebase plugin here. And @EddyVerbruggen fixed the bad lib.

This is probably related to this issue.

To Reproduce
Create an Enterprise Archive in XCode 10 of an app which uses TNSWidgets.framework.

Expected behavior
Enterprise archive created.

Thank You

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions