Skip to content

Commit

Permalink
use HMSegmentedControl from pod instead of standalone file (#7279)
Browse files Browse the repository at this point in the history
https://github.com/HeshamMegid/HMSegmentedControl
is available as a Pod and many libraries and frameworks use it from there. Using them along with ReactNativeNavigation causes duplicate symbols error when building the app. I have updated the library to use the class from pod instead of the standalone files embedded within the library.
  • Loading branch information
mohsinulhaq authored Oct 3, 2021
1 parent 102b718 commit 6fb9749
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 1,367 deletions.
1 change: 1 addition & 0 deletions ReactNativeNavigation.podspec
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,6 @@ Pod::Spec.new do |s|
s.dependency 'React-Core'
s.dependency 'React-RCTImage'
s.dependency 'React-RCTText'
s.dependency 'HMSegmentedControl'
s.frameworks = 'UIKit'
end
287 changes: 0 additions & 287 deletions lib/ios/HMSegmentedControl.h

This file was deleted.

Loading

0 comments on commit 6fb9749

Please sign in to comment.