I am beginning development both an iPhone and iPad product and the two will use a custom framework for core functionality. I have created an iOS Framework project that will contain all the common API's. I would like to be able to debug the framework while debugging the iPhone app. I have added both the iPhone and Framework projects to my work space and linked the framework to my iPhone project. When ever I try to clean or build the project I get this error.
MyFramework is not a valid PRODUCT_NAME for use with framework targets enabling DEFINES_MODULE (name is not a valid C99 extended identifier). This is in XCode 6
Anyone have any ideas what this means?
Thank you.
drag and drop xcode file to another xcode file from finder. It will ask you for copy the file then check the check box and it will copy to your project.
When you run an application in Xcode, the debugger is automatically started and attached to the process of the application. Click the Run button in the top left or press Command + R. From the moment the application is up and running, we can start inspecting the process and, if necessary, debug it.
It means that the name of you framework is not valid.
It coitains some not reserved characters.
-
Can't be used in Framework name
Example:
MyFrameroks-iOS
- WrongMyFrameroksiOS
- Correct
Try to rename you framework. Seach for product name
in project build setting and change it
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With