ionic-team / legacy-ionic-cloud

JavaScript Client for legacy Ionic Cloud services. See Ionic Pro for our new take on the ionic development lifecycle
Apache License 2.0
65 stars 26 forks source link

IOS - Failure while building the project environment #223

Open royibernthal opened 7 years ago

royibernthal commented 7 years ago

Packaging for IOS used to work fine for me until yesterday, which reminds me a bit of https://github.com/ionic-team/ionic-cloud/issues/32.

ionic serve and ionic cordova run android --device work without problems.

ionic package info 15 --verbose

[DEBUG] Loading global plugin @ionic/cli-plugin-proxy [DEBUG] Throwing PLUGIN_NOT_INSTALLED for global @ionic/cli-plugin-proxy [DEBUG] Loading local plugin @ionic/cli-plugin-cordova [DEBUG] Loading local plugin @ionic/cli-plugin-ionic-angular ✔ Retrieving information about build 15 - done!

id | 15 status | FAILED platform | iOS mode | debug profile | dev started | 2017-06-27T17:47:17.050Z finished |

output: Failure while building the project environment

I'm guessing the problem could be this line?

[DEBUG] Throwing PLUGIN_NOT_INSTALLED for global @ionic/cli-plugin-proxy

ionic info

global packages:

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

local packages:

@ionic/app-scripts              : 1.3.8
@ionic/cli-plugin-cordova       : 1.4.0
@ionic/cli-plugin-ionic-angular : 1.3.1
Cordova Platforms               : android 6.2.3 ios 4.4.0
Ionic Framework                 : ionic-angular 3.1.1

System:

Node       : v6.9.5
OS         : Windows 10
Xcode      : not installed
ios-deploy : not installed
ios-sim    : not installed
npm        : 3.10.10
leandroz commented 7 years ago

Same error here:

[ERROR] Error with /www/lib/ionic/version.json file: FILE_NOT_FOUND

global packages:

@ionic/cli-plugin-proxy : 1.3.2
@ionic/cli-utils        : 1.5.0
Cordova CLI             : 7.0.1 
Gulp CLI                : CLI version 3.9.1 Local version 3.9.1
Ionic CLI               : 3.5.0

local packages:

@ionic/cli-plugin-cordova : 1.4.0-alpha.e838a5d7
@ionic/cli-plugin-gulp    : 1.0.1-alpha.e838a5d7
@ionic/cli-plugin-ionic1  : 2.0.0-alpha.e838a5d7
Cordova Platforms         : android 6.1.2 ios 4.4.0
Ionic Framework           : unknown

System:

Node       : v7.10.0
OS         : macOS Sierra
Xcode      : Xcode 8.3.3 Build version 8E3004b 
ios-deploy : 1.9.1 
ios-sim    : not installed
npm        : 5.3.0
fabianberrutti commented 7 years ago

Hello, I have the same error. I don't found any documentation.

[DEBUG] Loading global plugin @ionic/cli-plugin-proxy [DEBUG] Detected ./gulpfile.js in project directory [DEBUG] Loading local plugin @ionic/cli-plugin-cordova [DEBUG] Loading local plugin @ionic/cli-plugin-gulp [DEBUG] Loading local plugin @ionic/cli-plugin-ionic1 ✔ Retrieving latest build information - done!

id | 50 status | FAILED platform | iOS mode | debug profile | dev started | 2017-07-25T18:22:44.543Z finished |

output: Failure while building the project environment

leandroz commented 7 years ago

@royibernthal I found the error in my case, we have different id for android and iOS, so we use this: android-packageName="xxx" ios-CFBundleIdentifier="yyy" instead of the default id.

Please refer to Cordova docs: https://cordova.apache.org/docs/en/latest/config_ref/