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

No rule to process .a (library) files #143

Closed jalakoo closed 10 years ago

jalakoo commented 10 years ago

Building a framework with another framework embedded is not possible, but including a .a static library file appears to be. Except, when attempting to do so I get the following warning:

warning: no rule to process file '$(PROJECT_DIR)/../../../../Library/Containers/com.apple.mail/Data/Library/Mail Downloads/(staticLibrary).a' of type archive.ar for architecture armv7

Am I missing something, or is including a static library within a Real Framework actually not possible?

jalakoo commented 10 years ago

Bah. So for anyone else interested: Yes, you can include a static library within a framework, just make sure NOT to include the static library within your compile sources section of the Build Phases tab. Obviously no need to recompile a compiled library.