(Absolute Headache) CompileAssetCatalog error when running ionic cordova run ios


#1

Bug Report

Ionic Info

cli packages: (/usr/local/lib/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 : 3.1.0
    Cordova Platforms  : android 6.3.0 ios 4.4.0
    Ionic Framework    : ionic-angular 3.9.2

System:

    ios-deploy : 1.9.2
    ios-sim    : 6.1.2
    Node       : v6.11.3
    npm        : 3.10.10
    OS         : macOS High Sierra
    Xcode      : Xcode 9.0 Build version 9A235

Describe the Bug
A clear and concise description of what the bug is.

Steps to Reproduce
Simply running ionic cordova run ios will give me this error even after a fresh platform add and remove and clearing out my resources folder + regenerating

Expected Behavior
I should be able to run/build my app…

Additional Context
This is the output from my console when running ionic cordova run ios. This is only on iOS, Android builds just fine.

[INFO] Running app-scripts build: --platform ios --target cordova

[16:52:31]  build dev started ...
[16:52:31]  clean started ...
[16:52:31]  clean finished in 4 ms
[16:52:31]  copy started ...
[16:52:31]  deeplinks started ...
[16:52:31]  deeplinks finished in 84 ms
[16:52:31]  transpile started ...
[16:52:34]  transpile finished in 2.81 s
[16:52:34]  preprocess started ...
[16:52:34]  preprocess finished in less than 1 ms
[16:52:34]  webpack started ...
[16:52:34]  copy finished in 3.08 s
[16:52:44]  webpack finished in 9.68 s
[16:52:44]  sass started ...
Without `from` option PostCSS could generate wrong source map and will not find Browserslist config. Set it to CSS file path or to `undefined` to prevent this warning.
[16:52:47]  sass finished in 3.79 s
[16:52:47]  postprocess started ...
[16:52:47]  postprocess finished in 12 ms
[16:52:47]  lint started ...
[16:52:47]  build dev finished in 16.48 s
> ionic cordova prepare
> cordova prepare
✔ Running command - done!
Preparing Firebase on iOS
Preparing Firebase on Android
> cordova build ios
⠼ Running command [16:52:53]  lint finished in 5.84 s
✖ Running command - failed!
[ERROR] An error occurred while running cordova build ios (exit code 1):


        (truncated) ... r later.
        /Applications/MAMP/htdocs/Apps/mmcalc/platforms/ios/mmCalc/Images.xcassets:./LaunchImage.launchimage/[ipad][][1x][portrait][full-screen][]:
        notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
        /Applications/MAMP/htdocs/Apps/mmcalc/platforms/ios/mmCalc/Images.xcassets:./LaunchImage.launchimage/[ipad][][2x][portrait][full-screen][]:
        notice: This launch image only applies to iOS 6.x and prior but the minimum deployment is 7.0 or later.
        /* com.apple.actool.compilation-results */
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon29x29.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon29x29@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon29x29@3x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon40x40@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon40x40@3x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon57x57.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon57x57@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon60x60@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon60x60@3x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon29x29~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon29x29@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon40x40~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon40x40@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon50x50~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon50x50@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon72x72~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon72x72@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon76x76~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon76x76@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/AppIcon83.5x83.5@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-800-Portrait-736h@3x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-800-Landscape-736h@3x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-800-667h@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-700@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-700-568h@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-700-Portrait~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-700-Landscape~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-700-Portrait@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-700-Landscape@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-568h@2x.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-Portrait~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/LaunchImage-Portrait@2x~ipad.png
        /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app/Assets.car
        /Users/jscotto/Library/Developer/Xcode/DerivedData/mmCalc-geboyjsripabgxfmmlfoughxcuwd/Build/Intermediates.noindex/mmCalc.build/Debug-iphonesimulator/mmCalc.build/assetcatalog_generated_info.plist


        ** BUILD FAILED **


        The following build commands failed:
                CompileAssetCatalog /Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator/mmCalc.app
        mmCalc/Images.xcassets
        (1 failure)
        Error: Error code 65 for command: xcodebuild with args:
        -xcconfig,/Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/cordova/build-debug.xcconfig,-workspace,mmCalc.xcworkspace,-scheme,mmCalc,-configuration,Debug,-sdk,iphonesimulator,-destination,platform=iOS
        Simulator,name=iPhone
        SE,build,CONFIGURATION_BUILD_DIR=/Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/emulator,SHARED_PRECOMPS_DIR=/Applications/MAMP/htdocs/apps/mmcalc/platforms/ios/build/sharedpch