I follow this guide to update:
https://forum.ionicframework.com/t/guide-how-to-update-to-ionic-3-x/87516
Then I had to run those commands:
sudo npm uninstall -g @angular/cli sudo npm cache clean sudo npm install -g @angular/cli@latest sudo npm install -g typescript@latest
I can run on browser and Android perfectly. Only on iOS I’m having problem.
When I run the command the build appear to be ok. But this is the end of output:
** ARCHIVE SUCCEEDED **
2017-05-23 11:35:14.469 xcodebuild[13461:72573] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/nh/t592403s3l992dzy4rpygkr80000gn/T/Test_2017-05-23_11-35-14.467.xcdistributionlogs'.
2017-05-23 11:35:14.510 xcodebuild[13461:72573] [MT] DeveloperPortal: Using pre-existing current store at URL (file:///Users/diego/Library/Developer/Xcode/DeveloperPortal%207.3.1.db).
2017-05-23 11:35:15.087 xcodebuild[13461:72573] [MT] IDEDistribution: Step failed: <IDEDistributionSigningAssetsStep: 0x7fe662c9f8d0>: Error Domain=IDEDistributionErrorDomain Code=1 "(null)"
error: exportArchive: The operation couldn’t be completed. (IDEDistributionErrorDomain error 1.)
Error Domain=IDEDistributionErrorDomain Code=1 "(null)"
** EXPORT FAILED **
Error: Error code 70 for command: xcodebuild with args: -exportArchive,-archivePath,Test.xcarchive,-exportOptionsPlist,/apps/test-app/platforms/ios/exportOptions.plist,-exportPath,/apps/test-app/platforms/ios/build/device
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.10.0
OS : OS X El Capitan
Xcode : Xcode 7.3.1 Build version 7D1014
ios-deploy : 1.9.1
ios-sim : not installed
Thank you