diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/project.pbxproj b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/project.pbxproj new file mode 100644 index 0000000000..a024fc389d --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/project.pbxproj @@ -0,0 +1,311 @@ +// !$*UTF8*$! +{ + archiveVersion = 1; + classes = { + }; + objectVersion = 46; + objects = { + +/* Begin PBXBuildFile section */ + 058968F51ABCE06E0059CE2A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 058968F41ABCE06E0059CE2A /* main.m */; }; + 058968F81ABCE06E0059CE2A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 058968F71ABCE06E0059CE2A /* AppDelegate.m */; }; + 058968FB1ABCE06E0059CE2A /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 058968FA1ABCE06E0059CE2A /* ViewController.m */; }; + 0589691B1ABCE0E80059CE2A /* Default-568h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 058969181ABCE0E80059CE2A /* Default-568h@2x.png */; }; + 0589691C1ABCE0E80059CE2A /* Default-667h@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 058969191ABCE0E80059CE2A /* Default-667h@2x.png */; }; + 0589691D1ABCE0E80059CE2A /* Default-736h@3x.png in Resources */ = {isa = PBXBuildFile; fileRef = 0589691A1ABCE0E80059CE2A /* Default-736h@3x.png */; }; + 058969281ABCE1750059CE2A /* libAsyncDisplayKit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 058969271ABCE1750059CE2A /* libAsyncDisplayKit.a */; }; + 0589692A1ABCE17C0059CE2A /* AssetsLibrary.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 058969291ABCE17C0059CE2A /* AssetsLibrary.framework */; }; + 0589692C1ABCE1820059CE2A /* Photos.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0589692B1ABCE1820059CE2A /* Photos.framework */; }; +/* End PBXBuildFile section */ + +/* Begin PBXFileReference section */ + 058968EF1ABCE06E0059CE2A /* Life Without CocoaPods.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "Life Without CocoaPods.app"; sourceTree = BUILT_PRODUCTS_DIR; }; + 058968F31ABCE06E0059CE2A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; + 058968F41ABCE06E0059CE2A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; + 058968F61ABCE06E0059CE2A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; + 058968F71ABCE06E0059CE2A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; + 058968F91ABCE06E0059CE2A /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; + 058968FA1ABCE06E0059CE2A /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; + 058969181ABCE0E80059CE2A /* Default-568h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-568h@2x.png"; sourceTree = ""; }; + 058969191ABCE0E80059CE2A /* Default-667h@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-667h@2x.png"; sourceTree = ""; }; + 0589691A1ABCE0E80059CE2A /* Default-736h@3x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "Default-736h@3x.png"; sourceTree = ""; }; + 058969271ABCE1750059CE2A /* libAsyncDisplayKit.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = libAsyncDisplayKit.a; path = "../../build/Debug-iphoneos/libAsyncDisplayKit.a"; sourceTree = ""; }; + 058969291ABCE17C0059CE2A /* AssetsLibrary.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = AssetsLibrary.framework; path = System/Library/Frameworks/AssetsLibrary.framework; sourceTree = SDKROOT; }; + 0589692B1ABCE1820059CE2A /* Photos.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Photos.framework; path = System/Library/Frameworks/Photos.framework; sourceTree = SDKROOT; }; +/* End PBXFileReference section */ + +/* Begin PBXFrameworksBuildPhase section */ + 058968EC1ABCE06E0059CE2A /* Frameworks */ = { + isa = PBXFrameworksBuildPhase; + buildActionMask = 2147483647; + files = ( + 0589692C1ABCE1820059CE2A /* Photos.framework in Frameworks */, + 0589692A1ABCE17C0059CE2A /* AssetsLibrary.framework in Frameworks */, + 058969281ABCE1750059CE2A /* libAsyncDisplayKit.a in Frameworks */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXFrameworksBuildPhase section */ + +/* Begin PBXGroup section */ + 058968E61ABCE06E0059CE2A = { + isa = PBXGroup; + children = ( + 0589692B1ABCE1820059CE2A /* Photos.framework */, + 058969291ABCE17C0059CE2A /* AssetsLibrary.framework */, + 058969271ABCE1750059CE2A /* libAsyncDisplayKit.a */, + 058968F11ABCE06E0059CE2A /* Life Without CocoaPods */, + 058968F01ABCE06E0059CE2A /* Products */, + ); + sourceTree = ""; + }; + 058968F01ABCE06E0059CE2A /* Products */ = { + isa = PBXGroup; + children = ( + 058968EF1ABCE06E0059CE2A /* Life Without CocoaPods.app */, + ); + name = Products; + sourceTree = ""; + }; + 058968F11ABCE06E0059CE2A /* Life Without CocoaPods */ = { + isa = PBXGroup; + children = ( + 058968F61ABCE06E0059CE2A /* AppDelegate.h */, + 058968F71ABCE06E0059CE2A /* AppDelegate.m */, + 058968F91ABCE06E0059CE2A /* ViewController.h */, + 058968FA1ABCE06E0059CE2A /* ViewController.m */, + 058968F21ABCE06E0059CE2A /* Supporting Files */, + ); + path = "Life Without CocoaPods"; + sourceTree = ""; + }; + 058968F21ABCE06E0059CE2A /* Supporting Files */ = { + isa = PBXGroup; + children = ( + 058969181ABCE0E80059CE2A /* Default-568h@2x.png */, + 058969191ABCE0E80059CE2A /* Default-667h@2x.png */, + 0589691A1ABCE0E80059CE2A /* Default-736h@3x.png */, + 058968F31ABCE06E0059CE2A /* Info.plist */, + 058968F41ABCE06E0059CE2A /* main.m */, + ); + name = "Supporting Files"; + sourceTree = ""; + }; +/* End PBXGroup section */ + +/* Begin PBXNativeTarget section */ + 058968EE1ABCE06E0059CE2A /* Life Without CocoaPods */ = { + isa = PBXNativeTarget; + buildConfigurationList = 058969121ABCE06E0059CE2A /* Build configuration list for PBXNativeTarget "Life Without CocoaPods" */; + buildPhases = ( + 058968EB1ABCE06E0059CE2A /* Sources */, + 058968EC1ABCE06E0059CE2A /* Frameworks */, + 058968ED1ABCE06E0059CE2A /* Resources */, + ); + buildRules = ( + ); + dependencies = ( + ); + name = "Life Without CocoaPods"; + productName = "Life Without CocoaPods"; + productReference = 058968EF1ABCE06E0059CE2A /* Life Without CocoaPods.app */; + productType = "com.apple.product-type.application"; + }; +/* End PBXNativeTarget section */ + +/* Begin PBXProject section */ + 058968E71ABCE06E0059CE2A /* Project object */ = { + isa = PBXProject; + attributes = { + LastUpgradeCheck = 0620; + ORGANIZATIONNAME = Facebook; + TargetAttributes = { + 058968EE1ABCE06E0059CE2A = { + CreatedOnToolsVersion = 6.2; + }; + }; + }; + buildConfigurationList = 058968EA1ABCE06E0059CE2A /* Build configuration list for PBXProject "Life Without CocoaPods" */; + compatibilityVersion = "Xcode 3.2"; + developmentRegion = English; + hasScannedForEncodings = 0; + knownRegions = ( + en, + Base, + ); + mainGroup = 058968E61ABCE06E0059CE2A; + productRefGroup = 058968F01ABCE06E0059CE2A /* Products */; + projectDirPath = ""; + projectRoot = ""; + targets = ( + 058968EE1ABCE06E0059CE2A /* Life Without CocoaPods */, + ); + }; +/* End PBXProject section */ + +/* Begin PBXResourcesBuildPhase section */ + 058968ED1ABCE06E0059CE2A /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 0589691B1ABCE0E80059CE2A /* Default-568h@2x.png in Resources */, + 0589691C1ABCE0E80059CE2A /* Default-667h@2x.png in Resources */, + 0589691D1ABCE0E80059CE2A /* Default-736h@3x.png in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXResourcesBuildPhase section */ + +/* Begin PBXSourcesBuildPhase section */ + 058968EB1ABCE06E0059CE2A /* Sources */ = { + isa = PBXSourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + 058968FB1ABCE06E0059CE2A /* ViewController.m in Sources */, + 058968F81ABCE06E0059CE2A /* AppDelegate.m in Sources */, + 058968F51ABCE06E0059CE2A /* main.m in Sources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; +/* End PBXSourcesBuildPhase section */ + +/* Begin XCBuildConfiguration section */ + 058969101ABCE06E0059CE2A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_DYNAMIC_NO_PIC = NO; + GCC_OPTIMIZATION_LEVEL = 0; + GCC_PREPROCESSOR_DEFINITIONS = ( + "DEBUG=1", + "$(inherited)", + ); + GCC_SYMBOLS_PRIVATE_EXTERN = NO; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = YES; + ONLY_ACTIVE_ARCH = YES; + SDKROOT = iphoneos; + }; + name = Debug; + }; + 058969111ABCE06E0059CE2A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; + COPY_PHASE_STRIP = NO; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu99; + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + MTL_ENABLE_DEBUG_INFO = NO; + SDKROOT = iphoneos; + VALIDATE_PRODUCT = YES; + }; + name = Release; + }; + 058969131ABCE06E0059CE2A /* Debug */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "Life Without CocoaPods/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 7.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "/Users/nadi/src/AsyncDisplayKit/build/Debug-iphoneos", + ); + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Debug; + }; + 058969141ABCE06E0059CE2A /* Release */ = { + isa = XCBuildConfiguration; + buildSettings = { + ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; + INFOPLIST_FILE = "Life Without CocoaPods/Info.plist"; + IPHONEOS_DEPLOYMENT_TARGET = 7.1; + LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; + LIBRARY_SEARCH_PATHS = ( + "$(inherited)", + "/Users/nadi/src/AsyncDisplayKit/build/Debug-iphoneos", + ); + OTHER_LDFLAGS = ( + "-ObjC", + "-lc++", + ); + PRODUCT_NAME = "$(TARGET_NAME)"; + }; + name = Release; + }; +/* End XCBuildConfiguration section */ + +/* Begin XCConfigurationList section */ + 058968EA1ABCE06E0059CE2A /* Build configuration list for PBXProject "Life Without CocoaPods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 058969101ABCE06E0059CE2A /* Debug */, + 058969111ABCE06E0059CE2A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; + 058969121ABCE06E0059CE2A /* Build configuration list for PBXNativeTarget "Life Without CocoaPods" */ = { + isa = XCConfigurationList; + buildConfigurations = ( + 058969131ABCE06E0059CE2A /* Debug */, + 058969141ABCE06E0059CE2A /* Release */, + ); + defaultConfigurationIsVisible = 0; + defaultConfigurationName = Release; + }; +/* End XCConfigurationList section */ + }; + rootObject = 058968E71ABCE06E0059CE2A /* Project object */; +} diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/project.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000..a9e8c819ee --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcodeproj/project.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,7 @@ + + + + + diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcworkspace/contents.xcworkspacedata b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcworkspace/contents.xcworkspacedata new file mode 100644 index 0000000000..b2fcbec3ec --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods.xcworkspace/contents.xcworkspacedata @@ -0,0 +1,10 @@ + + + + + + + diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/AppDelegate.h b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/AppDelegate.h new file mode 100644 index 0000000000..593a1df02c --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/AppDelegate.h @@ -0,0 +1,17 @@ +/* Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +#import + +@interface AppDelegate : UIResponder + +@property (strong, nonatomic) UIWindow *window; + + +@end + diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/AppDelegate.m b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/AppDelegate.m new file mode 100644 index 0000000000..2463c4f11f --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/AppDelegate.m @@ -0,0 +1,24 @@ +/* Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +#import "AppDelegate.h" + +#import "ViewController.h" + +@implementation AppDelegate + +- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions +{ + self.window = [[UIWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; + self.window.backgroundColor = [UIColor whiteColor]; + self.window.rootViewController = [[ViewController alloc] init]; + [self.window makeKeyAndVisible]; + return YES; +} + +@end diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-568h@2x.png b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-568h@2x.png new file mode 100644 index 0000000000..6ee80b9393 Binary files /dev/null and b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-568h@2x.png differ diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-667h@2x.png b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-667h@2x.png new file mode 100644 index 0000000000..e7b975e21b Binary files /dev/null and b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-667h@2x.png differ diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-736h@3x.png b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-736h@3x.png new file mode 100644 index 0000000000..c8949cae16 Binary files /dev/null and b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Default-736h@3x.png differ diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Info.plist b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Info.plist new file mode 100644 index 0000000000..20d72f5238 --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/Info.plist @@ -0,0 +1,36 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + $(EXECUTABLE_NAME) + CFBundleIdentifier + com.facebook.$(PRODUCT_NAME:rfc1034identifier) + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + $(PRODUCT_NAME) + CFBundlePackageType + APPL + CFBundleShortVersionString + 1.0 + CFBundleSignature + ???? + CFBundleVersion + 1 + LSRequiresIPhoneOS + + UIRequiredDeviceCapabilities + + armv7 + + UISupportedInterfaceOrientations + + UIInterfaceOrientationPortrait + UIInterfaceOrientationLandscapeLeft + UIInterfaceOrientationLandscapeRight + + + diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/ViewController.h b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/ViewController.h new file mode 100644 index 0000000000..fb7ca5f33a --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/ViewController.h @@ -0,0 +1,15 @@ +/* Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +#import + +@interface ViewController : UIViewController + + +@end + diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/ViewController.m b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/ViewController.m new file mode 100644 index 0000000000..4445a8a026 --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/ViewController.m @@ -0,0 +1,35 @@ +/* Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +#import "ViewController.h" + +#import + +@interface ViewController () { + ASTextNode *_textNode; +} + +@end + +@implementation ViewController + +- (void)viewDidLoad +{ + _textNode = [[ASTextNode alloc] init]; + _textNode.attributedString = [[NSAttributedString alloc] initWithString:@"Testing, testing."]; + [_textNode measure:self.view.bounds.size]; + _textNode.frame = (CGRect){ .origin = CGPointZero, .size = _textNode.calculatedSize }; + [self.view addSubnode:_textNode]; +} + +- (BOOL)prefersStatusBarHidden +{ + return YES; +} + +@end diff --git a/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/main.m b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/main.m new file mode 100644 index 0000000000..65c5c16fa8 --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/Life Without CocoaPods/main.m @@ -0,0 +1,16 @@ +/* Copyright (c) 2014-present, Facebook, Inc. + * All rights reserved. + * + * This source code is licensed under the BSD-style license found in the + * LICENSE file in the root directory of this source tree. An additional grant + * of patent rights can be found in the PATENTS file in the same directory. + */ + +#import +#import "AppDelegate.h" + +int main(int argc, char * argv[]) { + @autoreleasepool { + return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); + } +} diff --git a/smoke-tests/Life Without CocoaPods/README.md b/smoke-tests/Life Without CocoaPods/README.md new file mode 100644 index 0000000000..c20f63a5df --- /dev/null +++ b/smoke-tests/Life Without CocoaPods/README.md @@ -0,0 +1,14 @@ +# "Life Without CocoaPods" + +This is a very simple pseudo-"integration test" project that links against +AsyncDisplayKit manually, rather than using CocoaPods. If it fails to compile, +Travis CI builds will fail. To escape from such dire straits: + +* If you've added a new class intended for public use, make sure you added its + header to the "Public" group of the "Headers" build phase in the + AsyncDisplayKit target. Note that this smoke test will only fail if you + remembered to add your new file to the umbrella helper. + +* If you added a new framework dependency (like AssetsLibrary or Photos), add + it to this project's Link Binary With Libraries build phase and update the + project README (both README.md and docs/index.md). diff --git a/smoke-tests/README.md b/smoke-tests/README.md new file mode 100644 index 0000000000..2c0e607456 --- /dev/null +++ b/smoke-tests/README.md @@ -0,0 +1,3 @@ +# Integration tests + +See READMEs in subfolders.