Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty output #18

Closed
Gideonnn opened this issue Feb 28, 2017 · 2 comments
Closed

Empty output #18

Gideonnn opened this issue Feb 28, 2017 · 2 comments

Comments

@Gideonnn
Copy link

I am using the Android and iOS version of this plugin. The Android version works perfectly, though the iOS version is not giving me any output. This is my gulpfile:

var gulp = require('gulp');
var android = require('gulp-cordova-build-android');
var create = require('gulp-cordova-create');
var del = require('del');
var ios = require('gulp-cordova-build-ios');
var plugin = require('gulp-cordova-plugin');
var shell = require('gulp-shell');

gulp.task('default', function() {});

gulp.task('clean.cordova', function() {
  return del(['.cordova']);
});

gulp.task('build.cordova', shell.task('ng build -prod --base-href "./"'));

gulp.task('build.cordova.android', ['clean.cordova', 'build.cordova'], function() {
  return gulp.src('dist')
    .pipe(create({ id: 'com.some.something', name: 'My App Name' }))
    .pipe(android())
    .pipe(gulp.dest('dist/android'));
});

gulp.task('build.cordova.ios', ['clean.cordova', 'build.cordova'], function() {
  return gulp.src('dist')
    .pipe(create({ id: 'com.some.something', name: 'My App Name' }))
    .pipe(ios())
    .pipe(gulp.dest('dist/ios'));
});

Is there any reason why I don't receive any output at all?

@SamVerschueren
Copy link
Owner

The thing is that the build-ios plugin is not outputting anything yet. After calling ios() you will have to manually open the project in xcode so you can release it. You can find the project somewhere in the dist directory. This plugin needs more refactoring and that is being tracked by #1. So if you have any ideas or wanting to help me out on it, feel free to do so.

@Gideonnn
Copy link
Author

Hi Sam,

I just got back to this project and again ran into this problem. With the code above I get an empty directory named ios and can't locate the project somewhere else in the dist folder. Any tips?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants