Unable to build Swift app in RHMAP studio due to Aerogear errors

Solution Verified - Updated -

Issue

  • iOS App Swift: Build not working. Following an example of this error.

    [BUILD] Copy application files...
    [BUILD] Copy asset files...
    [BUILD] Adding build task to queue
    [BUILD] Creating project...
    [BUILD] Creating directories...
    [BUILD] Downloading files...
    [BUILD] Unzip files...
    [BUILD] Creating native project...
    [BUILD] Project created. Applying configuration changes and copying app files...
    [BUILD] Checking and setting up signing credentials
    [BUILD] Compiling native project, this could take a while...
    '** BUILD FAILED **\n\n\nThe following build commands failed:\n\tCompileSwift normal arm64 /opt/feedhenry/fh-digger/data/tmp/883882f7-6cf5-4754-a1d1-97fbd66e1c50/unzip/files/Pods/AeroGearHttp/AeroGearHttp/AuthzModule.swift\n\tCompileSwift normal arm64 /opt/feedhenry/fh-digger/data/tmp/883882f7-6cf5-4754-a1d1-97fbd66e1c50/unzip/files/Pods/AeroGearHttp/AeroGearHttp/Http.swift\n\tCompileSwift normal arm64 /opt/feedhenry/fh-digger/data/tmp/883882f7-6cf5-4754-a1d1-97fbd66e1c50/unzip/files/Pods/AeroGearHttp/AeroGearHttp/HttpRequestSerializer.swift\n\tCompileSwift normal arm64 /opt/feedhenry/fh-digger/data/tmp/883882f7-6cf5-4754-a1d1-97fbd66e1c50/unzip/files/Pods/AeroGearHttp/AeroGearHttp/JsonRequestSerializer.swift\n\tCompileSwiftSources normal arm64 com.apple.xcode.tools.swift.compiler\n(5 failures)\n'
    

Environment

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content