Ionic PRO - cannot build iOS


#1

Hi,

Can anyone else build iOS packages with ionic PRO right now?

Ionic Info:

cli packages: (C:\git\app\node_modules)

    @ionic/cli-utils  : 1.9.2
    ionic (Ionic CLI) : 3.9.2

global packages:

    Cordova CLI : 7.0.1

local packages:

    @ionic/app-scripts : 2.1.4
    Cordova Platforms  : android 6.2.3 ios 4.2.1
    Ionic Framework    : ionic-angular 3.6.0

System:

    Android SDK Tools : 25.2.5
    Node              : v6.10.3
    npm               : 3.10.8
    OS                : Windows 8.1

Here’s the error I’m getting:

e[0KRunning with gitlab-ci-multi-runner 9.1.0 (0118d89)
  on Mac OSX Runner (33g1ea73)
e[0;me[0KUsing Shell executor...
e[0;mRunning on Ionics-Mac-4.local...
e[32;1mCloning repository...e[0;m
Cloning into '/Users/ionic/builds/33g1ea73/0/project-1'...
e[32;1mChecking out 26614b38 as master...e[0;m
e[32;1mSkipping Git submodules setupe[0;m
e[32;1m$ fetch-updatese[0;m
Checking for build process updates...
e[32;1m$ build-iose[0;m
Downloading cached www/ dir...
Successfully downloaded www/ dir...
$> cordova add platform ios
Adding ios project...
Creating Cordova project for the iOS platform:
	Path: platforms/ios
	Package: com.AppName.mobile
	Name: AppName
iOS project created with cordova-ios@4.2.1
Discovered plugin "cordova-plugin-app-version" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-app-version@^0.1.9" via npm
Installing "cordova-plugin-app-version" for ios
Discovered plugin "cordova-plugin-console" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-console@1.0.5" via npm
Installing "cordova-plugin-console" for ios
Discovered plugin "cordova-plugin-device" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-device@1.1.4" via npm
Installing "cordova-plugin-device" for ios
Discovered plugin "cordova-plugin-inappbrowser" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-inappbrowser@~1.4.0" via npm
Installing "cordova-plugin-inappbrowser" for ios
Discovered plugin "cordova-plugin-network-information" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-network-information@~1.3.0" via npm
Installing "cordova-plugin-network-information" for ios
Discovered plugin "cordova-plugin-splashscreen" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-splashscreen@~4.0.1" via npm
Installing "cordova-plugin-splashscreen" for ios
Discovered plugin "cordova-plugin-statusbar" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-statusbar@2.2.1" via npm
Installing "cordova-plugin-statusbar" for ios
Discovered plugin "cordova-plugin-whitelist" in config.xml. Adding it to the project
Fetching plugin "cordova-plugin-whitelist@1.3.1" via npm
Installing "cordova-plugin-whitelist" for ios
Discovered plugin "cordova-plugin-wkwebview-engine" in config.xml. Adding it to the project
Fetching plugin "git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git" via git clone
Failed to restore plugin "cordova-plugin-wkwebview-engine" from config.xml. You might need to try adding it again. Error: Failed to fetch plugin git+https://github.com/ionic-team/cordova-plugin-wkwebview-engine.git via git.
Either there is a connection problems, or plugin spec is incorrect:
	Error: git: Command failed with exit code 128 Error output:
Cloning into '/var/folders/0p/nr4nqjrd0mv015fp5tn3pb8w0000gn/T/git/1503681549440'...
fatal: Unable to find remote helper for 'git+https'
Discovered plugin "ionic-plugin-keyboard" in config.xml. Adding it to the project
Fetching plugin "ionic-plugin-keyboard@~2.2.1" via npm
Installing "ionic-plugin-keyboard" for ios
Setting up project pipeline...
Running build process...
/Library/Ruby/Gems/2.0.0/gems/fastimage-2.1.0/lib/fastimage.rb:67: warning: already initialized constant URI::DEFAULT_PARSER
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/uri/common.rb:545: warning: previous definition of DEFAULT_PARSER was here
+------------------------+---------+------------------------+
|                       e[32mUsed pluginse[0m                        |
+------------------------+---------+------------------------+
| Plugin                 | Version | Action                 |
+------------------------+---------+------------------------+
| fastlane-plugin-updat  | 0.2.0   | update_project_codesi  |
| e_project_codesigning  |         | gning                  |
+------------------------+---------+------------------------+

[10:19:12]: e[33mYou require a gem, if this is a third party gem, please use `fastlane_require 'securerandom'` to ensure the gem is installed locallye[0m
[10:19:12]: e[32m------------------------------e[0m
[10:19:12]: e[32m--- Step: default_platform ---e[0m
[10:19:12]: e[32m------------------------------e[0m
[10:19:12]: e[32mDriving the lane 'ios package_build' 🚀e[0m
[10:19:12]: e[32m-----------------------------e[0m
[10:19:12]: e[32m--- Step: create_keychain ---e[0m
[10:19:12]: e[32m-----------------------------e[0m
[10:19:12]: e[4me[36m$ security list-keychains -d usere[0me[0m
[10:19:12]: ▸ e[35m"/Users/ionic/Library/Keychains/login.keychain-db"e[0m
[10:19:12]: ▸ e[35m"/Users/ionic/Library/Keychains/IonicKeychain-db"e[0m
[10:19:12]: e[32m----------------------------e[0m
[10:19:12]: e[32m--- Step: download_certs ---e[0m
[10:19:12]: e[32m----------------------------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

+-------------------+--------------------------------------------+
|                     e[32mInstalled Certificatee[0m                      |
+-------------------+--------------------------------------------+
| User ID           |                                  |
| Common Name       | iPhone Developer: Carl  () |
+-------------------+--------------------------------------------+

[10:19:14]: e[32m--------------------------------e[0m
[10:19:14]: e[32m--- Step: import_certificate ---e[0m
[10:19:14]: e[32m--------------------------------e[0m
[10:19:14]: e[32m----------------------------------------e[0m
[10:19:14]: e[32m--- Step: update_project_codesigning ---e[0m
[10:19:14]: e[32m----------------------------------------e[0m
e[34me[1m==========================================e[0m
e[34me[1mThis action (update_project_codesigning) is deprecatede[0m
e[34me[1mThis 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 :)e[0m
e[34me[1m==========================================
e[0m

+-----------------------+--------------------------------------+
|            e[32mSummary for Update Project Codesigninge[0m            |
+-----------------------+--------------------------------------+
| path                  | /Users/ionic/builds/33g1ea73/0/proj  |
|                       | ect-1/platforms/ios/AppName.xco  |
|                       | deproj                               |
| use_automatic_signing | false                                |
| team_id               | TEAMID                           |
+-----------------------+--------------------------------------+

[10:19:14]: Updating the Automatic Codesigning flag to disabled for the given project '/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcodeproj/project.pbxproj'
[10:19:14]: e[31mSeems to be a very old project file formate[0m
[10:19:14]: e[31mPLEASE BACKUP ALL FILES before doing this.e[0m
[10:19:14]: e[33mUpgrading project to use xcode8 signing stuffe[0m
[10:19:14]: e[32mSuccessfully updated project settings to use ProvisioningStyle 'Manual'e[0m
[10:19:14]: e[32mModified Targets:e[0m
[10:19:14]: e[32m	 * AppNamee[0m
[10:19:14]: e[32m-----------------------------------------e[0m
[10:19:14]: e[32m--- Step: update_project_provisioning ---e[0m
[10:19:14]: e[32m-----------------------------------------e[0m
[10:19:14]: You’re updating provisioning profiles directly in your project, but have you considered easier ways to do code signing?
[10:19:14]: https://docs.fastlane.tools/codesigning/GettingStarted/
[10:19:14]: Downloading root certificate from (https://www.apple.com/appleca/AppleIncRootCertificate.cer) to path '/tmp/AppleIncRootCertificate.cer'
[10:19:14]: Parsing mobile provisioning profile from '/Users/ionic/builds/33g1ea73/0/project-1/provision_file.mobileprovision'
[10:19:14]: e[32mGoing to update project '/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcodeproj' with UUIDe[0m
[10:19:14]: e[32mUpdating target AppName...e[0m
[10:19:14]: e[32mUpdating configuration Debug...e[0m
[10:19:14]: e[32mUpdating configuration Release...e[0m
[10:19:14]: e[32mSuccessfully updated project settings in'/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcodeproj'e[0m
[10:19:14]: e[32m---------------------------e[0m
[10:19:14]: e[32m--- Step: shell command ---e[0m
[10:19:14]: e[32m---------------------------e[0m
[10:19:14]: e[32m-----------------e[0m
[10:19:14]: e[32m--- Step: gym ---e[0m
[10:19:14]: e[32m-----------------e[0m
[10:19:15]: e[31mError setting value '/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcworkspace' for option 'workspace'e[0m
[10:19:15]: e[31mYou passed invalid parameters to 'gym'.e[0m
[10:19:15]: e[31mCheck out the error below and available options by running `fastlane action gym`e[0m
[10:19:15]: e[32m---------------------------e[0m
[10:19:15]: e[32m--- Step: shell command ---e[0m
[10:19:15]: e[32m---------------------------e[0m
[10:19:15]: e[32m-----------------------------e[0m
[10:19:15]: e[32m--- Step: delete_keychain ---e[0m
[10:19:15]: e[32m-----------------------------e[0m
[10:19:15]: Workspace file not found at path '/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcworkspace'
+-------------------------------------+--------------------------------------+
|                                e[33mLane Contexte[0m                                |
+-------------------------------------+--------------------------------------+
| DEFAULT_PLATFORM                    | ios                                  |
| PLATFORM_NAME                       | ios                                  |
| LANE_NAME                           | ios package_build                    |
| DOWNLOAD_CERTS_CODESIGNING_IDENTITY | iPhone Developer: Carl        |

[10:19:15]: e[31mWorkspace file not found at path '/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcworkspace'e[0m

+------+------------------------+-------------+
|              e[32mfastlane summarye[0m               |
+------+------------------------+-------------+
| Step | Action                 | Time (in s) |
+------+------------------------+-------------+
| 1    | default_platform       | 0           |
| 2    | create_keychain        | 0           |
| 3    | download_certs         | 1           |
| 4    | import_certificate     | 0           |
| 5    | update_project_codesi  | 0           |
|      | gning                  |             |
| 6    | update_project_provis  | 0           |
|      | ioning                 |             |
| 7    | shell command          | 0           |
| 💥   | e[31mgyme[0m                    | 0           |
| 9    | shell command          | 0           |
| 10   | delete_keychain        | 0           |
+------+------------------------+-------------+

[10:19:15]: e[31mfastlane finished with errorse[0m
e[31m
[!] Workspace file not found at path '/Users/ionic/builds/33g1ea73/0/project-1/platforms/ios/AppName.xcworkspace'e[0m
e[32;1mRunning after script...e[0;m
e[32;1m$ clean-upe[0;m
Cleaning up files...
Successful clean up
e[31;1mERROR: Job failed: exit status 1
e[0;m

#2

Could you build this project before on Pro?


#3

I was never able to build this project with PRO. I was able to build no problems with the legacy packaging service though.


#4

Ok. Try to create a new project with ionic start blank blank and build this one - to see if you can build any projects.

For your specific project, your probably will have to contact support though as the error message doesn’t look like anything we can debug: http://ionicframework.com/support#support


#5

Same issue with a brand new starter project - Workspace not found.

I tried the support channels there in the past and it took forever to get a response, what channel do you recommend?

Thanks,
Carl


#6

“Report services bug or issue” would be the correct one here I believe, because this is clearly an issue.


#8

Same exact error here. I’m able to build, archive, export, and distribute my project without issue on my mac. Has this really not been addressed or answered in the past year for a pay service? @carl_duguay, were you able to resolve?

Thanks in advance