Xcode 6 warning with custom iOS framework: PRODUCT_MODULE_NAME could not be overridden for target environment 'MyFramework'
2 answers
It turns out that I added the "Product Module Name" build parameter at the project level, and this was overriding the product module name in my new structure. I have 4 goals: setting, setting and 2 test goals, and I didn't want to deal with 4 different bridge headers and generated headers for Swift code.
The answer was to explicitly enter the "Product Module Name" build parameter for my new target environment using the correct frame name. An alternative would be to not use the project level build setting and add it as a target level build setting for each target.
+7
source to share