Browse Source

[v2] [iOS] Remove OCMock files from being compiled into pod (#4272)

* Remove OCMock files from being compiled into pod

* Add prepare script to build source when repo is cloned

* Revert package.json change
Kaden Wilkinson 6 years ago
parent
commit
5475a02889
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      ReactNativeNavigation.podspec

+ 1
- 1
ReactNativeNavigation.podspec View File

16
 
16
 
17
   s.source       = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "#{s.version}" }
17
   s.source       = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "#{s.version}" }
18
   s.source_files  = "lib/ios/**/*.{h,m}"
18
   s.source_files  = "lib/ios/**/*.{h,m}"
19
-  s.exclude_files  = "lib/ios/ReactNativeNavigationTests/**/*.*"
19
+  s.exclude_files  = "lib/ios/ReactNativeNavigationTests/**/*.*", "lib/ios/OCMock/**/*.*"
20
 
20
 
21
   s.dependency 'React'
21
   s.dependency 'React'
22
   s.frameworks = 'UIKit'
22
   s.frameworks = 'UIKit'