ionic-team/legacy-ionic-cloud

Ionic package build for ios doesn't work anymore

Opened this issue · 2 comments

Hi @ALL,

I changed some code lines in src directory and I'm not able to build an .ipa file for ios devices like before.
I used this command
ionic package build ios --profile <profile> --release

global packages:

    @ionic/cli-utils : 1.0.0
    Cordova CLI      : 6.5.0 
    Ionic CLI        : 3.0.0

local packages:

    @ionic/app-scripts              : 1.3.0
    @ionic/cli-plugin-cordova       : 1.0.0
    @ionic/cli-plugin-ionic-angular : 1.0.0
    Ionic Framework                 : ionic-angular 3.0.1

System:

    Node       : v7.4.0
    OS         : Linux 3.19
    Xcode      : not installed
    ios-deploy : not installed
    ios-sim    : not installed

my package.json

{
  "name": "BRK-KV-MUC-Bereitschaften",
  "author": "my name",
  "version": "1.0.4",
  "homepage": "https://my.url",
  "private": true,
  "scripts": {
    "clean": "ionic-app-scripts clean",
    "build": "ionic-app-scripts build",
    "ionic:build": "ionic-app-scripts build",
    "ionic:serve": "ionic-app-scripts serve"
  },
  "dependencies": {
    "@angular/common": "4.0.0",
    "@angular/compiler": "4.0.0",
    "@angular/compiler-cli": "4.0.0",
    "@angular/core": "4.0.0",
    "@angular/forms": "4.0.0",
    "@angular/http": "4.0.0",
    "@angular/platform-browser": "4.0.0",
    "@angular/platform-browser-dynamic": "4.0.0",
    "@ionic-native/core": "3.4.2",
    "@ionic-native/splash-screen": "3.4.2",
    "@ionic-native/status-bar": "3.4.2",
    "@ionic/cloud-angular": "^0.12.0",
    "@ionic/storage": "2.0.1",
    "angular2-jwt": "^0.2.2",
    "ionic-angular": "3.0.1",
    "ionicons": "3.0.0",
    "ng2-validation": "^4.1.0",
    "rxjs": "5.1.1",
    "sw-toolbox": "3.4.0",
    "zone.js": "^0.8.4"
  },
  "devDependencies": {
    "@ionic/app-scripts": "1.3.0",
    "@ionic/cli-plugin-cordova": "1.0.0",
    "@ionic/cli-plugin-ionic-angular": "1.0.0",
    "angular-ide": "^0.9.19",
    "typescript": "~2.2.1"
  },
  "cordovaPlugins": [
    "cordova-plugin-whitelist",
    "cordova-plugin-console",
    "cordova-plugin-statusbar",
    "cordova-plugin-device",
    "cordova-plugin-splashscreen",
    {
      "variables": {
        "SENDER_ID": "<sender_id>"
      },
      "locator": "phonegap-plugin-push"
    },
    "ionic-plugin-keyboard"
  ],
  "cordovaPlatforms": ["ios", "android"],
  "description": "bla lba"
}

ionic package info <build_id>

output:

[..]
=== BUILD TARGET BRK MuÃànchen - Bereitschaften OF PROJECT BRK München - Bereitschaften WITH CONFIGURATION Release ===

Check dependencies
Bundle identifier is missing. BRK MuÃànchen - Bereitschaften doesn't have a bundle identifier for the Release build configuration. Add a value for PRODUCT_BUNDLE_IDENTIFIER in the build settings editor.
Code signing is required for product type 'Application' in SDK 'iOS 10.2'

** ARCHIVE FAILED **


The following build commands failed:
	Check dependencies
(1 failure)
Error: Error code 65 for command: xcodebuild with args: -xcconfig,/Users/package/workspace/apps-c2a5abfc-81/cordova/platforms/ios/cordova/build-release.xcconfig,-workspace,BRK München - Bereitschaften.xcworkspace,-scheme,BRK München - Bereitschaften,-configuration,Release,-destination,generic/platform=iOS,-archivePath,BRK München - Bereitschaften.xcarchive,archive,CONFIGURATION_BUILD_DIR=/Users/package/workspace/apps-c2a5abfc-81/cordova/platforms/ios/build/device,SHARED_PRECOMPS_DIR=/Users/package/workspace/apps-c2a5abfc-81/cordova/platforms/ios/build/sharedpch

I use a Linux OS and in the past it was possible to build ipa by the cloud services like this.

Did there anything change? When building apk for android devices everything works fine.

Thanks in advance!

Same error. But only upgraded ionic. CLI, angular, native, ect... No source modifications.

global packages:

    @ionic/cli-utils : 1.1.2
    Cordova CLI      : 6.5.0 
    Ionic CLI        : 3.1.2

local packages:

    @ionic/app-scripts              : 1.3.7
    @ionic/cli-plugin-cordova       : 1.1.2
    @ionic/cli-plugin-ionic-angular : 1.1.2
    Ionic Framework                 : ionic-angular 3.2.1

System:

    Node       : v7.4.0
    OS         : macOS Sierra
    Xcode      : Xcode 8.3.2 Build version 8E2002 
    ios-deploy : 1.9.0 
    ios-sim    : 5.0.13 

bump