diff --git a/.travis.yml b/.travis.yml index 32e3357..ea92de3 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,8 +13,6 @@ before_install: - gem install bundler - brew update - bundle install && brew bundle - - bundle exec pod repo update --silent -script: - - bundle exec fastlane run_tests -after_success: - - bundle exec fastlane ci_framework_deploy +install: bundle exec pod install --repo-update --silent +script: bundle exec fastlane run_tests +after_success: bundle exec fastlane ci_framework_deploy diff --git a/Sources/SplashNavigationController.swift b/Sources/SplashNavigationController.swift index 7a2879e..682aad9 100644 --- a/Sources/SplashNavigationController.swift +++ b/Sources/SplashNavigationController.swift @@ -59,6 +59,7 @@ public class SplashNavigationController: UINavigationController { self.isNavigationBarHidden = true } + #if os(iOS) public override var childViewControllerForStatusBarStyle: UIViewController? { return self.visibleViewController } @@ -66,6 +67,7 @@ public class SplashNavigationController: UINavigationController { public override var childViewControllerForStatusBarHidden: UIViewController? { return self.visibleViewController } + #endif } open class SplashViewController: UIViewController {