title: Error while running ionic cordova build ios --prod
body: <p>I'm having this error while trying to deploy angular ionic app to ipa. After i run 'ionic cordova build ios --prod', these errors appear. Please help me to solve these errors.
  P/s: I'm using Ionic 4 and Xcode 9.2.
  <a href="https://i.stack.imgur.com/P33fz.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/P33fz.png" alt="enter image description here" /></a></p>
  <p><a href="https://i.stack.imgur.com/sV3HP.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/sV3HP.png" alt="enter image description here" /></a></p>
  <p>This is my <strong>project.pbxproj</strong> file:</p>
  <pre><code>// !$*UTF8*$!
  {
      archiveVersion = 1;
      classes = {
      };
      objectVersion = 52;
      objects = {
  </code></pre>
  <p>...</p>
  <pre><code>            buildSettings = {
                  ALWAYS_SEARCH_USER_PATHS = NO;
                  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
                  CLANG_ENABLE_MODULES = YES;
                  CLANG_ENABLE_OBJC_ARC = YES;
                  COPY_PHASE_STRIP = NO;
                  GCC_DYNAMIC_NO_PIC = NO;
                  GCC_OPTIMIZATION_LEVEL = 0;
                  GCC_PRECOMPILE_PREFIX_HEADER = YES;
                  GCC_PREFIX_HEADER = &quot;MyApp/MyApp-Prefix.pch&quot;;
                  GCC_THUMB_SUPPORT = NO;
                  GCC_VERSION = &quot;&quot;;
                  INFOPLIST_FILE = &quot;MyApp/MyApp-Info.plist&quot;;
                  IPHONEOS_DEPLOYMENT_TARGET = 11.0;
                  LD_RUNPATH_SEARCH_PATHS = &quot;@executable_path/Frameworks&quot;;
                  PRODUCT_BUNDLE_IDENTIFIER = io.ionic.starter;
                  PRODUCT_NAME = &quot;$(TARGET_NAME)&quot;;
                  TARGETED_DEVICE_FAMILY = &quot;1,2&quot;;
              };
              name = Debug;
          };
          1D6058950D05DD3E006BFB54 /* Release */ = {
              isa = XCBuildConfiguration;
              baseConfigurationReference = 3047A5101AB8059700498E2A /* build-release.xcconfig */;
              buildSettings = {
                  ALWAYS_SEARCH_USER_PATHS = NO;
                  ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
                  CLANG_ENABLE_MODULES = YES;
                  CLANG_ENABLE_OBJC_ARC = YES;
                  COPY_PHASE_STRIP = YES;
                  GCC_PRECOMPILE_PREFIX_HEADER = YES;
                  GCC_PREFIX_HEADER = &quot;MyApp/MyApp-Prefix.pch&quot;;
                  GCC_THUMB_SUPPORT = NO;
                  GCC_VERSION = &quot;&quot;;
                  INFOPLIST_FILE = &quot;MyApp/MyApp-Info.plist&quot;;
                  IPHONEOS_DEPLOYMENT_TARGET = 11.0;
                  LD_RUNPATH_SEARCH_PATHS = &quot;@executable_path/Frameworks&quot;;
                  PRODUCT_BUNDLE_IDENTIFIER = io.ionic.starter;
                  PRODUCT_NAME = &quot;$(TARGET_NAME)&quot;;
                  TARGETED_DEVICE_FAMILY = &quot;1,2&quot;;
              };
              name = Release;
          };
          C01FCF4F08A954540054247B /* Debug */ = {
              isa = XCBuildConfiguration;
              baseConfigurationReference = 3047A5111AB8059700498E2A /* build.xcconfig */;
              buildSettings = {
                  ...
                  WK_WEB_VIEW_ONLY = 1;
                  IPHONEOS_DEPLOYMENT_TARGET = 11.0;
              };
              name = Debug;
          };
          .....
  </code></pre>