2
votes

I'm using Xcode to build a native script app for iOS. I've registered an app on iTunes Connect.

when I build the application on Xcode its works well.

All goes well in Xcode until I upload to the App Store. I get the following error: enter image description here

enter image description here

2
check your dependency list in package.json and make sure there are no devDependency packages added thereNick Iliev
@Nick :do I remove all the devDependency from package .json?Nayeem Mansoori
Nope - just make sure that you are not using a devDependency as a dependency - this sometimes is causing the error above. You could also try this solution discourse.nativescript.org/t/…Nick Iliev
Here the same issue was caused by node-sass as a dependency github.com/NativeScript/nativescript-dev-sass/issues/3Nick Iliev
@Nick thanks for quick reply, But I think here is the problem from fse.code, what do you think, I'm new in Native ScriptNayeem Mansoori

2 Answers

2
votes

Your error is related with devDependencies, Since error is showing invalid bundle structure this is because some of your devDependencies is added in the dependencies object inside package.json.

In your case "nativescript-dev-sass": "^1.0.0-rc.2" dependency was added in your package.json just move it from dependecy to devDependency.

-1
votes

Open the project in Finder and search if you have added any .framework file in Project directory besides pod folder. Delete the .framwork file and build,archive again.