title: Xcode 9.1 Archive error
body: <p>My project is building and archiving fine before. Now it can only build and run in Simulator and device. Archiving fails, hence I can not submit another Test Flight build. This has been tying me up for 4 days now and my company is expecting another Test Flight build, but I can't deliver due to this error.</p>
  
  <p><a href="https://i.stack.imgur.com/Q9sqe.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Q9sqe.png" alt="Xcode error"></a> 
  Xcode version: Version 9.1 (9B55)</p>
  
  <p>Below is my <code>pod env</code>:</p>
  
  <pre><code>    ### Stack
  
  ```
     CocoaPods : 1.4.0.beta.2
          Ruby : ruby 2.3.3p222 (2016-11-21 revision 56859) [universal.x86_64-darwin17]
      RubyGems : 2.7.0
          Host : Mac OS X 10.13.1 (17B48)
         Xcode : 9.1 (9B55)
           Git : git version 2.13.6 (Apple Git-96)
  Ruby lib dir : /System/Library/Frameworks/Ruby.framework/Versions/2.3/usr/lib
  Repositories : master - https://github.com/CocoaPods/Specs.git @ d7f61ecea08fb9967efdc454815f49e7196841aa
  ```
  
  ### Installation Source
  
  ```
  Executable Path: /usr/local/bin/pod
  ```
  
  ### Plugins
  
  ```
  cocoapods-deintegrate : 1.0.1
  cocoapods-plugins     : 1.0.0
  cocoapods-search      : 1.0.0
  cocoapods-stats       : 1.0.0
  cocoapods-trunk       : 1.3.0
  cocoapods-try         : 1.1.0
  ```
  
  ### Podfile
  
  ```ruby
  platform :ios, '9.0'
  use_frameworks!
  
  def default_pods
  
      # Networking, Keychain and Alert
      pod 'AFNetworking'
      pod 'SSKeychain'
      pod 'SAMKeychain'
      pod 'RMUniversalAlert'
  
      #Map
      pod 'GoogleMaps'
  
      #Dates
      pod 'DateTools', '1.7.0'
      pod 'MTDates'
  
      #Activity Indicator
      pod 'SVProgressHUD'
  
      #Data and Mapping
      pod 'EasyMapping', '~&gt; 0.16.1'
      pod 'MagicalRecord'
  
      #Debug Mode
      #pod 'Reveal-iOS-SDK', :configurations =&gt; ['Debug']
  
      #Keyboard
      pod 'IQKeyboardManager'
      pod 'TSValidatedTextField'
  
      #Paralax Navigation Bar
      pod 'GKFadeNavigationController'
  
      #Segment
      pod 'Analytics', '3.5.5'
      pod 'libPusher', git: 'https://github.com/pusher/libPusher.git', branch: 'push-notifications'
      pod 'Mixpanel'#, '3.0.7'
  
      #Phone Number Parser
      pod 'libPhoneNumber-iOS', '~&gt; 0.8'
  
      #Textfield Animation
      pod 'SkyFloatingLabelTextField', '~&gt; 2.0.0'
  
      #Smooch (customer care chat)
      pod 'Smooch'
  
      # Crashlytics
      pod 'Fabric'
      pod 'Crashlytics'
  
      # 2fa pin code entry
      pod 'PopupDialog'#, '~&gt; 0.6'
  
      # etc
      pod 'MZFormSheetPresentationController'
  end
  
  target 'Upsales CRM Mobile Edition' do
      default_pods
  end
  
  target 'Upsales CRM Mobile Edition AdHoc' do
      default_pods
  end
  
  target 'Upsales CRM Mobile Edition Internal AdHoc' do
      default_pods
  end
  ```
  </code></pre>