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

Fake framework shows missing Headers on first pass only #49

Closed Cross22 closed 12 years ago

Cross22 commented 12 years ago

When building my project with the mk7 fake framework I get a missing Headers warning:

Ls: /Users/x/Library/Developer/Xcode/DerivedData/driver-edwoigoqbhgsncfsrbkxnitmxmee/Build/Products/Debug-iphonesimulator/driver.framework/Headers: No such file or directory

Building it a second time that error goes away and the created framework bundle is fully functional.

Half of my .h files are in the Public group, other half in Private.

kstenerud commented 12 years ago

Check to make sure Xcode isn't being stupid and adding that path to "Header Search Paths" in your build settings.

Cross22 commented 12 years ago

Header Search Paths is empty. User Header Search Paths points to a different directory. The only build settings entry that points to Headers is inside Packaging (Public/Private)

aet commented 12 years ago

check the latest version, it should fix the issue

Cross22 commented 12 years ago

I uninstalled the previous fake framework and installed the new one. Reopening the same project still shows the erroneous behavior. Do I need to set up a new project ?

kstenerud commented 12 years ago

Yes, those changes will only take effect while you're creating a project.

Cross22 commented 12 years ago

Great job! It is working now.