kstenerud / iOS-Universal-Framework

An XCode project template to build universal frameworks (arm7, arm7s, and simulator) for iOS / iPhone.
2.95k stars 473 forks source link

XCode 4.6 Build Error #112

Closed loretoparisi closed 11 years ago

loretoparisi commented 11 years ago

After upgrading to XCode 4.6 building the Real Framework ends up with the following error:

target specifies product type 'com.apple.product-type.framework.static', but there's no such product type for the 'iphoneos' platform

sfoulston commented 11 years ago

Have you run the install.sh script since upgrading? You will find that you need to do this every time you upgrade Xcode.

Loxrie commented 11 years ago

\ EDIT **

And I really shouldn't install the beta framework when I'm building an old project. Re running the correct install.sh file does indeed fix it!


I've run the install script since upgrading, it puts the files into the correct places however xcode won't build. Same error too:

target specifies product type 'com.apple.product-type.framework.static', but there's no such product type for the 'iphonesimulator' platform

loretoparisi commented 11 years ago

Yes. To be sure to make everything working do

  1. Close XCode 4.6
  2. Install Fake and Real Frameworks again through sudo install.sh
  3. Re-open XCode 4.6

After doing this it worked.

AllanChen commented 11 years ago

I install fake and real frameworks again and again, but still not work for me ?? any idea for my problem ?? i can not install .

RamChandraReddy commented 10 years ago

Hi,

Since I do not have any idea on running that complex script to install real framework, Could anyone please provide me the steps to install that .

Thanks Ram