No release in over a year
A CocoaPods plugin for removing autoimported [UIKit/Cocoa/Foundation] headers.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies

Development

~> 1.3
>= 0
 Project Readme

🙅‍♂️ Cocoapods no autoimports

A cocoapods plugin that let's you hook in generating umbrella and prefix headers for pods. And remove autoimports of

  1. UIKit.h
  2. Cocoa.h
  3. Foundation.h

⭐ Usage

Add this line to your application's Gemfile:

gem 'cocoapods-no-autoimports'

Add this line to your Podfile:

plugin 'cocoapods-no-autoimports'
# cocoapods-no-autoimports__pods = ['YourPod__Core', 'YourPod__UI']

The plugin will parse the Podfile and look for cocoapods-no-autoimports__pods key. Make sure to list your pods to which you want to apply plugin to in cocoapods-no-autoimports__pods array. It got to be comment in 1 line.

Execute:

$ bundle install

Now run:

$ pod install

Done! Now go and check your Xcode build erros 😁

License

The gem is available as open source under the terms of the MIT License.

Additional Info

  • This gem is distributed via RubyGems.org
  • Special thanks to Keith's repo got me started
  • This ticket was the problem for us as well so I decided to built a plugin