Skip to content

Commit

Permalink
Explicitly specify version and removing cocoapods warnings
Browse files Browse the repository at this point in the history
[!] Automatically assigning platform ios with version 10.1 on target AnalyticsTests because no platform was specified. Please specify a platform for this target in your Podfile. See `https://guides.cocoapods.org/syntax/podfile.html#platform`.

[!] The `AnalyticsTests [Debug]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-AnalyticsTests/Pods-AnalyticsTests.debug.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.

[!] The `AnalyticsTests [Release]` target overrides the `ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES` build setting defined in `Pods/Target Support Files/Pods-AnalyticsTests/Pods-AnalyticsTests.release.xcconfig'. This can lead to problems with the CocoaPods installation
    - Use the `$(inherited)` flag, or
    - Remove the build settings from the target.
  • Loading branch information
tonyxiao committed Apr 29, 2017
1 parent 2f02063 commit 56ff9c2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 0 additions & 2 deletions Analytics.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = 1DF03A6929EEFE7158913224 /* Pods-AnalyticsTests.debug.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
INFOPLIST_FILE = AnalyticsTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.segment.AnalyticsTests;
Expand All @@ -773,7 +772,6 @@
isa = XCBuildConfiguration;
baseConfigurationReference = D3BF8AE673FE0FD91DF5B503 /* Pods-AnalyticsTests.release.xcconfig */;
buildSettings = {
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
INFOPLIST_FILE = AnalyticsTests/Info.plist;
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
PRODUCT_BUNDLE_IDENTIFIER = com.segment.AnalyticsTests;
Expand Down
3 changes: 3 additions & 0 deletions Podfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@


target 'AnalyticsTests' do
platform :ios, '10.1'

use_frameworks!

pod 'Quick' # runner lib
Expand Down

0 comments on commit 56ff9c2

Please sign in to comment.