ProgressNS / sidekick-feedback

This repository is for feedback regarding NativeScript Sidekick. Use the issues system here to submit feature requests or vote for existing ones.
45 stars 9 forks source link

ios build fails after Pods/Toast and Pods/Starscream dependencies check #383

Open johnny550 opened 5 years ago

johnny550 commented 5 years ago

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:

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 =0x00000010 [19-05-30 15:51:32.787] (CLI) 0x00000001 =0x334231393032463600 \"3B1902F6\000\" [19-05-30 15:51:32.787] (CLI) 0x00000002 = [19-05-30 15:51:32.787] (CLI) 0x00000003 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000004 =0x00000000 [19-05-30 15:51:32.787] (CLI) 0x00000005 =0x00000000 [19-05-30 15:51:32.787] (CLI) 0x00000006 =0xCC8FE4BAEA10724673065E324A3891295047FE3E \"\314\217\344\272\352\020rFs\006^2J8\221)PG\376>\" [19-05-30 15:51:32.787] (CLI) 0x00000007 = [19-05-30 15:51:32.787] (CLI) 0x00000008 =0x7B38373139316361322D306663392D313164342D383439612D3030303530326235323132327D00 \"{87191ca2-0fc9-11d4-849a-000502b52122}\000\" [19-05-30 15:51:32.787] (CLI) 0x00000009 =0x0000002A \"\000\000\000*\" [19-05-30 15:51:32.787] (CLI) 0x0000000A =0x00000800 [19-05-30 15:51:32.787] (CLI) 0x0000000B =0x00000800 [19-05-30 15:51:32.787] (CLI) 0x0000000C =0x0000000000000000 [19-05-30 15:51:32.787] (CLI) 0x0000000D =0x0000000000000000 [19-05-30 15:51:32.787] (CLI) 0x0000000E =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x0000000F =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000010 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000011 =0x00000000 [19-05-30 15:51:32.787] (CLI) 0x00000012 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000013 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000014 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000015 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000016 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000017 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000018 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x00000019 =0x00000001 [19-05-30 15:51:32.787] (CLI) 0x0000001A =0x00000001 [19-05-30 15:51:32.787] (CLI) Building project ... [19-05-30 15:51:35.560] (CLI) ▸ Building Pods/Toast [Debug] [19-05-30 15:51:35.560] (CLI) ▸ Check Dependencies [19-05-30 15:51:35.560] (CLI) ▸ Building Pods/Starscream [Debug] [19-05-30 15:51:35.560] (CLI) ▸ Check Dependencies [19-05-30 15:51:35.560] (CLI) ARCHIVE FAILED [19-05-30 15:51:35.560] (CLI) The following build commands failed: [19-05-30 15:51:35.560] (CLI) \tCheck dependencies [19-05-30 15:51:35.560] (CLI) (1 failure) [19-05-30 15:51:35.560] (CLI) ARCHIVE FAILED [19-05-30 15:51:35.560] (CLI) The following build commands failed: [19-05-30 15:51:35.560] (CLI) \tCheck dependencies [19-05-30 15:51:35.560] (CLI) (1 failure) [19-05-30 15:51:44.162] Build step completed. [19-05-30 15:51:44.166] Build failed. Build failed. Reason is: 'Build failed with error code 2'. Additional information: [00:00:06.658] [WARN] clean-webpack-plugin: /private/tmp/builds//3ea8ebb139f941e7a77c6de400592d4039e5cbbb/5.0.3/5.0.0/foodmedv01/platforms/ios/foodmedv01/app/*/ has been removed. [00:00:22.420] [WARN] ARCHIVE FAILED The following build commands failed: Check dependencies (1 failure) [00:00:22.721] [ERROR] ARCHIVE FAILED The following build commands failed: Check dependencies (1 failure) 'Build failed with error code 2'. OUTPUT 1

tsonevn commented 5 years ago

HI @johnny550, Can you share with us your project or at least the project's package.json file?

johnny550 commented 5 years ago

Yes sure. Here is the package.json. Thanks for helping

package.zip

johnny550 commented 5 years ago

Hi @tsonevn. Any update?

tsonevn commented 5 years ago

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.