Error ionic build ios?

0

Can someone help me with the following error in ionic version 1? When compiling with ionic build ios it throws me the following error:

  

CompileAssetCatalog build / emulator / saltala.app jump / Images.xcassets       cd / Applications / XAMPP / xamppfiles / htdocs / saltala / platforms / ios       export PATH="/ Applications / Xcode.app / Contents / Developer / Platforms / iPhoneSimulator.platform / Developer / usr / bin: /Applications/Xcode.app/Contents/Developer/usr/bin: / usr / local / bin: / usr / bin: / bin: / usr / sbin: / sbin "       /Applications/Xcode.app/Contents/Developer/usr/bin/actool --output-format human-readable-text --notices --warnings --export-dependency-info / Applications / XAMPP / xamppfiles / htdocs / skip / platforms / ios / build / saltala.build / Debug-iphonesimulator / saltala.build / assetcatalog_dependencies --output-partial-info-plist /Applications/XAMPP/xamppfiles/htdocs/saltala/platforms/ios/build/saltala.build/Debug -iphonesimulator / saltala.build / assetcatalog_generated_info.plist --app-icon AppIcon --launch-image LaunchImage --compress-pngs --enable-on-demand-resources YES --sticker-pack-identifier-prefix com.ionicframework. saltala907366.sticker-pack. --target-device iphone --target-device ipad --minimum-deployment-target 8.0 --platform iphonesimulator --product-type com.apple.product-type.application --compile / Applications / XAMPP / xamppfiles / htdocs / skip / platforms / ios / build / emulator / saltala.app /Applications/XAMPP/xamppfiles/htdocs/saltala/platforms/ios/saltala/Images.xcassets

     

/ com.apple.actool.errors * /

     

/Applications/XAMPP/xamppfiles/htdocs/saltala/platforms/ios/saltala/Images.xcassets: error: None of the input catalogs contained a matching app icon set named "AppIcon".   /Applications/XAMPP/xamppfiles/htdocs/saltala/platforms/ios/saltala/Images.xcassets: error: None of the input catalogs contained a matching launch image set named "LaunchImage".   / * com.apple.actool.compilation-results * /   /Applications/XAMPP/xamppfiles/htdocs/saltala/platforms/ios/build/saltala.build/Debug-iphonesimulator/saltala.build/assetcatalog_generated_info.plist

     

** BUILD FAILED **

     

The following build commands failed:       CompileAssetCatalog build / emulator / saltala.app jump / Images.xcassets   (1 failure)

     

Error: Error code 65 for command: xcodebuild with args: -xcconfig, / Applications / XAMPP / xamppfiles / htdocs / saltala / platforms / ios / cordova / build-debug.xcconfig, -project, saltala.xcodeproj, ARCHS = i386, -target, skip, -configuration, Debug, -sdk, iphonesimulator, build, VALID_ARCHS = i386, CONFIGURATION_BUILD_DIR = / Applications / XAMPP / xamppfiles / htdocs / skip / platforms / ios / build / emulator, SHARED_PRECOMPS_DIR = / Applications / XAMPP / xamppfiles / htdocs / saltala / platforms / ios / build / sharedpch

Before, it worked for me, now I do not know what could have happened.

    
asked by Hernan Humaña 23.01.2017 в 19:02
source

1 answer

1

These errors are commonly given by permissions or errors in the structure of the platform and can be solved in several ways:

  • Try removing the platform, adding it again and compiling

      

    ionic platform remove ios
      ionic platform add ios
      ionic build ios

  • You can also try changing the permissions in the folders used to compile the project:

      

    sudo chown -R $ USER: $ GROUP ~ / .npm
      sudo chown -R $ USER: $ GROUP ~ / .config

  • answered by 09.02.2017 / 17:22
    source