Build Failed IOS app with Ionic Pro

Hello, I am trying to compile an app ios in ionic pro, and it always returns build failed, attached full log.

Running with gitlab-runner 10.2.0~beta.147.gbd1f3fcb (bd1f3fcb)
on ip-10-2-50-102 (815cf240)
Creating new VM…
Running on Mac-9.local via ip-10-2-50-102…
Cloning repository…
Cloning into ‘builds/project-0’…
Warning: Permanently added the ECDSA host key for IP address ‘54.186.209.245’ to the list of known hosts.
Checking out a9adae47 as master…
Skipping Git submodules setup
$ fetch-updates || true
Checking for build process updates…
$ build-ios
Setting up project pipeline…
Running build process…
±-------------------------------------------±--------±---------------------------+
| Used plugins |
±-------------------------------------------±--------±---------------------------+
| Plugin | Version | Action |
±-------------------------------------------±--------±---------------------------+
| fastlane-plugin-update_project_codesigning | 0.2.0 | update_project_codesigning |
±-------------------------------------------±--------±---------------------------+

[21:39:14]: You require a gem, if this is a third party gem, please use fastlane_require 'securerandom' to ensure the gem is installed locally
[21:39:14]: ------------------------------
[21:39:14]: — Step: default_platform —
[21:39:14]: ------------------------------
[21:39:14]: Driving the lane ‘ios package_build’ :rocket:
[21:39:14]: ---------------------------
[21:39:14]: — Step: build_summary —
[21:39:14]: ---------------------------

±--------------------±--------------------+
| Build Summary |
±--------------------±--------------------+
| Job ID | 6131776 |
| macOS version | 10.13.2 |
| Xcode version | Xcode 9.2 |
| | Build version 9C40b |
| Node.js version | v8.11.1 |
| Cordova CLI version | 7.1.0 |
| npm version | 5.6.0 |
±--------------------±--------------------+

21:39:19: — Step: create_keychain —
21:39:19: -----------------------------
21:39:19: $ security list-keychains -d user
21:39:19: ▸ “/Users/ionic/Library/Keychains/login.keychain-db”
21:39:19: ----------------------------
21:39:19: — Step: download_certs —
21:39:19: ----------------------------

±------------------±-------------------------------------------------------+
| Installed Certificate |
±------------------±-------------------------------------------------------+
| User ID | JQXKBN3DHS |
| Common Name | iPhone Developer: Cristopher O\xC3\xB1ate (96KWV9PYGL) |
| Organization Unit | 788RNBU7A5 |
| Organization | Cristopher O\xC3\xB1ate |
| Country | CL |
±------------------±-------------------------------------------------------+

[21:39:20]: Installing provisioning profile…
[21:39:20]: --------------------------------
[21:39:20]: — Step: import_certificate —
[21:39:20]: --------------------------------
[21:39:20]: ---------------------------
[21:39:20]: — Step: build_pro_app —
[21:39:20]: ---------------------------

[21:40:23]: — Step: cordova platform add ios --nofetch —
[21:40:23]: ------------------------------------------------
[21:40:23]: $ cordova platform add ios --nofetch
[21:40:26]: ▸ Adding ios project…
[21:40:26]: ▸ Creating Cordova project for the iOS platform:
[21:40:26]: ▸ Path: platforms/ios
[21:40:26]: ▸ Package: com.disrupsoft.cerda
[21:40:26]: ▸ Name: Aguas Andinas
[21:40:26]: ▸ iOS project created with cordova-ios@4.5.5
[21:40:27]: ▸ Discovered plugin “cordova-plugin-splashscreen” in config.xml. Adding it to the project
[21:40:27]: ▸ Fetching plugin “cordova-plugin-splashscreen@^5.0.2” via npm
[21:40:27]: ▸ Installing “cordova-plugin-splashscreen” for ios
[21:40:27]: ▸ Adding cordova-plugin-splashscreen to package.json
[21:40:27]: ▸ Saved plugin info for “cordova-plugin-splashscreen” to config.xml
[21:40:27]: ▸ Discovered plugin “cordova-plugin-ionic-webview” in config.xml. Adding it to the project
[21:40:27]: ▸ Fetching plugin “cordova-plugin-ionic-webview@^1.1.16” via npm
[21:40:27]: ▸ Installing “cordova-plugin-ionic-webview” for ios
[21:40:28]: ▸ Adding cordova-plugin-ionic-webview to package.json
[21:40:28]: ▸ Saved plugin info for “cordova-plugin-ionic-webview” to config.xml
[21:40:28]: ▸ Discovered plugin “cordova-plugin-ionic-keyboard” in config.xml. Adding it to the project
[21:40:28]: ▸ Fetching plugin “cordova-plugin-ionic-keyboard@^2.0.5” via npm
[21:40:28]: ▸ Installing “cordova-plugin-ionic-keyboard” for ios
[21:40:28]: ▸ Adding cordova-plugin-ionic-keyboard to package.json
[21:40:28]: ▸ Saved plugin info for “cordova-plugin-ionic-keyboard” to config.xml
[21:40:28]: ▸ Discovered plugin “cordova-sqlite-storage” in config.xml. Adding it to the project
[21:40:28]: ▸ Fetching plugin “cordova-sqlite-storage@^2.2.0” via npm
[21:40:29]: ▸ Installing “cordova-sqlite-storage” for ios
[21:40:29]: ▸ installing external dependencies via npm
[21:40:31]: ▸ npm install of external dependencies ok
[21:40:31]: ▸ Adding cordova-sqlite-storage to package.json
[21:40:31]: ▸ Saved plugin info for “cordova-sqlite-storage” to config.xml
[21:40:31]: ▸ Discovered plugin “cordova-plugin-whitelist” in config.xml. Adding it to the project
[21:40:31]: ▸ Fetching plugin “cordova-plugin-whitelist@^1.3.3” via npm
[21:40:31]: ▸ Installing “cordova-plugin-whitelist” for ios
[21:40:31]: ▸ Adding cordova-plugin-whitelist to package.json
[21:40:31]: ▸ Saved plugin info for “cordova-plugin-whitelist” to config.xml
[21:40:31]: ▸ Discovered plugin “cordova-plugin-device” in config.xml. Adding it to the project
[21:40:31]: ▸ Fetching plugin “cordova-plugin-device@^2.0.1” via npm
[21:40:32]: ▸ Installing “cordova-plugin-device” for ios
[21:40:32]: ▸ Adding cordova-plugin-device to package.json
[21:40:32]: ▸ Saved plugin info for “cordova-plugin-device” to config.xml
[21:40:32]: ▸ Discovered plugin “onesignal-cordova-plugin” in config.xml. Adding it to the project
[21:40:32]: ▸ Fetching plugin “onesignal-cordova-plugin@2.1.0” via npm
[21:40:32]: ▸ Installing “onesignal-cordova-plugin” for ios
[21:40:33]: ▸ Adding onesignal-cordova-plugin to package.json
[21:40:33]: ▸ Saved plugin info for “onesignal-cordova-plugin” to config.xml
[21:40:33]: ▸ Discovered plugin “cordova-plugin-file” in config.xml. Adding it to the project
[21:40:33]: ▸ Fetching plugin “cordova-plugin-file@^5.0.0” via npm
[21:40:33]: ▸ Installing “cordova-plugin-file” for ios
[21:40:33]: ▸ Adding cordova-plugin-file to package.json
[21:40:33]: ▸ Saved plugin info for “cordova-plugin-file” to config.xml
[21:40:33]: ▸ Discovered plugin “cordova-plugin-file-transfer” in config.xml. Adding it to the project
[21:40:34]: ▸ Fetching plugin “cordova-plugin-file-transfer@^1.7.1” via npm
[21:40:34]: ▸ Installing “cordova-plugin-file-transfer” for ios
[21:40:34]: ▸ Plugin dependency “cordova-plugin-file@5.0.0” already fetched, using that version.
[21:40:34]: ▸ Dependent plugin “cordova-plugin-file” already installed on ios.
[21:40:34]: ▸ Adding cordova-plugin-file-transfer to package.json
[21:40:34]: ▸ Saved plugin info for “cordova-plugin-file-transfer” to config.xml
[21:40:34]: ▸ Discovered plugin “cordova-plugin-filechooser” in config.xml. Adding it to the project
[21:40:34]: ▸ Fetching plugin “cordova-plugin-filechooser@^1.0.1” via npm
[21:40:34]: ▸ Installing “cordova-plugin-filechooser” for ios
[21:40:34]: ▸ Adding cordova-plugin-filechooser to package.json
[21:40:34]: ▸ Saved plugin info for “cordova-plugin-filechooser” to config.xml
[21:40:34]: ▸ Discovered plugin “cordova-plugin-app-version” in config.xml. Adding it to the project
[21:40:34]: ▸ Fetching plugin “cordova-plugin-app-version@^0.1.9” via npm
[21:40:34]: ▸ Installing “cordova-plugin-app-version” for ios
[21:40:34]: ▸ Adding cordova-plugin-app-version to package.json
[21:40:34]: ▸ Saved plugin info for “cordova-plugin-app-version” to config.xml
[21:40:34]: ▸ Discovered plugin “com-darryncampbell-cordova-plugin-intent” in config.xml. Adding it to the project
[21:40:34]: ▸ Fetching plugin “com-darryncampbell-cordova-plugin-intent@^1.1.0” via npm
[21:40:35]: ▸ Installing “com-darryncampbell-cordova-plugin-intent” for ios
[21:40:35]: ▸ Adding com-darryncampbell-cordova-plugin-intent to package.json
[21:40:35]: ▸ Saved plugin info for “com-darryncampbell-cordova-plugin-intent” to config.xml
[21:40:35]: ▸ --save flag or autosave detected
[21:40:35]: ▸ Saving ios@~4.5.5 into config.xml file …
[21:40:35]: ----------------------------------------
[21:40:35]: — Step: update_project_codesigning —
[21:40:35]: ----------------------------------------

This action (update_project_codesigning) is deprecated
This plugin is deprecated in favor of core action shipped with fastlane, parameters are exactly the same, new action name is automatic_code_signing, there are also some helpers enable_automatic_code_signing, disable_automatic_code_signing where you only need the project path set :slight_smile:

±----------------------±--------------------------------------------------------------------+
| Summary for Update Project Codesigning |
±----------------------±--------------------------------------------------------------------+
| path | /Users/ionic/builds/project-0/platforms/ios/Aguas Andinas.xcodeproj |
| use_automatic_signing | false |
| team_id | 788RNBU7A5 |
±----------------------±--------------------------------------------------------------------+

[21:40:35]: Updating the Automatic Codesigning flag to disabled for the given project ‘/Users/ionic/builds/project-0/platforms/ios/Aguas Andinas.xcodeproj/project.pbxproj’
[21:40:35]: Seems to be a very old project file format
[21:40:35]: PLEASE BACKUP ALL FILES before doing this.
[21:40:35]: Upgrading project to use xcode8 signing stuff
[21:40:35]: Successfully updated project settings to use ProvisioningStyle ‘Manual’
[21:40:35]: Modified Targets:
[21:40:35]: * Aguas Andinas
[21:40:36]: -----------------------------------------
[21:40:36]: — Step: update_project_provisioning —
[21:40:36]: -----------------------------------------
[21:40:36]: You’re updating provisioning profiles directly in your project, but have you considered easier ways to do code signing?
[21:40:36]: https://docs.fastlane.tools/codesigning/GettingStarted/
[21:40:36]: Downloading root certificate from (https://www.apple.com/appleca/AppleIncRootCertificate.cer) to path ‘/tmp/AppleIncRootCertificate.cer’
[21:40:36]: Parsing mobile provisioning profile from ‘/Users/ionic/builds/project-0/provision_file.mobileprovision’
[21:40:36]: Going to update project ‘/Users/ionic/builds/project-0/platforms/ios/Aguas Andinas.xcodeproj’ with UUID
[21:40:36]: Updating target Aguas Andinas…
[21:40:36]: Updating configuration Debug…
[21:40:36]: Updating configuration Release…
[21:40:36]: Successfully updated project settings in ‘/Users/ionic/builds/project-0/platforms/ios/Aguas Andinas.xcodeproj’
[21:40:36]: -----------------
[21:40:36]: — Step: gym —
[21:40:36]: -----------------
[21:40:36]: $ xcodebuild -list -workspace /Users/ionic/builds/project-0/platforms/ios/Aguas\ Andinas.xcworkspace
[21:40:38]: $ xcodebuild -showBuildSettings -workspace /Users/ionic/builds/project-0/platforms/ios/Aguas\ Andinas.xcworkspace -scheme Aguas\ Andinas
[21:40:41]: Detected provisioning profile mapping: {:“com.disrupsoft.cerda”=>“CerdaDevelopment_v2”}

±---------------------------------------------------------±----------------------------------------------------------------------+
| Summary for gym 2.75.1 |
±---------------------------------------------------------±----------------------------------------------------------------------+
| workspace | /Users/ionic/builds/project-0/platforms/ios/Aguas Andinas.xcworkspace |
| output_directory | /Users/ionic/builds/project-0 |
| output_name | 8b4d592c-677f-4bb4-83a3-49ed01e52f2b-development |
| scheme | Aguas Andinas |
| codesigning_identity | iPhone Developer: Cristopher O\xC3\xB1ate (96KWV9PYGL) |
| export_team_id | 788RNBU7A5 |
| export_options.provisioningProfiles.com.disrupsoft.cerda | CerdaDevelopment_v2 |
| destination | generic/platform=iOS |
| build_path | /Users/ionic/Library/Developer/Xcode/Archives/2018-08-20 |
| clean | false |
| silent | false |
| skip_package_ipa | false |
| export_method | development |
| buildlog_path | ~/Library/Logs/gym |
| skip_profile_detection | false |
| xcode_path | /Applications/Xcode.app |
±---------------------------------------------------------±----------------------------------------------------------------------+

[21:40:41]: $ set -o pipefail && xcodebuild -workspace /Users/ionic/builds/project-0/platforms/ios/Aguas\ Andinas.xcworkspace -scheme Aguas\ Andinas -destination ‘generic/platform=iOS’ -archivePath /Users/ionic/Library/Developer/Xcode/Archives/2018-08-20/8b4d592c-677f-4bb4-83a3-49ed01e52f2b-development\ 2018-08-20\ 21.40.41.xcarchive archive CODE_SIGN_IDENTITY=iPhone\ Developer:\ Cristopher\ O\xC3\xB1ate\ (96KWV9PYGL) | tee /Users/ionic/Library/Logs/gym/Aguas\ Andinas-Aguas\ Andinas.log | xcpretty
[21:40:43]: ▸ Building CordovaLib/CordovaLib [Release]
[21:40:43]: ▸ Check Dependencies
[21:40:43]: ▸ Copying CDVWebViewEngineProtocol.h
[21:40:43]: ▸ Copying CDVScreenOrientationDelegate.h
[21:40:43]: ▸ Copying CDV.h
[21:40:43]: ▸ Copying CDVCommandDelegateImpl.h
[21:40:43]: ▸ Copying CDVCommandQueue.h
[21:40:43]: ▸ Copying CDVWhitelist.h
[21:40:43]: ▸ Copying CDVAppDelegate.h
[21:40:43]: ▸ Copying CDVPlugin+Resources.h
[21:40:43]: ▸ Copying CDVAvailability.h
[21:40:43]: ▸ Copying CDVUIWebViewDelegate.h
[21:40:43]: ▸ Copying CDVPluginResult.h
[21:40:43]: ▸ Copying NSMutableArray+QueueAdditions.h
[21:40:43]: ▸ Copying CDVInvokedUrlCommand.h
[21:40:43]: ▸ Copying NSDictionary+CordovaPreferences.h
[21:40:43]: ▸ Copying CDVPlugin.h
[21:40:43]: ▸ Copying CDVURLProtocol.h
[21:40:43]: ▸ Copying CDVCommandDelegate.h
[21:40:43]: ▸ Copying CDVAvailabilityDeprecated.h
[21:40:43]: ▸ Copying CDVUserAgentUtil.h
[21:40:43]: ▸ Copying CDVTimer.h
[21:40:43]: ▸ Copying CDVConfigParser.h
[21:40:43]: ▸ Copying CDVViewController.h
[21:40:43]: ▸ Precompiling CordovaLib_Prefix.pch
[21:40:46]: ▸ Precompiling CordovaLib_Prefix.pch
[21:40:46]: ▸ Compiling CDVViewController.m
[21:40:49]: ▸ Compiling NSDictionary+CordovaPreferences.m
[21:40:49]: ▸ Compiling CDVAppDelegate.m
[21:40:49]: ▸ Compiling CDVUIWebViewDelegate.m
[21:40:49]: ▸ Compiling CDVCommandDelegateImpl.m
[21:40:49]: ▸ Compiling CDVJSON_private.m
[21:40:49]: ▸ Compiling CDVWhitelist.m
[21:40:49]: ▸ Compiling CDVInvokedUrlCommand.m
[21:40:49]: ▸ Compiling CDVTimer.m
[21:40:49]: ▸ Compiling CDVUserAgentUtil.m
[21:40:50]: ▸ Compiling CDVConfigParser.m
[21:40:50]: ▸ Compiling CDVGestureHandler.m
[21:40:50]: ▸ Compiling CDVHandleOpenURL.m
[21:40:50]: ▸ Compiling CDVUIWebViewNavigationDelegate.m
[21:40:50]: ▸ Compiling NSMutableArray+QueueAdditions.m
[21:40:50]: ▸ Compiling CDVCommandQueue.m
[21:40:50]: ▸ Compiling CDVPluginResult.m
[21:40:50]: ▸ Compiling CDVPlugin+Resources.m
[21:40:50]: ▸ Compiling CDVURLProtocol.m

[21:40:51]: ▸ [assetsLibrary assetForURL:url resultBlock:resultBlock failureBlock:failureBlock];
[21:40:51]: ▸ ^
[21:40:51]: ▸ Compiling CDVLogger.m
[21:40:51]: ▸ Compiling CDVUIWebViewEngine.m
[21:40:51]: ▸ Compiling CDVPlugin.m
[21:40:51]: ▸ Compiling CDVLocalStorage.m
[21:40:51]: ▸ Compiling CDVIntentAndNavigationFilter.m
[21:40:51]: ▸ Compiling CDVViewController.m
[21:40:54]: ▸ Compiling NSDictionary+CordovaPreferences.m
[21:40:54]: ▸ Compiling CDVAppDelegate.m
[21:40:54]: ▸ Compiling CDVUIWebViewDelegate.m
[21:40:54]: ▸ Compiling CDVCommandDelegateImpl.m
[21:40:54]: ▸ Compiling CDVJSON_private.m
[21:40:54]: ▸ Compiling CDVWhitelist.m
[21:40:54]: ▸ Compiling CDVInvokedUrlCommand.m
[21:40:54]: ▸ Compiling CDVTimer.m
[21:40:54]: ▸ Compiling CDVUserAgentUtil.m
[21:40:54]: ▸ Compiling CDVConfigParser.m
[21:40:54]: ▸ Compiling CDVGestureHandler.m
[21:40:54]: ▸ Compiling CDVHandleOpenURL.m
[21:40:55]: ▸ Compiling CDVUIWebViewNavigationDelegate.m
[21:40:55]: ▸ Compiling NSMutableArray+QueueAdditions.m
[21:40:55]: ▸ Compiling CDVCommandQueue.m
[21:40:55]: ▸ Compiling CDVPluginResult.m
[21:40:55]: ▸ Compiling CDVPlugin+Resources.m
[21:40:55]: ▸ Compiling CDVURLProtocol.m
[21:40:55]: ▸ :warning:️ /Users/ionic/builds/project-0/platforms/ios/CordovaLib/Classes/Public/CDVURLProtocol.m:60:9: ‘ALAssetsLibraryAssetForURLResultBlock’ is deprecated: first deprecated in iOS 9.0 - Use fetchAssetsWithLocalIdentifiers:options: on PHAsset to fetch assets by local identifier (or to lookup PHAssets by a previously known ALAssetPropertyAssetURL use fetchAssetsWithALAssetURLs:options:) from the Photos framework instead [-Wdeprecated-declarations]
[21:40:55]: ▸ ALAssetsLibraryAssetForURLResultBlock resultBlock = ^(ALAsset* asset) {
[21:40:55]: ▸ ^

[21:40:55]: ▸ [assetsLibrary assetForURL:url resultBlock:resultBlock failureBlock:failureBlock];
[21:40:55]: ▸ ^
[21:40:55]: ▸ Compiling CDVLogger.m
[21:40:55]: ▸ Compiling CDVUIWebViewEngine.m
[21:40:55]: ▸ Compiling CDVPlugin.m
[21:40:56]: ▸ Compiling CDVLocalStorage.m
[21:40:56]: ▸ Compiling CDVIntentAndNavigationFilter.m
[21:40:56]: ▸ Building library libCordova.a
[21:40:56]: ▸ Building library libCordova.a
[21:40:57]: ▸ Building Aguas Andinas/Aguas Andinas [Release]
[21:40:57]: ▸ Check Dependencies
[21:40:57]: ▸ ** ARCHIVE FAILED **
[21:40:57]: ▸ The following build commands failed:
[21:40:57]: ▸ Check dependencies
[21:40:57]: ▸ (1 failure)
▸ Building CordovaLib/CordovaLib [Release]
▸ Check Dependencies
▸ Copying CDVWebViewEngineProtocol.h
▸ Copying CDVScreenOrientationDelegate.h
▸ Copying CDV.h
▸ Copying CDVCommandDelegateImpl.h
▸ Copying CDVCommandQueue.h
▸ Copying CDVWhitelist.h
▸ Copying CDVAppDelegate.h
▸ Copying CDVPlugin+Resources.h
▸ Copying CDVAvailability.h
▸ Copying CDVUIWebViewDelegate.h
▸ Copying CDVPluginResult.h
▸ Copying NSMutableArray+QueueAdditions.h
▸ Copying CDVInvokedUrlCommand.h
▸ Copying NSDictionary+CordovaPreferences.h
▸ Copying CDVPlugin.h
▸ Copying CDVURLProtocol.h
▸ Copying CDVCommandDelegate.h
▸ Copying CDVAvailabilityDeprecated.h
▸ Copying CDVUserAgentUtil.h
▸ Copying CDVTimer.h
▸ Copying CDVConfigParser.h
▸ Copying CDVViewController.h
▸ Precompiling CordovaLib_Prefix.pch
▸ Precompiling CordovaLib_Prefix.pch
▸ Compiling CDVViewController.m
▸ Compiling NSDictionary+CordovaPreferences.m
▸ Compiling CDVAppDelegate.m
▸ Compiling CDVUIWebViewDelegate.m
▸ Compiling CDVCommandDelegateImpl.m
▸ Compiling CDVJSON_private.m
▸ Compiling CDVWhitelist.m
▸ Compiling CDVInvokedUrlCommand.m
▸ Compiling CDVTimer.m
▸ Compiling CDVUserAgentUtil.m
▸ Compiling CDVConfigParser.m
▸ Compiling CDVGestureHandler.m
▸ Compiling CDVHandleOpenURL.m
▸ Compiling CDVUIWebViewNavigationDelegate.m
▸ Compiling NSMutableArray+QueueAdditions.m
▸ Compiling CDVCommandQueue.m
▸ Compiling CDVPluginResult.m
▸ Compiling CDVPlugin+Resources.m
▸ Compiling CDVURLProtocol.m

▸ Compiling CDVLogger.m
▸ Compiling CDVUIWebViewEngine.m
▸ Compiling CDVPlugin.m
▸ Compiling CDVLocalStorage.m
▸ Compiling CDVIntentAndNavigationFilter.m
▸ Compiling CDVViewController.m
▸ Compiling NSDictionary+CordovaPreferences.m
▸ Compiling CDVAppDelegate.m
▸ Compiling CDVUIWebViewDelegate.m
▸ Compiling CDVCommandDelegateImpl.m
▸ Compiling CDVJSON_private.m
▸ Compiling CDVWhitelist.m
▸ Compiling CDVInvokedUrlCommand.m
▸ Compiling CDVTimer.m
▸ Compiling CDVUserAgentUtil.m
▸ Compiling CDVConfigParser.m
▸ Compiling CDVGestureHandler.m
▸ Compiling CDVHandleOpenURL.m
▸ Compiling CDVUIWebViewNavigationDelegate.m
▸ Compiling NSMutableArray+QueueAdditions.m
▸ Compiling CDVCommandQueue.m
▸ Compiling CDVPluginResult.m
▸ Compiling CDVPlugin+Resources.m
▸ Compiling CDVURLProtocol.m

[assetsLibrary assetForURL:url resultBlock:resultBlock failureBlock:failureBlock];
^

▸ Compiling CDVLogger.m
▸ Compiling CDVUIWebViewEngine.m
▸ Compiling CDVPlugin.m
▸ Compiling CDVLocalStorage.m
▸ Compiling CDVIntentAndNavigationFilter.m
▸ Building library libCordova.a
▸ Building library libCordova.a
▸ Building Aguas Andinas/Aguas Andinas [Release]
▸ Check Dependencies
** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
(1 failure)
[21:40:57]: Exit status: 65

±--------------±------------------------+
| Build environment |
±--------------±------------------------+
| xcode_path | /Applications/Xcode.app |
| gym_version | 2.75.1 |
| export_method | development |
| sdk | iPhoneOS11.2.sdk |
±--------------±------------------------+

[21:40:57]: ▸ === BUILD TARGET Aguas Andinas OF PROJECT Aguas Andinas WITH CONFIGURATION Release ===
[21:40:57]: ▸ Check dependencies
[21:40:57]: ▸ Code Signing Error: No certificate matching ‘iPhone Developer: Cristopher O\xC3\xB1ate (96KWV9PYGL)’ found: Select a different signing certificate for CODE_SIGN_IDENTITY, a team that matches your selected certificate, or switch to automatic provisioning.
[21:40:57]: ▸ Code Signing Error: Code signing is required for product type ‘Application’ in SDK ‘iOS 11.2’
[21:40:57]:
[21:40:57]: :arrow_up:️ Check out the few lines of raw xcodebuild output above for potential hints on how to solve this error
[21:40:57]: :clipboard: For the complete and more detailed error log, check the full log at:
[21:40:57]: :clipboard: /Users/ionic/Library/Logs/gym/Aguas Andinas-Aguas Andinas.log
[21:40:57]:
[21:40:57]: Your export_method in gym is defined as development
[21:40:57]: which might cause problems when signing your application
[21:40:57]: Are you sure want to build and export for development?
[21:40:57]: Please make sure to define the correct export methods when calling
[21:40:57]: gym in your Fastfile or from the command line
[21:40:57]:
[21:40:57]:
[21:40:57]: Looks like fastlane ran into a build/archive error with your project
[21:40:57]: It’s hard to tell what’s causing the error, so we wrote some guides on how
[21:40:57]: to troubleshoot build and signing issues: https://docs.fastlane.tools/codesigning/getting-started/
[21:40:57]: Before submitting an issue on GitHub, please follow the guide above and make
[21:40:57]: sure your project is set up correctly.
[21:40:57]: fastlane uses xcodebuild commands to generate your binary, you can see the
[21:40:57]: the full commands printed out in yellow in the above log.
[21:40:57]: Make sure to inspect the output above, as usually you’ll find more error information there
[21:40:57]:
[21:40:57]: -------------------------
[21:40:57]: — Step: upload_logs —
[21:40:57]: -------------------------
[21:41:04]: ---------------------------
[21:41:04]: — Step: shell command —
[21:41:04]: ---------------------------
[21:41:04]: -----------------------------
[21:41:04]: — Step: delete_keychain —
[21:41:04]: -----------------------------
[21:41:04]: Error building the application - see the log above
±------------------------------------±-----------------------------------------------------------------+
| Lane Context |
±------------------------------------±-----------------------------------------------------------------+
| DEFAULT_PLATFORM | ios |
| PLATFORM_NAME | ios |
| LANE_NAME | ios package_build |
| DOWNLOAD_CERTS_CODESIGNING_IDENTITY | iPhone Developer: Cristopher O\xC3\xB1ate (96KWV9PYGL) |
| DOWNLOAD_CERTS_TEAM_ID | 788RNBU7A5 |
| DOWNLOAD_CERTS_PROJECT_NAME | Aguas Andinas |
| DOWNLOAD_CERTS_CERT_PATH | /Users/ionic/builds/project-0/cert_file.p12 |
| DOWNLOAD_CERTS_PROVISIONING_PATH | /Users/ionic/builds/project-0/provision_file.mobileprovision |
| SIGH_PROFILE_PATHS | ["/Users/ionic/builds/project-0/provision_file.mobileprovision"] |
±------------------------------------±-----------------------------------------------------------------+
[21:41:04]: Error building the application - see the log above

±-----±-----------------------------------±------------+
| fastlane summary |
±-----±-----------------------------------±------------+
| Step | Action | Time (in s) |
±-----±-----------------------------------±------------+
| 1 | default_platform | 0 |
| 2 | build_summary | 5 |
| 3 | create_keychain | 0 |
| 4 | download_certs | 0 |
| 5 | import_certificate | 0 |
| 6 | build_pro_app | 62 |
| 7 | cordova platform add ios --nofetch | 12 |
| 8 | update_project_codesigning | 0 |
| 9 | update_project_provisioning | 0 |
| :boom: | gym | 20 |
| 11 | upload_logs | 7 |
| 12 | shell command | 0 |
| 13 | delete_keychain | 0 |
±-----±-----------------------------------±------------+

[21:41:04]: fastlane finished with errors
\e[91mFailed to upload ipa to storage please retry your build.\e[0m
MAC Iteration 2048
MAC verified OK
PKCS7 Encrypted data: pbeWithSHA1And40BitRC2-CBC, Iteration 2048
Certificate bag
PKCS7 Data
Shrouded Keybag: pbeWithSHA1And3-KeyTripleDES-CBC, Iteration 2048

[!] Error building the application - see the log above
Running after script…
$ clean-up
Cleaning up files…

i got the same problem, siging fails with the same build that worked 1 month ago.

worked 1 month ago:

±--------------------±--------------------+
| Build Summary |
±--------------------±--------------------+
| Job ID | 6081332 |
| macOS version | 10.13.2 |
| Xcode version | Xcode 9.2 |
| | Build version 9C40b |
| Node.js version | v8.11.1 |
| Cordova CLI version | 7.1.0 |
| npm version | 5.6.0 |
±--------------------±--------------------+

fails now:

±--------------------±---------------------+
| Build Summary |
±--------------------±---------------------+
| Job ID | 6167213 |
| macOS version | 10.13.6 |
| Xcode version | Xcode 9.4.1 |
| | Build version 9F2000 |
| Node.js version | v8.11.4 |
| Cordova CLI version | 8.0.0 |
| npm version | 5.10.0 |
±--------------------±---------------------+

i could solve the issue by generating new certificates and uploading them to ionic pro