title: Creating Universal Library in Xcode 6
body: <p>I want to use the libCorePlot-CocoaTouch.a in order to make a graph of data but I kept getting a Mac-o Linker error from Core Plot. Seemed that the error was because I do not have a Universal Library for all of the architectures. From what I have read, is that the Core Plot library needs to be combined with the iphone and simulator libraries. Please correct me as I am very new to Obj-C.</p>
  
  <p>I have tried using the following scripts with target/aggregate but none of them <a href="http://www.raywenderlich.com/41377/creating-a-static-library-in-ios-tutorial" rel="nofollow">Link 1</a>
  <a href="http://wiki.genexus.com/commwiki/servlet/hwiki?Creating+an+Universal+Library+for+iOS," rel="nofollow">Link 2</a> work with Xcode 6, the issues are the following:
  <code>Lipo: can't open input file: /Users/Wilbe1/Library/Developer/Xcode/DerivedData/GeoData_Grapher-blnjuxtseitfkfdfkgjpgzskbtwx/Build/Products/Debug-iphoneos/libGeoData Grapher.a (No such file or directory)</code></p>
  
  <p><code>Cp: /Users/Wilbe1/Library/Developer/Xcode/DerivedData/GeoData_Grapher-blnjuxtseitfkfdfkgjpgzskbtwx/Build/Products/Debug-iphoneos/include: No such file or directory</code></p>
  
  <p>Do I need to make a static library first and then a Universal? Could someone please give me a step by step instruction how to resolve this problem. </p>