title: Supported platforms, base SDK, build active architecture only settings reverted after pod update
body: <p>My team recently started to employ CocoaPods to manage dependency in our iOS app project.</p>
  
  <p>Here's the podfile:</p>
  
  <pre><code>platform :ios, '6.0'
  
  pod "UI7Kit"
  pod "AFNetworking", "~&gt; 2.0"
  pod "TMCache"
  pod "SVProgressHUD"
  pod "SVPullToRefresh"
  </code></pre>
  
  <p>However, after using CocoaPods, building targets for iPhone 5 always fails, but succeeds for simulator.</p>
  
  <p>Here's the error log:</p>
  
  <pre><code>ld: warning: ignoring file [DerivedData directory]/libPods.a, file was built for archive which is not the architecture being linked (armv7): [DerivedData directory]/libPods.a
  Undefined symbols for architecture armv7:
    "_OBJC_CLASS_$_SVProgressHUD", referenced from:
        objc-class-ref in ....o
    "_OBJC_CLASS_$_TMCache", referenced from:
        objc-class-ref in ....o
    "_OBJC_CLASS_$_UI7Kit", referenced from:
        objc-class-ref in ....o
  ld: symbol(s) not found for architecture armv7
  clang: error: linker command failed with exit code 1 (use -v to see invocation)
  </code></pre>
  
  <p>I've tried solutions mentioned in <a href="http://guides.cocoapods.org/using/troubleshooting.html">CocoaPods Troubleshooting</a>, including adding the <code>Pods</code> static library on top of the list, but it still fails.</p>
  
  <p>Later we found that in "Pods Project Settings" > "Build Settings" > "Architectures", "Base SDK" is set as "No SDK (Latest OS X)", "Build Active Architecture Only" > "Debug" set as "Yes" and "Supported Platforms" set as "OS X". After changing them to "Latest iOS (iOS 7.0)", "No", "iOS" respectively, building for iPhone 5 and simulator both work fine.</p>
  
  <p>However, each time we do <code>Pod update</code>, all of the three settings are reverted to their previous states, which is annoying.</p>
  
  <p>My questions are:</p>
  
  <ol>
  <li>Is this case by design or something is wrong with my project/workspace setting?</li>
  <li>How to prevent these settings from being reverted to the wrong states?</li>
  </ol>
  
  <p>Any help will be appreciated.</p>