ソースを参照

[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 年 前
コミット
5475a02889
共有1 個のファイルを変更した1 個の追加1 個の削除を含む
  1. 1
    1
      ReactNativeNavigation.podspec

+ 1
- 1
ReactNativeNavigation.podspec ファイルの表示

@@ -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'