My build succeeds on Ionic dashboard:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on IonicJS Runner 2 (7981969b)
Using Shell executor...
Running on ip-10-2-119-255...
Cloning repository...
Cloning into '/home/gitlab-runner/builds/7981969b/0/project-1'...
Checking out 13e682aa as master...
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates...
$ build-app
Fetching build dependencies...
Running: npm install
npm WARN deprecated babili@0.1.2: babili has been renamed to babel-minify. Please update to babel-minify
npm WARN deprecated babel-preset-babili@0.1.4: babili has been renamed to babel-minify. Please update to babel-preset-minify
npm WARN deprecated object-keys@0.2.0: Please update to the latest object-keys
> node-sass@4.5.3 install /usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass
> node scripts/install.js
Downloading binary from https://github.com/sass/node-sass/releases/download/v4.5.3/linux-x64-57_binding.node
Download complete
Binary saved to /usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/vendor/linux-x64-57/binding.node
Caching binary to /home/gitlab-runner/.npm/node-sass/4.5.3/linux-x64-57_binding.node
> node-sass@4.5.3 postinstall /usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass
> node scripts/build.js
Binary found at /usr/src/app/node_modules/@ionic/app-scripts/node_modules/node-sass/vendor/linux-x64-57/binding.node
Testing binary
Binary is fine
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.1.2 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
added 1047 packages in 32.716s
npm install succeeded
Running: npm run build
npm info it worked if it ends with ok
npm info using npm@5.3.0
npm info using node@v8.2.1
npm info lifecycle mimic@~prebuild: mimic@
npm info lifecycle mimic@~build: mimic@
> mimic@ build /usr/src/app
> ionic-app-scripts build
[07:59:26] ionic-app-scripts 1.3.12
[07:59:26] build dev started ...
[07:59:26] clean started ...
[07:59:26] clean finished in 1 ms
[07:59:26] copy started ...
[07:59:26] transpile started ...
[07:59:30] transpile finished in 3.94 s
[07:59:30] preprocess started ...
[07:59:30] deeplinks started ...
[07:59:30] deeplinks finished in 86 ms
[07:59:30] preprocess finished in 87 ms
[07:59:30] webpack started ...
[07:59:38] webpack finished in 8.25 s
[07:59:38] sass started ...
[07:59:38] copy finished in 12.31 s
[07:59:41] autoprefixer: :84407:3: You should write display: flex by final spec instead of display: box
[07:59:41] autoprefixer: :84538:3: You should write display: flex by final spec instead of display: box
[07:59:41] autoprefixer: :84577:3: You should write display: flex by final spec instead of display: box
[07:59:41] autoprefixer: :85108:3: You should write display: flex by final spec instead of display: box
[07:59:41] sass finished in 2.86 s
[07:59:41] postprocess started ...
[07:59:41] postprocess finished in 5 ms
[07:59:41] lint started ...
[07:59:41] build dev finished in 15.20 s
[07:59:44] lint finished in 2.99 s
npm info lifecycle mimic@~postbuild: mimic@
npm info ok
npm run build succeeded
Uploading build...
Uploaded build successfully.
Running after script...
$ clean-up
Cleaning up files...
Successful clean up
Job succeeded
But when I try to build package for iOS it says:
Running with gitlab-ci-multi-runner 9.1.0 (0118d89)
on Mac Package Runner 2 (dd66aa51)
Using Shell executor...
Running on Ionics-Mac-3.local...
Cloning repository...
Cloning into '/Users/ionic/builds/dd66aa51/0/project-1'...
Warning: Permanently added the ECDSA host key for IP address '52.42.11.166' to the list of known hosts.
Checking out 13e682aa as master...
Skipping Git submodules setup
$ fetch-updates
Checking for build process updates...
Running after script...
$ clean-up
Cleaning up files...
Successful clean up
ERROR: Job failed: exit status 1
Android is working just fine