Ionic is not building iOS app because of @ionic-cloud

Hi everyone,

I’ve a problem, I’m working with my app and now I’m working with notifications. The thing is that I’m working on that for a long week and I cannot fix it.

Notifications are working in Android, but with iOS is not. Plus, my Ionic cannot build the app in iOS, the terminal is working with the message “Running command” for hours and nothing happens. After some days checking what could be the problem, I found that this is happening every time I install @ionic-cloud, without this I can build perfectly a iOS app, but whenever I install that, the process get frozen in the part of “Running command”.

I’m using Ionic 3, even my app is based in Ionic 2. I’m using MacBook.

If anyone could help me, I will be really thankful!!

  1. How can notifications work on Android without @ionic-cloud?
  2. Please post your ionic info output and packages.json content.
  3. How exactly are you building your app for iOS?
  1. I’ve @ionic-cloud, that’s the reason why works with Android, but whenever I install @ionic-cloud, my project cannot build with iOS.

  2. How can I do that?

  3. I’m building with command sudo ionic cordova build ios

  1. Run ionic info on the command line, copy the output.
  2. Open package.json file and copy the content.

This is ionic info

global packages:

    @ionic/cli-utils : 1.4.0
    Cordova CLI      : not installed
    Ionic CLI        : 3.4.0

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.4.0
    @ionic/cli-plugin-ionic-angular : 1.3.1
    Cordova Platforms               : none
    Ionic Framework                 : ionic-angular 3.4.2

System:

    Node       : v6.11.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.3 Build version 8E3004b 
    ios-deploy : 1.9.1 
    ios-sim    : not installed
    npm        : 3.10.10

This is package.json

{
    "name": "wolspain-app",
    "version": "0.0.1",
    "author": "Ionic Framework",
    "homepage": "http://ionicframework.com/",
    "private": true,
    "scripts": {
        "clean": "ionic-app-scripts clean",
        "build": "ionic-app-scripts build",
        "lint": "ionic-app-scripts lint",
        "ionic:build": "ionic-app-scripts build",
        "ionic:serve": "ionic-app-scripts serve"
    },
    "dependencies": {
        "@angular/common": "4.1.3",
        "@angular/compiler": "4.1.3",
        "@angular/compiler-cli": "4.1.3",
        "@angular/core": "4.1.3",
        "@angular/forms": "4.1.3",
        "@angular/http": "4.1.3",
        "@angular/platform-browser": "4.1.3",
        "@angular/platform-browser-dynamic": "4.1.3",
        "@ionic-native/core": "3.10.2",
        "@ionic-native/splash-screen": "3.10.2",
        "@ionic-native/status-bar": "3.10.2",
        "@ionic/cloud-angular": "^0.12.0",
        "@ionic/storage": "2.0.1",
        "cordova-android": "^6.2.3",
        "cordova-ios": "^4.4.0",
        "cordova-plugin-console": "^1.0.5",
        "cordova-plugin-device": "^1.1.4",
        "cordova-plugin-splashscreen": "^4.0.3",
        "cordova-plugin-statusbar": "^2.2.2",
        "cordova-plugin-whitelist": "^1.3.1",
        "ionic-angular": "3.4.2",
        "ionic-plugin-keyboard": "^2.2.1",
        "ionicons": "3.0.0",
        "rxjs": "5.4.0",
        "sw-toolbox": "3.6.0",
        "zone.js": "0.8.12"
    },
    "devDependencies": {
        "@ionic/app-scripts": "1.3.7",
        "@ionic/cli-plugin-cordova": "1.4.0",
        "@ionic/cli-plugin-ionic-angular": "1.3.1",
        "typescript": "2.3.3"
    },
    "description": "An Ionic project",
    "cordova": {
        "plugins": {
            "cordova-plugin-console": {},
            "cordova-plugin-device": {},
            "cordova-plugin-splashscreen": {},
            "cordova-plugin-statusbar": {},
            "cordova-plugin-whitelist": {},
            "ionic-plugin-keyboard": {}
        },
        "platforms": [
            "android",
            "ios"
        ]
    }
}