ios build fails after Pods/Toast and Pods/Starscream dependencies check
Please, provide the details below:
Did you verify whether this issue has already been reported here?
_Yes
Tell us about the problem
ios cloud build fails. tns-ios-version: 5.0.0
Which platform(s) does the issue occur on?
Windows 10
Provide the following version numbers that the issue occurs with:
- **NativeScript Sidekick: 1.16.2
- **NativeScript CLI: 5.4.0
- **CLI extension nativescript-cloud: 1.17.4
- **CLI extension nativescript-starter-kits: 0.3.5 **nativescript-socketio: 3.2.1 -**StarScream: 3.1.0 -**Toast: 3.1.0
Send the client logs
Errors 1
Device Console
[19-05-30 15:51:32.787] (CLI) Pod installation complete! There are 2 dependencies from the Podfile and 3 total pods installed.
[19-05-30 15:51:32.787] (CLI) [!] Automatically assigning platform ios with version 9.0 on target foodmedv01 because no platform was specified. Please specify a platform for this target in your Podfile. See https://guides.cocoapods.org/syntax/podfile.html#platform.
[19-05-30 15:51:32.787] (CLI) Project successfully prepared (ios)
[19-05-30 15:51:32.787] (CLI) Executing after-prepare hook from /private/tmp/builds//3ea8ebb139f941e7a77c6de400592d4039e5cbbb/5.0.3/5.0.0/foodmedv01/hooks/after-prepare/nativescript-dev-webpack.js
[19-05-30 15:51:32.787] (CLI) Build for Device
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/7bb60cb1-e6da-4588-9f25-23608ff4390e-db"
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/5edb0f75-193d-4fce-89a6-d78727585777-db"
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/949bdfb9-5986-466b-bbc8-212ca4450731-db"
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/267f276c-c81e-4acc-a336-d669c84d16ad-db"
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/e596b8aa-4d20-4e91-a732-000268225a32-db"
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/fc88857e-d214-42cb-89ff-2c2532c5acd9-db"
[19-05-30 15:51:32.787] (CLI) "/Users/builder/Library/Keychains/'`-db"
[19-05-30 15:51:32.787] (CLI) 1 identity imported.
[19-05-30 15:51:32.787] (CLI) keychain: "/Users/builder/Library/Keychains/247dddd2-2fe4-4f19-809a-d8ec8c333305-db"
[19-05-30 15:51:32.787] (CLI) version: 512
[19-05-30 15:51:32.787] (CLI) class: 0x00000010
[19-05-30 15:51:32.787] (CLI) attributes:
[19-05-30 15:51:32.787] (CLI) 0x00000000
HI @johnny550,
Can you share with us your project or at least the project's package.json file?
Hi @tsonevn. Any update?
HI @johnny550, Excuse me for the delay in reply. I reviewed the attached package.json and noticed that you are using an old NativeScript. Regarding that, I would suggest updating the project's package.json while following the below-attached one:
{
"nativescript": {
"id": "org.nativescript.testPlugin2",
"tns-ios": {
"version": "5.4.2"
},
"tns-android": {
"version": "5.4.0"
}
},
"description": "NativeScript Application",
"license": "SEE LICENSE IN <your-license-filename>",
"repository": "<fill-your-repository-here>",
"dependencies": {
"nativescript-gradient": "^2.0.1",
"nativescript-socketio": "^3.3.1",
"nativescript-theme-core": "^1.0.6",
"nativescript-toasty": "2.0.0",
"nativescript-ui-listview": "^6.4.1",
"nativescript-ui-sidedrawer": "6.0.0",
"nativescript-vue": "^2.2.2",
"tns-core-modules": "^5.4.3",
"vuex": "^3.0.1"
},
"devDependencies": {
"@babel/core": "~7.1.0",
"@babel/preset-env": "~7.1.0",
"babel-loader": "~8.0.0",
"nativescript-dev-webpack": "~0.24.0",
"nativescript-vue-template-compiler": "~2.2.0",
"node-sass": "^4.7.1",
"vue-loader": "~15.4.0"
},
"gitHead": "8c1a4866a66daab09bf5ef8e5a96472687192373",
"readme": "NativeScript Application"
}
Clear up the project by deleting node_modules, platforms, hooks and .cloud folders and package-lock.json file and clear up the workspace by selecting File->Clean Cloud Workspace in SideKick . Then try to rebuild the project.