Created
June 25, 2013 06:41
-
-
Save devmanuj/5856463 to your computer and use it in GitHub Desktop.
PodFile Eg, with Tests Targets configured. This will configure your test targets for pods. Logic unit tests and application test targets should be configured separately. [As pods involving UIKit should only be used in application unit tests.]
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Pod file: | |
platform :ios, "5.0" | |
pod "AFIncrementalStore" | |
pod "Toast" | |
pod "BlockAlertsAnd-ActionSheets" | |
pod "Facebook-iOS-SDK" | |
pod "SVProgressHUD" | |
target :LogicUnitTests, :exclusive => true do | |
pod "AFIncrementalStore" | |
end | |
target :ApplicationUnitTests, :exclusive => true do | |
pod "AFIncrementalStore" | |
pod "Toast" | |
pod "BlockAlertsAnd-ActionSheets" | |
pod "Facebook-iOS-SDK" | |
pod "SVProgressHUD" | |
end | |
The following has to be set in Application Test Target | |
Set the value of the Bundle Loader build setting to: $(BUILT_PRODUCTS_DIR)/<app_name>.app/<app_name> | |
Set the value of the Test Host build setting to: $(BUNDLE_LOADER) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment