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 5 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,7 +16,7 @@ Pod::Spec.new do |s|
16 16
 
17 17
   s.source       = { :git => "https://github.com/wix/react-native-navigation.git", :tag => "#{s.version}" }
18 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 21
   s.dependency 'React'
22 22
   s.frameworks = 'UIKit'