fix config
This commit is contained in:
parent
53d6b14653
commit
ca1164690d
|
@ -412,11 +412,12 @@
|
|||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
INFOPLIST_FILE = Tests/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.Labbiness.FileableTests;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.shotastage.FileableTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = On;
|
||||
SWIFT_VERSION = 4.0;
|
||||
SWIFT_VERSION = 4.2;
|
||||
};
|
||||
name = Debug;
|
||||
};
|
||||
|
@ -426,11 +427,12 @@
|
|||
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
||||
DEVELOPMENT_TEAM = "";
|
||||
INFOPLIST_FILE = Tests/Info.plist;
|
||||
IPHONEOS_DEPLOYMENT_TARGET = 10.0;
|
||||
LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.Labbiness.FileableTests;
|
||||
PRODUCT_BUNDLE_IDENTIFIER = com.shotastage.FileableTests;
|
||||
PRODUCT_NAME = "$(TARGET_NAME)";
|
||||
SWIFT_SWIFT3_OBJC_INFERENCE = On;
|
||||
SWIFT_VERSION = 4.0;
|
||||
SWIFT_VERSION = 4.2;
|
||||
};
|
||||
name = Release;
|
||||
};
|
||||
|
|
|
@ -18,12 +18,12 @@ import Foundation
|
|||
///
|
||||
@available(*, unavailable, renamed: "iOSFileSystem.document.path")
|
||||
static func appDocument() -> String {
|
||||
return NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true)[0]
|
||||
fatalError("appDocument is deprecated!")
|
||||
}
|
||||
|
||||
@available(*, unavailable, renamed: "iOSFileSystem.cache.path")
|
||||
static func appCache() -> String {
|
||||
return NSSearchPathForDirectoriesInDomains(.cachesDirectory, .userDomainMask, true)[0]
|
||||
fatalError("appCache is deprecated!")
|
||||
}
|
||||
|
||||
|
||||
|
@ -37,6 +37,7 @@ import Foundation
|
|||
public static func toString(fileURL: URL) throws -> String {
|
||||
|
||||
let stringURL: String
|
||||
|
||||
do {
|
||||
try stringURL = String(contentsOf: fileURL)
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue