iOS - Ad-Hoc distribution - Failed to verify bitcode in TNSWidgets.framework


#1

Hi ! I want to distribute my NativeScript application in my company. With Xcode, I tried to create the file with : Archive -> Distribute -> Entreprise. But, I get this error :

Failed to verify bitcode in TNSWidgets.framework/TNSWidgets:
error: Bundle only contains bitcode-marker /var/folders/sh/cs0f0z8s6sj_cmhs7bwml3hr0000gn/T/IDEDistributionOptionThinning.Ezf/Payload/build.app/Frameworks/TNSWidgets.framework/TNSWidgets (armv7)

If I try Archive -> Distribute App -> iOS App Store, it works.

My package.json :

{
	"description": "NativeScript Application",
	"license": "SEE LICENSE IN <your-license-filename>",
	"readme": "NativeScript Application",
	"name": "rj-app-core",
	"repository": "<fill-your-repository-here>",
	"nativescript": {
		"id": "com.whiteapp.dev",
		"tns-android": {
			"version": "4.1.3"
		},
		"tns-ios": {
			"version": "4.1.1"
		}
	},
	"dependencies": {
		"@angular/animations": "~6.0.0",
		"@angular/common": "~6.0.0",
		"@angular/compiler": "~6.0.0",
		"@angular/core": "~6.0.0",
		"@angular/forms": "~6.0.0",
		"@angular/http": "~6.0.0",
		"@angular/platform-browser": "~6.0.0",
		"@angular/platform-browser-dynamic": "~6.0.0",
		"@angular/router": "~6.0.0",
		"@teammaestro/nativescript-svg": "^1.0.1",
		"nativescript-angular": "~6.0.0",
		"nativescript-appversion": "^1.4.1",
		"nativescript-background-http": "^3.3.0",
		"nativescript-drop-down": "^4.0.1",
		"nativescript-email": "^1.5.3",
		"nativescript-facebook": "^2.2.2",
		"nativescript-imagepicker": "https://github.com/captainhaddock29/nativescript-imagepicker/raw/master/publish/package/nativescript-imagepicker-6.0.4.tgz",
		"nativescript-iqkeyboardmanager": "^1.3.0",
		"nativescript-localstorage": "^2.0.0",
		"nativescript-modal-datetimepicker": "^1.1.3",
		"nativescript-ngx-shadow": "^6.2.0",
		"nativescript-oauth": "2.1.2",
		"nativescript-pager": "^7.0.13",
		"nativescript-plugin-firebase": "^6.7.0",
		"nativescript-pro-ui": "^3.4.0",
		"nativescript-snackbar": "^3.0.0",
		"nativescript-sqlite": "^2.0.1",
		"nativescript-swiper": "^0.1.0",
		"nativescript-swiss-army-knife": "^3.0.0",
		"nativescript-theme-core": "~1.0.4",
		"nativescript-urlhandler": "^1.2.2",
		"reflect-metadata": "~0.1.8",
		"rxjs": "^6.0.0",
		"slugme": "^1.1.1",
		"tns-core-modules": "~4.1.0",
		"wonderpush-nativescript-sdk": "https://github.com/pboulch/wonderpush-nativescript-sdk/raw/master/publish/package/wonderpush-nativescript-sdk-0.1.0.tgz",
		"zone.js": "^0.8.26"
	},
	"devDependencies": {
		"babel-traverse": "6.26.0",
		"babel-types": "6.26.0",
		"babylon": "6.18.0",
		"lazy": "1.0.11",
		"nativescript-dev-sass": "^1.6.0",
		"nativescript-dev-typescript": "~0.7.0",
		"tns-platform-declarations": "^4.2.0",
		"typescript": "~2.7.2"
	}
}

Do you have an idea ?

Thanks !


#2

It’s a outdated plugin, use the latest splited plugins.