Including Info.plist in Cocoa Static Library project for inclusion in structure

I have looked through the forums and cannot find a post on this, but I hope someone can help.

Q: When you create a typical iOS project, Xcode automatically generates a <project name> -Info.plist file that is preprocessed during the build phase to replace variables such as: $ {PRODUCT_NAME}. This plist is placed in the application package as Info.plist.

However, when you select the project type "Cocoa Static Library", this project type does not contain the <project name> -Info.plist file. Without this file, the Get Info execution in Finder in the structure I create from this target will not show up on the Release Notes page. We need to be able to update our framework package we are building from this static library and would like to include this Info.plist file.

I tried to create a <project name> -Info.plist file filled with variables such as $ {PRODUCT_NAME} and specify the build options "Deploy Build Settings in Info.plist File" and "Preprocess Info.plist File" to YES. However, the file is not pre-processed. Any ideas on what I am doing wrong?

+3


source to share





All Articles