title: How to deploy gluon mobile project to iPhone with MacBook
body: <p>We tried to deploy our written App onto an iOS device using a free Apple developer account.
  To deploy the project we started with the gradle task "ios", but this always shows a lot of warning and never ends...
  Warnings include often "java.awt.*", whereas the star stands for a class name. However, we were only coding in JavaFX, and we checked again if we use any awt classes... and we don't.</p>
  
  <p>We also tried running "launchIPhoneSimulator" and "launchIOSDevice" but with no success at all.</p>
  
  <p>Java SDK version is 1.8_151 and using gluon down 3.6.0, charm down version 2.0.1, javafxports:jfxmobile-plugin:1.3.8.</p>
  
  <p>MacBook Pro (Early 2015, i7, 16 GB of RAM) High Sierra in combination with iPhone 6 running with iOS 11.0.3.</p>
  
  <p>Any hints on what we are doing wrong?
  Any help is appreciated :-)</p>
  
  <p>EDIT: Here is the console output: </p>
  
  <pre><code>14:16:29: Executing external task 'ios'...
  :compileJava UP-TO-DATE
  :processResources UP-TO-DATE
  :classes UP-TO-DATE
  :createDefaultIOSLauncher UP-TO-DATE
  :compileIosJava UP-TO-DATE
  :processIosResources UP-TO-DATE
  :iosClasses UP-TO-DATE
  :iosExtractNativeLibs UP-TO-DATE
  :createIpa
  Root pattern javax.annotations.**.* matches no classes
  Root pattern javax.inject.**.* matches no classes
  Warning: javax.xml.bind.annotation.XmlRootElement is a phantom class!
  Warning: java.nio.file.StandardOpenOption is a phantom class!
  Warning: java.nio.file.FileSystem is a phantom class!
  Warning: java.nio.file.OpenOption is a phantom class!
  Warning: java.nio.file.FileSystems is a phantom class!
  Warning: com.oracle.jrockit.jfr.TimedEvent is a phantom class!
  Warning: com.oracle.jrockit.jfr.EventToken is a phantom class!
  Warning: com.oracle.jrockit.jfr.ValueDefinition is a phantom class!
  Warning: com.oracle.jrockit.jfr.EventDefinition is a phantom class!
  Warning: com.oracle.jrockit.jfr.Producer is a phantom class!
  Warning: com.oracle.jrockit.jfr.FlightRecorder is a phantom class!
  Warning: sun.nio.ch.DirectBuffer is a phantom class!
  Warning: java.util.stream.Stream is a phantom class!
  Warning: java.awt.Font is a phantom class!
  Warning: java.awt.Graphics2D is a phantom class!
  Warning: java.awt.image.BufferedImage is a phantom class!
  Warning: java.awt.MultipleGradientPaint$CycleMethod is a phantom class!
  Warning: java.awt.geom.AffineTransform is a phantom class!
  Warning: java.awt.geom.Path2D is a phantom class!
  Warning: java.awt.geom.Rectangle2D$Float is a phantom class!
  Warning: java.awt.geom.Ellipse2D is a phantom class!
  Warning: java.awt.geom.RoundRectangle2D is a phantom class!
  Warning: java.awt.geom.Line2D is a phantom class!
  Warning: java.awt.geom.Rectangle2D is a phantom class!
  Warning: java.awt.Color is a phantom class!
  Warning: java.awt.Paint is a phantom class!
  Warning: java.awt.Stroke is a phantom class!
  Warning: java.awt.Rectangle is a phantom class!
  Warning: java.awt.Shape is a phantom class!
  Warning: java.awt.AlphaComposite is a phantom class!
  Warning: java.awt.image.SampleModel is a phantom class!
  Warning: java.awt.image.DataBufferInt is a phantom class!
  Warning: java.awt.image.Raster is a phantom class!
  Warning: java.awt.image.SinglePixelPackedSampleModel is a phantom class!
  Warning: java.awt.image.WritableRaster is a phantom class!
  Warning: java.awt.image.DataBuffer is a phantom class!
  Warning: java.awt.GraphicsEnvironment is a phantom class!
  Warning: java.awt.geom.Line2D$Float is a phantom class!
  Warning: java.awt.MultipleGradientPaint is a phantom class!
  Warning: java.awt.geom.Path2D$Float is a phantom class!
  Warning: java.awt.BasicStroke is a phantom class!
  Warning: java.awt.font.GlyphVector is a phantom class!
  Warning: java.awt.LinearGradientPaint is a phantom class!
  Warning: java.awt.geom.Point2D$Float is a phantom class!
  Warning: java.awt.font.FontRenderContext is a phantom class!
  Warning: java.util.concurrent.ConcurrentHashMap$KeySetView is a phantom class!
  Warning: java.awt.RenderingHints$Key is a phantom class!
  Warning: java.awt.GradientPaint is a phantom class!
  Warning: java.awt.geom.Point2D is a phantom class!
  Warning: java.awt.RenderingHints is a phantom class!
  Warning: java.awt.image.ImageObserver is a phantom class!
  Warning: java.awt.geom.NoninvertibleTransformException is a phantom class!
  Warning: java.awt.Composite is a phantom class!
  Warning: java.awt.Image is a phantom class!
  Warning: java.awt.Graphics is a phantom class!
  Warning: java.awt.geom.Ellipse2D$Float is a phantom class!
  Warning: java.awt.TexturePaint is a phantom class!
  Warning: java.awt.geom.RoundRectangle2D$Float is a phantom class!
  Warning: java.awt.geom.PathIterator is a phantom class!
  Warning: java.awt.PaintContext is a phantom class!
  Warning: java.awt.image.ColorModel is a phantom class!
  Warning: java.awt.geom.GeneralPath is a phantom class!
  Warning: java.awt.image.DataBufferByte is a phantom class!
  Warning: java.awt.geom.Point2D$Double is a phantom class!
  Warning: java.awt.geom.Area is a phantom class!
  Warning: javax.print.attribute.AttributeSet is a phantom class!
  Warning: javax.print.PrintService is a phantom class!
  Warning: javax.print.DocFlavor is a phantom class!
  Warning: javax.print.PrintServiceLookup is a phantom class!
  Warning: java.awt.print.PrinterJob is a phantom class!
  Warning: javax.print.attribute.PrintRequestAttributeSet is a phantom class!
  Warning: javax.print.attribute.standard.SheetCollate is a phantom class!
  Warning: javax.print.attribute.standard.Chromaticity is a phantom class!
  Warning: javax.print.attribute.standard.OrientationRequested is a phantom class!
  Warning: javax.print.attribute.standard.PrinterResolution is a phantom class!
  Warning: javax.print.attribute.standard.PrintQuality is a phantom class!
  Warning: javax.print.attribute.standard.Media is a phantom class!
  Warning: javax.print.attribute.standard.MediaTray is a phantom class!
  Warning: javax.print.attribute.standard.MediaSizeName is a phantom class!
  Warning: java.awt.print.Pageable is a phantom class!
  Warning: java.awt.print.Printable is a phantom class!
  Warning: javax.print.attribute.standard.CopiesSupported is a phantom class!
  Warning: javax.print.attribute.HashPrintRequestAttributeSet is a phantom class!
  Warning: javax.print.attribute.ResolutionSyntax is a phantom class!
  Warning: javax.print.attribute.standard.Copies is a phantom class!
  Warning: javax.print.attribute.standard.Sides is a phantom class!
  Warning: javax.print.attribute.standard.MediaPrintableArea is a phantom class!
  Warning: java.awt.print.PageFormat is a phantom class!
  Warning: javax.print.attribute.standard.MediaSize is a phantom class!
  Warning: javax.print.attribute.standard.PageRanges is a phantom class!
  Warning: javax.print.attribute.Attribute is a phantom class!
  Warning: javax.print.attribute.Size2DSyntax is a phantom class!
  Warning: java.awt.print.PrinterException is a phantom class!
  Warning: javax.print.attribute.standard.DialogTypeSelection is a phantom class!
  Warning: java.awt.Transparency is a phantom class!
  Warning: java.awt.image.DirectColorModel is a phantom class!
  Warning: java.awt.print.Paper is a phantom class!
  Warning: java.nio.file.FileSystemNotFoundException is a phantom class!
  </code></pre>
  
  <p><a href="https://pastebin.com/VbEQdXyy" rel="nofollow noreferrer">https://pastebin.com/VbEQdXyy</a></p>
  
  <p>EDIT: Solved - If you do have the same problem, follow the steps below in the comments.</p>