-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Product Module name has changed since 4.5.0 - bug or feature? #259
Comments
I would recommend to override the module name on all frameworks and set it to be the common one - NVActivityIndicatorView |
This also affects interface builder files that are using
|
Thanks for the issue. It was intentional due to #252 and #248 which changed the product names, as a result the module name changed accordingly. If you're using Carthage, Usage has been updated to address this change, and it shouldn't affect CocoaPods users. CMIIW, the reason of having different module names (are product names) for each target is due to the way Carthage build the original project with all defined schemes and targets. If all targets have the same product name, how do we differentiate which target to use? It doesn't happen with CocoaPods though. Because CocoaPods just uses code files specified in |
Product name is not used to differentiate targets - the schemes are used for that. I've forked and played a little with the project and can confirm that #251 is not present. Off topic regarding the build tools: Carthage is using whatever is defined in the build settings of the project, as it uses xcodebuild under the hood. |
You meant you managed to use The purpose of the app extension target is to allow to use the library in an app extension which Anyway, let me play a bit more, then find the best way for both worlds. |
I meant that i managed to use |
I tried out the change, and it worked perfectly. Thanks for pointing it out and correcting my misunderstanding. In addition to unifying product names of |
PR created - #260 |
|
Hi,
Since release 4.5.0 - the product module name has changed from
NVActivityIndicatorView
toNVActivityIndicatorView_iOS
.Not a big deal, but just wondering if this was intentional.
I see that tvOS support was added since that version and the product name was changed - that makes me assume that the module name change was not intentional.
Issues that might occur due to different module name between frameworks - if you share source files between iOS and tvOS - you will not be able to import neither module, unless using conditional compilation.
Also the current guide in the README is obsolete, as the example there is using the old module name.
The text was updated successfully, but these errors were encountered: