Skip to content

Demonstrate CocoaPods modular header bug causing "implemented in both" loader error

License

Notifications You must be signed in to change notification settings

paulb777/imp-in-both

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

imp-in-both

Example

  • git clone [email protected]:paulb777/iid-modular-header-bug.git
  • cd imp-in-both/Example/
  • pod update
  • open imp-in-both.xcworkspace/
  • Command-U to run unit tests
  • Notice the top of the Xcode log:
objc[42576]: Class PodsDummy_GoogleToolboxForMac is implemented in both /Users/paulbeusterien/Library/Developer/CoreSimulator/Devices/672B8E49-CA5F-43C5-BC66-5F8FC451D677/data/Containers/Bundle/Application/9D3FF006-692D-4621-8397-0CDB6AFAC15F/imp-in-both_Example.app/imp-in-both_Example (0x107ef3350) and /Users/paulbeusterien/Library/Developer/Xcode/DerivedData/imp-in-both-cofvyqfvbkjbeuabqmlwgyviabun/Build/Products/Debug-iphonesimulator/imp-in-both_Example.app/PlugIns/imp-in-both_Tests.xctest/imp-in-both_Tests (0x121aa1a18). One of the two will be used. Which one is undefined.
objc[42576]: Class PodsDummy_imp_in_both is implemented in both /Users/paulbeusterien/Library/Developer/CoreSimulator/Devices/672B8E49-CA5F-43C5-BC66-5F8FC451D677/data/Containers/Bundle/Application/9D3FF006-692D-4621-8397-0CDB6AFAC15F/imp-in-both_Example.app/imp-in-both_Example (0x107ef33a0) and /Users/paulbeusterien/Library/Developer/Xcode/DerivedData/imp-in-both-cofvyqfvbkjbeuabqmlwgyviabun/Build/Products/Debug-iphonesimulator/imp-in-both_Example.app/PlugIns/imp-in-both_Tests.xctest/imp-in-both_Tests (0x121aa1a68). One of the two will be used. Which one is undefined.

Requirements

Installation

imp-in-both is available through CocoaPods. To install it, simply add the following line to your Podfile:

pod 'imp-in-both'

Author

Paul Beusterien, [email protected]

License

imp-in-both is available under the MIT license. See the LICENSE file for more info.

About

Demonstrate CocoaPods modular header bug causing "implemented in both" loader error

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published