├── ios ├── .npmignore ├── RNReactNativeReplaykit-Bridging-Header.h ├── RNReactNativeReplaykit.xcworkspace │ └── contents.xcworkspacedata ├── RNReactNativeReplaykit.h ├── RNReactNativeReplaykit.podspec ├── ScreenRecord │ ├── WindowUtil.swift │ ├── FileUtil.swift │ ├── ScreenRecorder.swift │ └── ScreenRecordCoordinator.swift ├── RNReactNativeReplaykit.m └── RNReactNativeReplaykit.xcodeproj │ └── project.pbxproj ├── testapp ├── .watchmanconfig ├── .gitattributes ├── app.json ├── babel.config.js ├── ios │ ├── testapp │ │ ├── Images.xcassets │ │ │ ├── Contents.json │ │ │ └── AppIcon.appiconset │ │ │ │ └── Contents.json │ │ ├── AppDelegate.h │ │ ├── main.m │ │ ├── AppDelegate.m │ │ ├── Info.plist │ │ └── Base.lproj │ │ │ └── LaunchScreen.xib │ ├── testapp-Bridging-Header.h │ ├── bridge.swift │ ├── testappTests │ │ ├── Info.plist │ │ └── testappTests.m │ ├── testapp-tvOSTests │ │ └── Info.plist │ ├── testapp-tvOS │ │ └── Info.plist │ └── testapp.xcodeproj │ │ ├── xcshareddata │ │ └── xcschemes │ │ │ ├── testapp.xcscheme │ │ │ └── testapp-tvOS.xcscheme │ │ └── project.pbxproj ├── .buckconfig ├── index.js ├── __tests__ │ └── App-test.js ├── metro.config.js ├── package.json ├── .gitignore ├── .flowconfig └── App.js ├── .gitattributes ├── createswiftfile.png ├── index.js ├── package.json ├── .gitignore ├── licences ├── RNRK └── SCREENRECORD └── README.md /ios/.npmignore: -------------------------------------------------------------------------------- 1 | testapp -------------------------------------------------------------------------------- /testapp/.watchmanconfig: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text -------------------------------------------------------------------------------- /testapp/.gitattributes: -------------------------------------------------------------------------------- 1 | *.pbxproj -text 2 | -------------------------------------------------------------------------------- /testapp/app.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testapp", 3 | "displayName": "testapp" 4 | } -------------------------------------------------------------------------------- /createswiftfile.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/code-matt/react-native-replaykit/HEAD/createswiftfile.png -------------------------------------------------------------------------------- /testapp/babel.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { 2 | presets: ['module:metro-react-native-babel-preset'], 3 | }; 4 | -------------------------------------------------------------------------------- /testapp/ios/testapp/Images.xcassets/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "info" : { 3 | "version" : 1, 4 | "author" : "xcode" 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /testapp/.buckconfig: -------------------------------------------------------------------------------- 1 | 2 | [android] 3 | target = Google Inc.:Google APIs:23 4 | 5 | [maven_repositories] 6 | central = https://repo1.maven.org/maven2 7 | -------------------------------------------------------------------------------- /testapp/ios/testapp-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | -------------------------------------------------------------------------------- /ios/RNReactNativeReplaykit-Bridging-Header.h: -------------------------------------------------------------------------------- 1 | // 2 | // Use this file to import your target's public headers that you would like to expose to Swift. 3 | // 4 | 5 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 2 | import { NativeModules } from 'react-native'; 3 | 4 | const { RNReactNativeReplaykit } = NativeModules; 5 | 6 | export default RNReactNativeReplaykit; 7 | -------------------------------------------------------------------------------- /testapp/ios/bridge.swift: -------------------------------------------------------------------------------- 1 | // 2 | // bridge.swift 3 | // testapp 4 | // 5 | // Created by Matthew Thompson on 5/24/19. 6 | // Copyright © 2019 Facebook. All rights reserved. 7 | // 8 | 9 | import Foundation 10 | -------------------------------------------------------------------------------- /testapp/index.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import {AppRegistry} from 'react-native'; 6 | import App from './App'; 7 | import {name as appName} from './app.json'; 8 | 9 | AppRegistry.registerComponent(appName, () => App); 10 | -------------------------------------------------------------------------------- /ios/RNReactNativeReplaykit.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | 3 | 5 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /testapp/__tests__/App-test.js: -------------------------------------------------------------------------------- 1 | /** 2 | * @format 3 | */ 4 | 5 | import 'react-native'; 6 | import React from 'react'; 7 | import App from '../App'; 8 | 9 | // Note: test renderer must be required after react-native. 10 | import renderer from 'react-test-renderer'; 11 | 12 | it('renders correctly', () => { 13 | renderer.create(); 14 | }); 15 | -------------------------------------------------------------------------------- /testapp/metro.config.js: -------------------------------------------------------------------------------- 1 | /** 2 | * Metro configuration for React Native 3 | * https://github.com/facebook/react-native 4 | * 5 | * @format 6 | */ 7 | 8 | module.exports = { 9 | transformer: { 10 | getTransformOptions: async () => ({ 11 | transform: { 12 | experimentalImportSupport: false, 13 | inlineRequires: false, 14 | }, 15 | }) 16 | }, 17 | }; -------------------------------------------------------------------------------- /testapp/ios/testapp/AppDelegate.h: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (nonatomic, strong) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /testapp/ios/testapp/main.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "react-native-replaykit", 3 | "version": "1.1.0", 4 | "description": "A React Native module to access ReplayKit Screen Recording Framework on iOS", 5 | "main": "index.js", 6 | "license": "MIT", 7 | "scripts": { 8 | "test": "echo \"Error: no test specified\" && exit 1" 9 | }, 10 | "repository": { 11 | "type": "git", 12 | "url": "https://github.com/code-matt/react-native-replaykit" 13 | }, 14 | "keywords": [ 15 | "react-native replaykit screenrecord ios" 16 | ], 17 | "author": "Matt Thompson", 18 | "peerDependencies": { 19 | "react-native": "0.57.5" 20 | } 21 | } 22 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | # OSX 3 | # 4 | .DS_Store 5 | 6 | # node.js 7 | # 8 | node_modules/ 9 | npm-debug.log 10 | yarn-error.log 11 | 12 | 13 | # Xcode 14 | # 15 | build/ 16 | *.pbxuser 17 | !default.pbxuser 18 | *.mode1v3 19 | !default.mode1v3 20 | *.mode2v3 21 | !default.mode2v3 22 | *.perspectivev3 23 | !default.perspectivev3 24 | xcuserdata 25 | *.xccheckout 26 | *.moved-aside 27 | DerivedData 28 | *.hmap 29 | *.ipa 30 | *.xcuserstate 31 | project.xcworkspace 32 | 33 | 34 | # Android/IntelliJ 35 | # 36 | build/ 37 | .idea 38 | .gradle 39 | local.properties 40 | *.iml 41 | 42 | # BUCK 43 | buck-out/ 44 | \.buckd/ 45 | *.keystore 46 | -------------------------------------------------------------------------------- /ios/RNReactNativeReplaykit.h: -------------------------------------------------------------------------------- 1 | // Created by Matt Thompson on 9/14/18. 2 | // MIT Licence. 3 | 4 | #if __has_include("RCTBridgeModule.h") 5 | #import "RCTBridgeModule.h" 6 | #else 7 | #import 8 | #endif 9 | 10 | #import 11 | #import "RNReactNativeReplaykit-Swift.h" 12 | 13 | 14 | @interface RNReactNativeReplaykit : NSObject 15 | 16 | @property (strong, nonatomic) RPScreenRecorder *screenRecorder; 17 | @property (strong, nonatomic) RPPreviewViewController *previewViewController; 18 | @property (strong, nonatomic) ScreenRecordCoordinator *screenRecordCoordinator; 19 | 20 | @end 21 | 22 | -------------------------------------------------------------------------------- /testapp/package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "testapp", 3 | "version": "0.0.1", 4 | "private": true, 5 | "scripts": { 6 | "start": "node node_modules/react-native/local-cli/cli.js start", 7 | "test": "jest", 8 | "watch-modules": "rn-link ../" 9 | }, 10 | "dependencies": { 11 | "react": "16.8.3", 12 | "react-native": "0.59.8", 13 | "react-native-replaykit": "^1.1.0" 14 | }, 15 | "devDependencies": { 16 | "@babel/core": "7.4.5", 17 | "@babel/runtime": "7.4.5", 18 | "babel-jest": "24.8.0", 19 | "jest": "24.8.0", 20 | "metro-react-native-babel-preset": "0.54.1", 21 | "react-native-yunolink": "^2.2.0", 22 | "react-test-renderer": "16.8.3" 23 | }, 24 | "jest": { 25 | "preset": "react-native" 26 | } 27 | } 28 | -------------------------------------------------------------------------------- /ios/RNReactNativeReplaykit.podspec: -------------------------------------------------------------------------------- 1 | 2 | Pod::Spec.new do |s| 3 | s.name = "RNReactNativeReplaykit" 4 | s.version = "1.0.0" 5 | s.summary = "RNReactNativeReplaykit" 6 | s.description = <<-DESC 7 | RNReactNativeReplaykit 8 | DESC 9 | s.homepage = "" 10 | s.license = "MIT" 11 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" } 12 | s.author = { "author" => "author@domain.cn" } 13 | s.platform = :ios, "7.0" 14 | s.source = { :git => "https://github.com/author/RNReactNativeReplaykit.git", :tag => "master" } 15 | s.source_files = "RNReactNativeReplaykit/**/*.{h,m}" 16 | s.requires_arc = true 17 | 18 | 19 | s.dependency "React" 20 | #s.dependency "others" 21 | 22 | end 23 | 24 | -------------------------------------------------------------------------------- /testapp/ios/testapp/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /testapp/ios/testappTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /testapp/ios/testapp-tvOSTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /testapp/.gitignore: -------------------------------------------------------------------------------- 1 | # OSX 2 | # 3 | .DS_Store 4 | 5 | # Xcode 6 | # 7 | build/ 8 | *.pbxuser 9 | !default.pbxuser 10 | *.mode1v3 11 | !default.mode1v3 12 | *.mode2v3 13 | !default.mode2v3 14 | *.perspectivev3 15 | !default.perspectivev3 16 | xcuserdata 17 | *.xccheckout 18 | *.moved-aside 19 | DerivedData 20 | *.hmap 21 | *.ipa 22 | *.xcuserstate 23 | project.xcworkspace 24 | 25 | # Android/IntelliJ 26 | # 27 | build/ 28 | .idea 29 | .gradle 30 | local.properties 31 | *.iml 32 | 33 | # node.js 34 | # 35 | node_modules/ 36 | npm-debug.log 37 | yarn-error.log 38 | 39 | # BUCK 40 | buck-out/ 41 | \.buckd/ 42 | *.keystore 43 | 44 | # fastlane 45 | # 46 | # It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 47 | # screenshots whenever they are needed. 48 | # For more information about the recommended setup visit: 49 | # https://docs.fastlane.tools/best-practices/source-control/ 50 | 51 | */fastlane/report.xml 52 | */fastlane/Preview.html 53 | */fastlane/screenshots 54 | 55 | # Bundle artifact 56 | *.jsbundle 57 | -------------------------------------------------------------------------------- /licences/RNRK: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2018 Matt Thompson 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /licences/SCREENRECORD: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2017 Giridhar 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /testapp/ios/testapp/AppDelegate.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import "AppDelegate.h" 9 | 10 | #import 11 | #import 12 | #import 13 | 14 | @implementation AppDelegate 15 | 16 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 17 | { 18 | RCTBridge *bridge = [[RCTBridge alloc] initWithDelegate:self launchOptions:launchOptions]; 19 | RCTRootView *rootView = [[RCTRootView alloc] initWithBridge:bridge 20 | moduleName:@"testapp" 21 | initialProperties:nil]; 22 | 23 | rootView.backgroundColor = [[UIColor alloc] initWithRed:1.0f green:1.0f blue:1.0f alpha:1]; 24 | 25 | self.window = [[UIWindow alloc] initWithFrame:[UIScreen mainScreen].bounds]; 26 | UIViewController *rootViewController = [UIViewController new]; 27 | rootViewController.view = rootView; 28 | self.window.rootViewController = rootViewController; 29 | [self.window makeKeyAndVisible]; 30 | return YES; 31 | } 32 | 33 | - (NSURL *)sourceURLForBridge:(RCTBridge *)bridge 34 | { 35 | #if DEBUG 36 | return [[RCTBundleURLProvider sharedSettings] jsBundleURLForBundleRoot:@"index" fallbackResource:nil]; 37 | #else 38 | return [[NSBundle mainBundle] URLForResource:@"main" withExtension:@"jsbundle"]; 39 | #endif 40 | } 41 | 42 | @end 43 | -------------------------------------------------------------------------------- /testapp/ios/testapp/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | testapp 9 | CFBundleExecutable 10 | $(EXECUTABLE_NAME) 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | $(PRODUCT_NAME) 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1 25 | LSRequiresIPhoneOS 26 | 27 | NSAppTransportSecurity 28 | 29 | NSAllowsArbitraryLoads 30 | 31 | NSExceptionDomains 32 | 33 | localhost 34 | 35 | NSExceptionAllowsInsecureHTTPLoads 36 | 37 | 38 | 39 | 40 | NSLocationWhenInUseUsageDescription 41 | 42 | UILaunchStoryboardName 43 | LaunchScreen 44 | UIRequiredDeviceCapabilities 45 | 46 | armv7 47 | 48 | UISupportedInterfaceOrientations 49 | 50 | UIInterfaceOrientationPortrait 51 | UIInterfaceOrientationLandscapeLeft 52 | UIInterfaceOrientationLandscapeRight 53 | 54 | UIViewControllerBasedStatusBarAppearance 55 | 56 | 57 | 58 | -------------------------------------------------------------------------------- /testapp/ios/testapp-tvOS/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIRequiredDeviceCapabilities 28 | 29 | armv7 30 | 31 | UISupportedInterfaceOrientations 32 | 33 | UIInterfaceOrientationPortrait 34 | UIInterfaceOrientationLandscapeLeft 35 | UIInterfaceOrientationLandscapeRight 36 | 37 | UIViewControllerBasedStatusBarAppearance 38 | 39 | NSLocationWhenInUseUsageDescription 40 | 41 | NSAppTransportSecurity 42 | 43 | 44 | NSExceptionDomains 45 | 46 | localhost 47 | 48 | NSExceptionAllowsInsecureHTTPLoads 49 | 50 | 51 | 52 | 53 | 54 | 55 | -------------------------------------------------------------------------------- /testapp/ios/testappTests/testappTests.m: -------------------------------------------------------------------------------- 1 | /** 2 | * Copyright (c) Facebook, Inc. and its affiliates. 3 | * 4 | * This source code is licensed under the MIT license found in the 5 | * LICENSE file in the root directory of this source tree. 6 | */ 7 | 8 | #import 9 | #import 10 | 11 | #import 12 | #import 13 | 14 | #define TIMEOUT_SECONDS 600 15 | #define TEXT_TO_LOOK_FOR @"Welcome to React Native!" 16 | 17 | @interface testappTests : XCTestCase 18 | 19 | @end 20 | 21 | @implementation testappTests 22 | 23 | - (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test 24 | { 25 | if (test(view)) { 26 | return YES; 27 | } 28 | for (UIView *subview in [view subviews]) { 29 | if ([self findSubviewInView:subview matching:test]) { 30 | return YES; 31 | } 32 | } 33 | return NO; 34 | } 35 | 36 | - (void)testRendersWelcomeScreen 37 | { 38 | UIViewController *vc = [[[RCTSharedApplication() delegate] window] rootViewController]; 39 | NSDate *date = [NSDate dateWithTimeIntervalSinceNow:TIMEOUT_SECONDS]; 40 | BOOL foundElement = NO; 41 | 42 | __block NSString *redboxError = nil; 43 | RCTSetLogFunction(^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) { 44 | if (level >= RCTLogLevelError) { 45 | redboxError = message; 46 | } 47 | }); 48 | 49 | while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) { 50 | [[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 51 | [[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]]; 52 | 53 | foundElement = [self findSubviewInView:vc.view matching:^BOOL(UIView *view) { 54 | if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) { 55 | return YES; 56 | } 57 | return NO; 58 | }]; 59 | } 60 | 61 | RCTSetLogFunction(RCTDefaultLogFunction); 62 | 63 | XCTAssertNil(redboxError, @"RedBox error: %@", redboxError); 64 | XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS); 65 | } 66 | 67 | 68 | @end 69 | -------------------------------------------------------------------------------- /testapp/.flowconfig: -------------------------------------------------------------------------------- 1 | [ignore] 2 | ; We fork some components by platform 3 | .*/*[.]android.js 4 | 5 | ; Ignore "BUCK" generated dirs 6 | /\.buckd/ 7 | 8 | ; Ignore unexpected extra "@providesModule" 9 | .*/node_modules/.*/node_modules/fbjs/.* 10 | 11 | ; Ignore duplicate module providers 12 | ; For RN Apps installed via npm, "Libraries" folder is inside 13 | ; "node_modules/react-native" but in the source repo it is in the root 14 | .*/Libraries/react-native/React.js 15 | 16 | ; Ignore polyfills 17 | .*/Libraries/polyfills/.* 18 | 19 | ; Ignore metro 20 | .*/node_modules/metro/.* 21 | 22 | [include] 23 | 24 | [libs] 25 | node_modules/react-native/Libraries/react-native/react-native-interface.js 26 | node_modules/react-native/flow/ 27 | 28 | [options] 29 | emoji=true 30 | 31 | esproposal.optional_chaining=enable 32 | esproposal.nullish_coalescing=enable 33 | 34 | module.system=haste 35 | module.system.haste.use_name_reducers=true 36 | # get basename 37 | module.system.haste.name_reducers='^.*/\([a-zA-Z0-9$_.-]+\.js\(\.flow\)?\)$' -> '\1' 38 | # strip .js or .js.flow suffix 39 | module.system.haste.name_reducers='^\(.*\)\.js\(\.flow\)?$' -> '\1' 40 | # strip .ios suffix 41 | module.system.haste.name_reducers='^\(.*\)\.ios$' -> '\1' 42 | module.system.haste.name_reducers='^\(.*\)\.android$' -> '\1' 43 | module.system.haste.name_reducers='^\(.*\)\.native$' -> '\1' 44 | module.system.haste.paths.blacklist=.*/__tests__/.* 45 | module.system.haste.paths.blacklist=.*/__mocks__/.* 46 | module.system.haste.paths.blacklist=/node_modules/react-native/Libraries/Animated/src/polyfills/.* 47 | module.system.haste.paths.whitelist=/node_modules/react-native/Libraries/.* 48 | 49 | munge_underscores=true 50 | 51 | module.name_mapper='^[./a-zA-Z0-9$_-]+\.\(bmp\|gif\|jpg\|jpeg\|png\|psd\|svg\|webp\|m4v\|mov\|mp4\|mpeg\|mpg\|webm\|aac\|aiff\|caf\|m4a\|mp3\|wav\|html\|pdf\)$' -> 'RelativeImageStub' 52 | 53 | module.file_ext=.js 54 | module.file_ext=.jsx 55 | module.file_ext=.json 56 | module.file_ext=.native.js 57 | 58 | suppress_type=$FlowIssue 59 | suppress_type=$FlowFixMe 60 | suppress_type=$FlowFixMeProps 61 | suppress_type=$FlowFixMeState 62 | 63 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixMe\\($\\|[^(]\\|(\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\) 64 | suppress_comment=\\(.\\|\n\\)*\\$FlowIssue\\((\\(\\)? *\\(site=[a-z,_]*react_native[a-z,_]*\\)?)\\)?:? #[0-9]+ 65 | suppress_comment=\\(.\\|\n\\)*\\$FlowFixedInNextDeploy 66 | suppress_comment=\\(.\\|\n\\)*\\$FlowExpectedError 67 | 68 | [version] 69 | ^0.92.0 70 | -------------------------------------------------------------------------------- /ios/ScreenRecord/WindowUtil.swift: -------------------------------------------------------------------------------- 1 | // Created by Giridhar on 21/06/17. 2 | // MIT Licence. 3 | // Modified By: [ 4 | // Matt Thompson 9/14/18 5 | //] 6 | 7 | import Foundation 8 | import UIKit 9 | import AVKit 10 | 11 | protocol Overlayable 12 | { 13 | func show() 14 | func hide() 15 | } 16 | 17 | class WindowUtil: Overlayable 18 | { 19 | var overlayWindow = UIWindow(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 30)) 20 | var stopButton = UIButton(type: UIButton.ButtonType.custom) 21 | var stopButtonColor = UIColor(red:0.30, green:0.67, blue:0.99, alpha:1.00) 22 | var onStopClick:(() -> ())? 23 | 24 | init () 25 | { 26 | self.setupViews() 27 | } 28 | 29 | func initViews() 30 | { 31 | overlayWindow = UIWindow(frame: CGRect(x: 0, y: 0, width: UIScreen.main.bounds.width, height: 30)) 32 | stopButton = UIButton(type: UIButton.ButtonType.custom) 33 | } 34 | 35 | func hide() 36 | { 37 | DispatchQueue.main.async { 38 | 39 | UIView.animate(withDuration: 0.3, animations: { 40 | self.stopButton.transform = CGAffineTransform(translationX:0, y: -30) 41 | }, completion: { (animated) in 42 | self.overlayWindow.backgroundColor = .clear 43 | self.overlayWindow.isHidden = true 44 | self.stopButton.isHidden = true 45 | self.stopButton.transform = CGAffineTransform.identity; 46 | }) 47 | 48 | } 49 | 50 | } 51 | 52 | func setupViews () 53 | { 54 | initViews() 55 | stopButton.setTitle("Stop Recording", for: .normal) 56 | stopButton.titleLabel?.font = UIFont.systemFont(ofSize: UIFont.smallSystemFontSize) 57 | 58 | stopButton.addTarget(self, action: #selector(stopRecording), for: UIControl.Event.touchDown) 59 | 60 | 61 | 62 | stopButton.frame = overlayWindow.frame 63 | overlayWindow.addSubview(stopButton) 64 | overlayWindow.windowLevel = UIWindow.Level(rawValue: CGFloat.greatestFiniteMagnitude) 65 | 66 | } 67 | 68 | 69 | @objc func stopRecording() 70 | { 71 | onStopClick?() 72 | } 73 | 74 | func show() 75 | { 76 | DispatchQueue.main.async { 77 | self.stopButton.isHidden = false 78 | self.stopButton.transform = CGAffineTransform(translationX: 0, y: -30) 79 | self.stopButton.backgroundColor = self.stopButtonColor 80 | self.overlayWindow.makeKeyAndVisible() 81 | UIView.animate(withDuration: 0.3, animations: { 82 | self.stopButton.transform = CGAffineTransform.identity 83 | }, completion: { (animated) in 84 | 85 | }) 86 | } 87 | 88 | } 89 | } 90 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ### MIT Licence 2 | 3 | # react-native-replaykit 4 | 5 | ## Getting started 6 | 7 | `$ npm install react-native-replaykit --save` 8 | 9 | ### Mostly automatic installation 10 | 11 | `$ react-native link react-native-replaykit` 12 | 13 | ### Manual installation 14 | 15 | #### iOS 16 | 17 | 1. In XCode, in the project navigator, right click `Libraries` ➜ `Add Files to [your project's name]` 18 | 2. Go to `node_modules` ➜ `react-native-replaykit` and add `RNReactNativeReplaykit.xcodeproj` 19 | 3. In XCode, in the project navigator, select your project. Add `libRNReactNativeReplaykit.a` to your project's `Build Phases` ➜ `Link Binary With Libraries` 20 | 4. Run your project (`Cmd+R`)< 21 | 22 | ### Manual installation continued (required after manual installation or linking) 23 | 24 | ![](createswiftfile.png) 25 | 26 | Create a swift file in your main project (if anyone knows a better way to get the auto generated swift build settings to show up, plese open an issue). If you delete this swift file or bridging header, the build settings needed will go away and build fail. 'Objecttive-C Generated Interface Header Name'. 27 | 28 | 29 | ### Usage 30 | # !! This module does not work in simulator !! 31 | **Take a look at testapp/App.js for full example of start, stop, preview, copy and delete** 32 | ``` 33 | import RNRK from 'react-native-replaykit' 34 | 35 | RNRK.initialize({ 36 | showOverlay: true // you must pass true or false for this option. It determines if a blue overlay will show up at the top of the screen that will indicate recording but not show up in the actual screen recording. 37 | }) // you need to call this before using RNRK and only once during app's life. 38 | 39 | RNRK.startRecording((recordings, error) => console.log(recordings)) // starts the recording. The callback is fired when the recording is completed. 40 | 41 | RNRK.stopRecording(recordings => console.log(recordings)) // stops the recording and saves it <- Same as pressing Stop in blue bar up top 42 | 43 | RNRK.getRecordings(recordings => console.log(recordings)) get all recordings stored in the app's Documents/Replays folder. 44 | 45 | RNRK.previewRecording(path) // open a recording for trimming in the native editor.. save will replace the file, cancel just dismiss the editor. 46 | 47 | RNRK.copyRecording(recordingPath, (recordings, copyPath) => { 48 | console.log(recordings) // the array of all your recordings 49 | console.log(copyPath) // the new path of the recording you just made by copying another 50 | }) 51 | 52 | RNRK.deleteRecording(recordingPath, (recordings, deletedPath) => { 53 | console.log(recordings) // the array of all your recordings 54 | console.log(deletedPath) // the path of the recording just deleted 55 | }) 56 | ``` 57 | 58 | ## Contributing 59 | If you find a bug or would like to request a new feature, open an issue. 60 | Your contributions are always welcome! Fork the project and Submit a pull request to the **dev** branch. 61 | 62 | ## TODO 63 | * Thumbnail previews being generated and stored at stopRecording. [Objects] with video path and thumbnail path being returned for recordings 64 | * Utility for editing multiple saved clips into one and being able to sort them however desired and preview that result 65 | * Utilities for ReplayKit's Broadcasting ability 66 | 67 | 68 | -------------------------------------------------------------------------------- /ios/ScreenRecord/FileUtil.swift: -------------------------------------------------------------------------------- 1 | // Created by Giridhar on 20/06/17. 2 | // MIT Licence. 3 | // Modified By: [ 4 | // Matt Thompson 9/14/18 5 | //] 6 | 7 | 8 | import Foundation 9 | 10 | @objc public class ReplayFileUtil:NSObject 11 | { 12 | class func createReplaysFolder() 13 | { 14 | // path to documents directory 15 | let documentDirectoryPath = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true).first 16 | if let documentDirectoryPath = documentDirectoryPath { 17 | // create the custom folder path 18 | let replayDirectoryPath = documentDirectoryPath.appending("/Replays") 19 | let fileManager = FileManager.default 20 | if !fileManager.fileExists(atPath: replayDirectoryPath) { 21 | print("Creating replays dir...") 22 | do { 23 | try fileManager.createDirectory(atPath: replayDirectoryPath, 24 | withIntermediateDirectories: false, 25 | attributes: nil) 26 | 27 | } catch { 28 | print("Error creating Replays folder in documents dir: \(error)") 29 | } 30 | } 31 | } 32 | } 33 | 34 | class func replaceItem(at dstURL: URL, with srcURL: URL) { 35 | do { 36 | try FileManager.default.removeItem(at: dstURL) 37 | self.copyItem(at: srcURL, to: dstURL) 38 | } catch let error as NSError { 39 | print(error.localizedDescription) 40 | } 41 | } 42 | 43 | class func copyItem(at srcURL: URL, to dstURL: URL) { 44 | do { 45 | try FileManager.default.copyItem(at: srcURL, to: dstURL) 46 | } catch let error as NSError { 47 | if error.code == NSFileWriteFileExistsError { 48 | print("File exists. Trying to replace") 49 | self.replaceItem(at: dstURL, with: srcURL) 50 | } 51 | } 52 | } 53 | 54 | class func deleteItem(at url: URL) { 55 | do { 56 | try FileManager.default.removeItem(at: url) 57 | } catch let error as NSError { 58 | print("Error deleting file!") 59 | } 60 | } 61 | 62 | class func filePath(_ fileName: String) -> String 63 | { 64 | createReplaysFolder() 65 | let paths = NSSearchPathForDirectoriesInDomains(.documentDirectory, .userDomainMask, true) 66 | let documentsDirectory = paths[0] as String 67 | let filePath : String = "\(documentsDirectory)/Replays/\(fileName).mp4" 68 | return filePath 69 | } 70 | 71 | class func fetchAllReplays() -> Array 72 | { 73 | let documentsDirectory = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask).first 74 | let replayPath = documentsDirectory?.appendingPathComponent("/Replays") 75 | let directoryContents = try! FileManager.default.contentsOfDirectory(at: replayPath!, includingPropertiesForKeys: nil, options: []) 76 | let urls = directoryContents.map({ 77 | (url: URL) -> String in 78 | return url.relativePath 79 | }).sorted(by: >); 80 | return urls; 81 | } 82 | } 83 | 84 | -------------------------------------------------------------------------------- /ios/ScreenRecord/ScreenRecorder.swift: -------------------------------------------------------------------------------- 1 | // Created by Giridhar on 09/06/17. 2 | // MIT Licence. 3 | // Modified By: [ 4 | // Matt Thompson 9/14/18 5 | //] 6 | 7 | import Foundation 8 | import ReplayKit 9 | import AVKit 10 | 11 | 12 | 13 | @objc class ScreenRecorder:NSObject 14 | { 15 | var assetWriter:AVAssetWriter! 16 | var videoInput:AVAssetWriterInput! 17 | 18 | let viewOverlay = WindowUtil() 19 | 20 | //MARK: Screen Recording 21 | public func startRecording(withFileName fileName: String, recordingHandler:@escaping (Error?)-> Void) 22 | { 23 | if #available(iOS 11.0, *) 24 | { 25 | let fileURL = URL(fileURLWithPath: ReplayFileUtil.filePath(fileName)) 26 | assetWriter = try! AVAssetWriter(outputURL: fileURL, fileType: 27 | AVFileType.mp4) 28 | let videoOutputSettings: Dictionary = [ 29 | AVVideoCodecKey : AVVideoCodecType.h264, 30 | AVVideoWidthKey : UIScreen.main.bounds.size.width, 31 | AVVideoHeightKey : UIScreen.main.bounds.size.height 32 | ]; 33 | 34 | videoInput = AVAssetWriterInput (mediaType: AVMediaType.video, outputSettings: videoOutputSettings) 35 | videoInput.expectsMediaDataInRealTime = true 36 | assetWriter.add(videoInput) 37 | // RPScreenRecorder.shared(). 38 | RPScreenRecorder.shared().startCapture(handler: { (sample, bufferType, error) in 39 | // print(sample,bufferType,error) 40 | 41 | recordingHandler(error) 42 | 43 | if CMSampleBufferDataIsReady(sample) 44 | { 45 | if self.assetWriter.status == AVAssetWriter.Status.unknown 46 | { 47 | self.assetWriter.startWriting() 48 | self.assetWriter.startSession(atSourceTime: CMSampleBufferGetPresentationTimeStamp(sample)) 49 | } 50 | 51 | if self.assetWriter.status == AVAssetWriter.Status.failed { 52 | print("Error occured, status = \(self.assetWriter.status.rawValue), \(self.assetWriter.error!.localizedDescription) \(String(describing: self.assetWriter.error))") 53 | return 54 | } 55 | 56 | if (bufferType == .video) 57 | { 58 | if self.videoInput.isReadyForMoreMediaData 59 | { 60 | self.videoInput.append(sample) 61 | } 62 | } 63 | } 64 | 65 | }) { (error) in 66 | recordingHandler(error) 67 | // debugPrint(error) 68 | } 69 | } else 70 | { 71 | // Fallback on earlier versions 72 | } 73 | } 74 | 75 | public func stopRecording(handler: @escaping (Error?) -> Void) 76 | { 77 | if #available(iOS 11.0, *) 78 | { 79 | RPScreenRecorder.shared().stopCapture { (Error) in 80 | self.assetWriter.finishWriting { 81 | print(ReplayFileUtil.fetchAllReplays()) 82 | } 83 | } 84 | } else { 85 | // Fallback on earlier versions 86 | } 87 | } 88 | 89 | 90 | } 91 | 92 | 93 | -------------------------------------------------------------------------------- /ios/RNReactNativeReplaykit.m: -------------------------------------------------------------------------------- 1 | // Created by Matt Thompson on 9/14/18. 2 | // MIT Licence. 3 | 4 | #import "RNReactNativeReplaykit.h" 5 | #import 6 | #import 7 | 8 | #import "RNReactNativeReplaykit-Swift.h" 9 | 10 | @implementation RNReactNativeReplaykit 11 | 12 | 13 | - (dispatch_queue_t)methodQueue 14 | { 15 | return dispatch_get_main_queue(); 16 | } 17 | 18 | RCT_EXPORT_METHOD(initialize: (NSDictionary *)config) 19 | { 20 | BOOL showOverlay = [RCTConvert BOOL: config[@"showOverlay"]]; 21 | self.screenRecordCoordinator = [[ScreenRecordCoordinator alloc] initWithShowOverlay:showOverlay]; 22 | [ReplayFileUtil createReplaysFolder]; 23 | } 24 | 25 | RCT_EXPORT_METHOD(startRecording:(RCTResponseSenderBlock)callback) 26 | { 27 | NSTimeInterval timeStamp = [[NSDate date] timeIntervalSince1970]; 28 | NSNumber *timeStampObj = [NSNumber numberWithInteger: [[NSNumber numberWithDouble: timeStamp] integerValue] ]; 29 | NSMutableString *fileName = [[NSMutableString alloc] initWithString:@"Recording-"]; 30 | [fileName appendString: [timeStampObj stringValue]]; 31 | 32 | [self.screenRecordCoordinator 33 | startRecordingWithFileName:fileName 34 | recordingHandler:^(NSError *error) { 35 | if(error) 36 | { 37 | callback(@[[NSNull null], error.localizedDescription]); 38 | } 39 | } 40 | onCompletion:^(NSError *error) { 41 | if(error) 42 | { 43 | callback(@[[NSNull null], error.localizedDescription]); 44 | } else { 45 | NSArray *recordings = [self.screenRecordCoordinator listAllReplays]; 46 | callback(@[recordings, [NSNull null]]); 47 | } 48 | }]; 49 | } 50 | 51 | RCT_EXPORT_METHOD(deleteRecording:(NSString *)path callback:(RCTResponseSenderBlock)callback) 52 | { 53 | [self.screenRecordCoordinator removeRecordingWithFilePath:path]; 54 | NSArray *recordings = [self.screenRecordCoordinator listAllReplays]; 55 | callback(@[recordings, path]); 56 | } 57 | 58 | RCT_EXPORT_METHOD(copyRecording:(NSString *)path callback:(RCTResponseSenderBlock)callback) 59 | { 60 | static NSString *letters = @"abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789"; 61 | NSMutableString *randomString = [NSMutableString stringWithCapacity: 15]; 62 | for (int i=0; i<15; i++) { 63 | [randomString appendFormat: @"%C", [letters characterAtIndex: arc4random() % [letters length]]]; 64 | } 65 | 66 | NSString *newPath = [[NSString stringWithFormat:@"%@/%@", 67 | [path stringByDeletingLastPathComponent], randomString] 68 | stringByAppendingPathExtension:[path pathExtension]]; 69 | 70 | [self.screenRecordCoordinator copyRecordingWithFilePath:path destFileURL:newPath]; 71 | NSArray *recordings = [self.screenRecordCoordinator listAllReplays]; 72 | 73 | callback(@[recordings, newPath]); 74 | } 75 | 76 | RCT_EXPORT_METHOD(getRecordings:(RCTResponseSenderBlock)callback) 77 | { 78 | NSArray *recordings = [self.screenRecordCoordinator listAllReplays]; 79 | callback(@[recordings]); 80 | } 81 | 82 | RCT_EXPORT_METHOD(stopRecording:(RCTResponseSenderBlock)callback) 83 | { 84 | [self.screenRecordCoordinator stopRecording]; 85 | NSArray *recordings = [self.screenRecordCoordinator listAllReplays]; 86 | callback(@[recordings]); 87 | 88 | } 89 | 90 | RCT_EXPORT_METHOD(previewRecording:(NSString *)path) 91 | { 92 | [self.screenRecordCoordinator previewRecordingWithFileName:path]; 93 | } 94 | 95 | 96 | 97 | RCT_EXPORT_MODULE() 98 | 99 | @end 100 | 101 | -------------------------------------------------------------------------------- /testapp/ios/testapp/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 21 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | -------------------------------------------------------------------------------- /testapp/App.js: -------------------------------------------------------------------------------- 1 | 2 | import { StyleSheet, Text, View, TouchableOpacity, ListView } from 'react-native'; 3 | import RNRK from 'react-native-replaykit'; 4 | import React from 'react' 5 | 6 | RNRK.initialize({ 7 | showOverlay: true 8 | }); 9 | 10 | export default class HomeScreen extends React.Component { 11 | 12 | state = { 13 | recordings: [] 14 | } 15 | 16 | constructor (props) { 17 | super(props) 18 | this.ds = new ListView.DataSource({rowHasChanged: (r1, r2) => true}); 19 | this.state = { 20 | recordings: this.ds.cloneWithRows([]) 21 | }; 22 | } 23 | 24 | componentDidMount () { 25 | RNRK.getRecordings((recordings) => { 26 | this.updateRecordings(recordings) 27 | }) 28 | } 29 | 30 | updateRecordings = (recordings) => { 31 | this.setState({ recordings: this.ds.cloneWithRows(recordings) }) 32 | } 33 | 34 | doRecord = () => { 35 | console.log("Start pressed"); 36 | RNRK.startRecording((recordings, error) => { 37 | console.log(error) 38 | console.log(recordings) 39 | console.log("Start Recording Finished"); 40 | }); 41 | } 42 | 43 | stopRecord = () => { 44 | RNRK.stopRecording(recordings => { 45 | console.log("Stop recording finished, number of recordings: ", recordings.length); 46 | console.log(recordings) 47 | this.updateRecordings(recordings) 48 | }); 49 | console.log("Stop pressed"); 50 | } 51 | 52 | renderRecordingListItem = (data) => { 53 | return ( 54 | 55 | RNRK.previewRecording(data)} style={{flex: 1}}> 56 | 57 | 58 | {data} 59 | 60 | 61 | 62 | RNRK.deleteRecording(data, (recordings, deletedRecording) => { 63 | this.updateRecordings(recordings) 64 | })}> 65 | 66 | 67 | Delete 68 | 69 | 70 | 71 | RNRK.copyRecording(data, (recordings, newRecordingPath) => { 72 | this.updateRecordings(recordings) 73 | })}> 74 | 75 | 76 | Copy 77 | 78 | 79 | 80 | 81 | ) 82 | } 83 | 84 | renderButton = (text, onPress) => { 85 | return ( 86 | 87 | {text} 88 | 89 | ) 90 | } 91 | 92 | render() { 93 | return ( 94 | 95 | 96 | {this.renderButton('Record', this.doRecord)} 97 | {this.renderButton('Stop', this.stopRecord)} 98 | 99 | 100 | this.renderRecordingListItem(data)} 105 | /> 106 | 107 | ); 108 | } 109 | } 110 | 111 | const styles = StyleSheet.create({ 112 | listContainer: { 113 | // flex: 1, 114 | // justifyContent: 'center', 115 | alignItems: 'center', 116 | backgroundColor: '#F5FCFF', 117 | width: '100%' 118 | }, 119 | buttonContainer: { 120 | marginTop: 100 121 | }, 122 | recordingItemContainer: { 123 | width: 300, 124 | backgroundColor: 'red', 125 | marginBottom: 20, 126 | flexDirection: 'row' 127 | }, 128 | welcome: { 129 | fontSize: 20, 130 | textAlign: 'center', 131 | margin: 10, 132 | }, 133 | instructions: { 134 | textAlign: 'center', 135 | color: '#333333', 136 | marginBottom: 5, 137 | }, 138 | button: { 139 | padding: 20 140 | } 141 | }); -------------------------------------------------------------------------------- /ios/ScreenRecord/ScreenRecordCoordinator.swift: -------------------------------------------------------------------------------- 1 | // Created by Giridhar on 21/06/17. 2 | // MIT Licence. 3 | // Modified By: [ 4 | // Matt Thompson 9/14/18 5 | //] 6 | 7 | import Foundation 8 | import AVKit 9 | 10 | @objc class ScreenRecordCoordinator: NSObject 11 | { 12 | let viewOverlay = WindowUtil() 13 | let screenRecorder = ScreenRecorder() 14 | var recordCompleted:((Error?) ->Void)? 15 | let previewDelegateView = PreviewDelegateView() 16 | var showOverlay: Bool? 17 | 18 | init(showOverlay: Bool) 19 | { 20 | super.init() 21 | self.showOverlay = showOverlay 22 | 23 | viewOverlay.onStopClick = { 24 | self.stopRecording() 25 | } 26 | } 27 | 28 | func startRecording(withFileName fileName: String, recordingHandler: @escaping (Error?) -> Void,onCompletion: @escaping (Error?)->Void) 29 | { 30 | if (self.showOverlay!) { 31 | self.viewOverlay.show() 32 | } 33 | screenRecorder.startRecording(withFileName: fileName) { (error) in 34 | recordingHandler(error) 35 | self.recordCompleted = onCompletion 36 | } 37 | } 38 | 39 | func stopRecording() 40 | { 41 | if (self.showOverlay!) { 42 | self.viewOverlay.hide() 43 | } 44 | screenRecorder.stopRecording { (error) in 45 | self.recordCompleted?(error) 46 | } 47 | } 48 | 49 | func removeRecording(withFilePath fileURL: String) 50 | { 51 | ReplayFileUtil.deleteItem(at: URL(fileURLWithPath: fileURL)) 52 | } 53 | 54 | func copyRecording(withFilePath fileURL: String, destFileURL: String) 55 | { 56 | ReplayFileUtil.copyItem(at: URL(fileURLWithPath: fileURL), to: URL(fileURLWithPath: destFileURL)) 57 | } 58 | 59 | func previewRecording (withFileName fileURL: String) { 60 | if UIVideoEditorController.canEditVideo(atPath: fileURL) { 61 | previewDelegateView.setCoordinator(coordinator: self) 62 | let rootView = UIApplication.getTopMostViewController() 63 | let editController = UIVideoEditorController() 64 | editController.videoPath = fileURL 65 | editController.delegate = previewDelegateView 66 | rootView?.present(editController, animated: true, completion: nil) 67 | } else { 68 | // handle error with onPreviewError config or something that is one of the init config options 69 | } 70 | } 71 | 72 | func listAllReplays() -> Array 73 | { 74 | return ReplayFileUtil.fetchAllReplays() 75 | } 76 | 77 | 78 | } 79 | 80 | class PreviewDelegateView: UIViewController, UINavigationControllerDelegate, UIVideoEditorControllerDelegate { 81 | 82 | var coordinator: ScreenRecordCoordinator! 83 | var isSaved:Bool = false 84 | 85 | func setCoordinator(coordinator: ScreenRecordCoordinator) -> Void { 86 | self.coordinator = coordinator 87 | } 88 | 89 | func videoEditorController(_ editor: UIVideoEditorController, didSaveEditedVideoToPath editedVideoPath: String) { 90 | print("save called") 91 | if(!self.isSaved) { 92 | self.isSaved = true 93 | print("trimmed video saved!") 94 | editor.dismiss(animated: true, completion: { 95 | ReplayFileUtil.replaceItem(at: URL(fileURLWithPath: editor.videoPath), with: URL(fileURLWithPath: editedVideoPath)) 96 | self.isSaved = false 97 | }) 98 | } 99 | } 100 | } 101 | 102 | extension UIApplication { 103 | class func getTopMostViewController(base: UIViewController? = UIApplication.shared.keyWindow?.rootViewController) -> UIViewController? { 104 | if let nav = base as? UINavigationController { 105 | return getTopMostViewController(base: nav.visibleViewController) 106 | } 107 | if let tab = base as? UITabBarController { 108 | if let selected = tab.selectedViewController { 109 | return getTopMostViewController(base: selected) 110 | } 111 | } 112 | if let presented = base?.presentedViewController { 113 | return getTopMostViewController(base: presented) 114 | } 115 | return base 116 | } 117 | } 118 | -------------------------------------------------------------------------------- /testapp/ios/testapp.xcodeproj/xcshareddata/xcschemes/testapp.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /testapp/ios/testapp.xcodeproj/xcshareddata/xcschemes/testapp-tvOS.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 43 | 49 | 50 | 51 | 52 | 53 | 58 | 59 | 61 | 67 | 68 | 69 | 70 | 71 | 77 | 78 | 79 | 80 | 81 | 82 | 92 | 94 | 100 | 101 | 102 | 103 | 104 | 105 | 111 | 113 | 119 | 120 | 121 | 122 | 124 | 125 | 128 | 129 | 130 | -------------------------------------------------------------------------------- /ios/RNReactNativeReplaykit.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 52ECF58021487E1500301CC6 /* FileUtil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52ECF57F21487E1500301CC6 /* FileUtil.swift */; }; 11 | 52ECF5852148A73500301CC6 /* ScreenRecordCoordinator.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52ECF5842148A73500301CC6 /* ScreenRecordCoordinator.swift */; }; 12 | 52ECF5872148A74600301CC6 /* ScreenRecorder.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52ECF5862148A74600301CC6 /* ScreenRecorder.swift */; }; 13 | 52ECF5892148A75700301CC6 /* WindowUtil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52ECF5882148A75700301CC6 /* WindowUtil.swift */; }; 14 | B3E7B58A1CC2AC0600A0062D /* RNReactNativeReplaykit.m in Sources */ = {isa = PBXBuildFile; fileRef = B3E7B5891CC2AC0600A0062D /* RNReactNativeReplaykit.m */; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXCopyFilesBuildPhase section */ 18 | 58B511D91A9E6C8500147676 /* CopyFiles */ = { 19 | isa = PBXCopyFilesBuildPhase; 20 | buildActionMask = 2147483647; 21 | dstPath = "include/$(PRODUCT_NAME)"; 22 | dstSubfolderSpec = 16; 23 | files = ( 24 | ); 25 | runOnlyForDeploymentPostprocessing = 0; 26 | }; 27 | /* End PBXCopyFilesBuildPhase section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 134814201AA4EA6300B7C361 /* libRNReactNativeReplaykit.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRNReactNativeReplaykit.a; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 52ECF57E21487E1400301CC6 /* RNReactNativeReplaykit-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "RNReactNativeReplaykit-Bridging-Header.h"; sourceTree = ""; }; 32 | 52ECF57F21487E1500301CC6 /* FileUtil.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = FileUtil.swift; sourceTree = ""; }; 33 | 52ECF5842148A73500301CC6 /* ScreenRecordCoordinator.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenRecordCoordinator.swift; sourceTree = ""; }; 34 | 52ECF5862148A74600301CC6 /* ScreenRecorder.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ScreenRecorder.swift; sourceTree = ""; }; 35 | 52ECF5882148A75700301CC6 /* WindowUtil.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WindowUtil.swift; sourceTree = ""; }; 36 | B3E7B5881CC2AC0600A0062D /* RNReactNativeReplaykit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = RNReactNativeReplaykit.h; sourceTree = ""; }; 37 | B3E7B5891CC2AC0600A0062D /* RNReactNativeReplaykit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = RNReactNativeReplaykit.m; sourceTree = ""; }; 38 | /* End PBXFileReference section */ 39 | 40 | /* Begin PBXFrameworksBuildPhase section */ 41 | 58B511D81A9E6C8500147676 /* Frameworks */ = { 42 | isa = PBXFrameworksBuildPhase; 43 | buildActionMask = 2147483647; 44 | files = ( 45 | ); 46 | runOnlyForDeploymentPostprocessing = 0; 47 | }; 48 | /* End PBXFrameworksBuildPhase section */ 49 | 50 | /* Begin PBXGroup section */ 51 | 134814211AA4EA7D00B7C361 /* Products */ = { 52 | isa = PBXGroup; 53 | children = ( 54 | 134814201AA4EA6300B7C361 /* libRNReactNativeReplaykit.a */, 55 | ); 56 | name = Products; 57 | sourceTree = ""; 58 | }; 59 | 52ECF58A2148AE6400301CC6 /* ScreenRecord */ = { 60 | isa = PBXGroup; 61 | children = ( 62 | 52ECF5882148A75700301CC6 /* WindowUtil.swift */, 63 | 52ECF5862148A74600301CC6 /* ScreenRecorder.swift */, 64 | 52ECF5842148A73500301CC6 /* ScreenRecordCoordinator.swift */, 65 | 52ECF57F21487E1500301CC6 /* FileUtil.swift */, 66 | ); 67 | path = ScreenRecord; 68 | sourceTree = ""; 69 | }; 70 | 58B511D21A9E6C8500147676 = { 71 | isa = PBXGroup; 72 | children = ( 73 | 52ECF58A2148AE6400301CC6 /* ScreenRecord */, 74 | B3E7B5881CC2AC0600A0062D /* RNReactNativeReplaykit.h */, 75 | B3E7B5891CC2AC0600A0062D /* RNReactNativeReplaykit.m */, 76 | 134814211AA4EA7D00B7C361 /* Products */, 77 | 52ECF57E21487E1400301CC6 /* RNReactNativeReplaykit-Bridging-Header.h */, 78 | ); 79 | sourceTree = ""; 80 | }; 81 | /* End PBXGroup section */ 82 | 83 | /* Begin PBXNativeTarget section */ 84 | 58B511DA1A9E6C8500147676 /* RNReactNativeReplaykit */ = { 85 | isa = PBXNativeTarget; 86 | buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNReactNativeReplaykit" */; 87 | buildPhases = ( 88 | 58B511D71A9E6C8500147676 /* Sources */, 89 | 58B511D81A9E6C8500147676 /* Frameworks */, 90 | 58B511D91A9E6C8500147676 /* CopyFiles */, 91 | ); 92 | buildRules = ( 93 | ); 94 | dependencies = ( 95 | ); 96 | name = RNReactNativeReplaykit; 97 | productName = RCTDataManager; 98 | productReference = 134814201AA4EA6300B7C361 /* libRNReactNativeReplaykit.a */; 99 | productType = "com.apple.product-type.library.static"; 100 | }; 101 | /* End PBXNativeTarget section */ 102 | 103 | /* Begin PBXProject section */ 104 | 58B511D31A9E6C8500147676 /* Project object */ = { 105 | isa = PBXProject; 106 | attributes = { 107 | LastUpgradeCheck = 0830; 108 | ORGANIZATIONNAME = Facebook; 109 | TargetAttributes = { 110 | 58B511DA1A9E6C8500147676 = { 111 | CreatedOnToolsVersion = 6.1.1; 112 | LastSwiftMigration = 1010; 113 | }; 114 | }; 115 | }; 116 | buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNReactNativeReplaykit" */; 117 | compatibilityVersion = "Xcode 3.2"; 118 | developmentRegion = English; 119 | hasScannedForEncodings = 0; 120 | knownRegions = ( 121 | en, 122 | ); 123 | mainGroup = 58B511D21A9E6C8500147676; 124 | productRefGroup = 58B511D21A9E6C8500147676; 125 | projectDirPath = ""; 126 | projectRoot = ""; 127 | targets = ( 128 | 58B511DA1A9E6C8500147676 /* RNReactNativeReplaykit */, 129 | ); 130 | }; 131 | /* End PBXProject section */ 132 | 133 | /* Begin PBXSourcesBuildPhase section */ 134 | 58B511D71A9E6C8500147676 /* Sources */ = { 135 | isa = PBXSourcesBuildPhase; 136 | buildActionMask = 2147483647; 137 | files = ( 138 | B3E7B58A1CC2AC0600A0062D /* RNReactNativeReplaykit.m in Sources */, 139 | 52ECF5872148A74600301CC6 /* ScreenRecorder.swift in Sources */, 140 | 52ECF5892148A75700301CC6 /* WindowUtil.swift in Sources */, 141 | 52ECF58021487E1500301CC6 /* FileUtil.swift in Sources */, 142 | 52ECF5852148A73500301CC6 /* ScreenRecordCoordinator.swift in Sources */, 143 | ); 144 | runOnlyForDeploymentPostprocessing = 0; 145 | }; 146 | /* End PBXSourcesBuildPhase section */ 147 | 148 | /* Begin XCBuildConfiguration section */ 149 | 58B511ED1A9E6C8500147676 /* Debug */ = { 150 | isa = XCBuildConfiguration; 151 | buildSettings = { 152 | ALWAYS_SEARCH_USER_PATHS = NO; 153 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 154 | CLANG_CXX_LIBRARY = "libc++"; 155 | CLANG_ENABLE_MODULES = YES; 156 | CLANG_ENABLE_OBJC_ARC = YES; 157 | CLANG_WARN_BOOL_CONVERSION = YES; 158 | CLANG_WARN_CONSTANT_CONVERSION = YES; 159 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 160 | CLANG_WARN_EMPTY_BODY = YES; 161 | CLANG_WARN_ENUM_CONVERSION = YES; 162 | CLANG_WARN_INFINITE_RECURSION = YES; 163 | CLANG_WARN_INT_CONVERSION = YES; 164 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 165 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 166 | CLANG_WARN_UNREACHABLE_CODE = YES; 167 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 168 | COPY_PHASE_STRIP = NO; 169 | DEFINES_MODULE = YES; 170 | ENABLE_STRICT_OBJC_MSGSEND = YES; 171 | ENABLE_TESTABILITY = YES; 172 | GCC_C_LANGUAGE_STANDARD = gnu99; 173 | GCC_DYNAMIC_NO_PIC = NO; 174 | GCC_NO_COMMON_BLOCKS = YES; 175 | GCC_OPTIMIZATION_LEVEL = 0; 176 | GCC_PREPROCESSOR_DEFINITIONS = ( 177 | "DEBUG=1", 178 | "$(inherited)", 179 | ); 180 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 181 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 182 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 183 | GCC_WARN_UNDECLARED_SELECTOR = YES; 184 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 185 | GCC_WARN_UNUSED_FUNCTION = YES; 186 | GCC_WARN_UNUSED_VARIABLE = YES; 187 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 188 | MTL_ENABLE_DEBUG_INFO = YES; 189 | ONLY_ACTIVE_ARCH = YES; 190 | PRODUCT_MODULE_NAME = RNReactNativeReplaykit; 191 | SDKROOT = iphoneos; 192 | SWIFT_OBJC_BRIDGING_HEADER = "RNReactNativeReplaykit-Bridging-Header.h"; 193 | SWIFT_PRECOMPILE_BRIDGING_HEADER = YES; 194 | }; 195 | name = Debug; 196 | }; 197 | 58B511EE1A9E6C8500147676 /* Release */ = { 198 | isa = XCBuildConfiguration; 199 | buildSettings = { 200 | ALWAYS_SEARCH_USER_PATHS = NO; 201 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 202 | CLANG_CXX_LIBRARY = "libc++"; 203 | CLANG_ENABLE_MODULES = YES; 204 | CLANG_ENABLE_OBJC_ARC = YES; 205 | CLANG_WARN_BOOL_CONVERSION = YES; 206 | CLANG_WARN_CONSTANT_CONVERSION = YES; 207 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 208 | CLANG_WARN_EMPTY_BODY = YES; 209 | CLANG_WARN_ENUM_CONVERSION = YES; 210 | CLANG_WARN_INFINITE_RECURSION = YES; 211 | CLANG_WARN_INT_CONVERSION = YES; 212 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 213 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 214 | CLANG_WARN_UNREACHABLE_CODE = YES; 215 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 216 | COPY_PHASE_STRIP = YES; 217 | DEFINES_MODULE = YES; 218 | ENABLE_NS_ASSERTIONS = NO; 219 | ENABLE_STRICT_OBJC_MSGSEND = YES; 220 | GCC_C_LANGUAGE_STANDARD = gnu99; 221 | GCC_NO_COMMON_BLOCKS = YES; 222 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 223 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 224 | GCC_WARN_UNDECLARED_SELECTOR = YES; 225 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 226 | GCC_WARN_UNUSED_FUNCTION = YES; 227 | GCC_WARN_UNUSED_VARIABLE = YES; 228 | IPHONEOS_DEPLOYMENT_TARGET = 8.0; 229 | MTL_ENABLE_DEBUG_INFO = NO; 230 | PRODUCT_MODULE_NAME = RNReactNativeReplaykit; 231 | SDKROOT = iphoneos; 232 | SWIFT_OBJC_BRIDGING_HEADER = "RNReactNativeReplaykit-Bridging-Header.h"; 233 | SWIFT_PRECOMPILE_BRIDGING_HEADER = YES; 234 | VALIDATE_PRODUCT = YES; 235 | }; 236 | name = Release; 237 | }; 238 | 58B511F01A9E6C8500147676 /* Debug */ = { 239 | isa = XCBuildConfiguration; 240 | buildSettings = { 241 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 242 | CLANG_ENABLE_MODULES = YES; 243 | DEFINES_MODULE = YES; 244 | HEADER_SEARCH_PATHS = ( 245 | "$(inherited)", 246 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 247 | "$(SRCROOT)/../../../React/**", 248 | "$(SRCROOT)/../../react-native/React/**", 249 | ); 250 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 251 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 252 | OTHER_LDFLAGS = "-ObjC"; 253 | PRODUCT_NAME = RNReactNativeReplaykit; 254 | SKIP_INSTALL = YES; 255 | SWIFT_OBJC_BRIDGING_HEADER = "RNReactNativeReplaykit-Bridging-Header.h"; 256 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 257 | SWIFT_PRECOMPILE_BRIDGING_HEADER = YES; 258 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 259 | SWIFT_VERSION = 4.2; 260 | }; 261 | name = Debug; 262 | }; 263 | 58B511F11A9E6C8500147676 /* Release */ = { 264 | isa = XCBuildConfiguration; 265 | buildSettings = { 266 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES; 267 | CLANG_ENABLE_MODULES = YES; 268 | DEFINES_MODULE = YES; 269 | HEADER_SEARCH_PATHS = ( 270 | "$(inherited)", 271 | /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include, 272 | "$(SRCROOT)/../../../React/**", 273 | "$(SRCROOT)/../../react-native/React/**", 274 | ); 275 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 276 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 277 | OTHER_LDFLAGS = "-ObjC"; 278 | PRODUCT_NAME = RNReactNativeReplaykit; 279 | SKIP_INSTALL = YES; 280 | SWIFT_OBJC_BRIDGING_HEADER = "RNReactNativeReplaykit-Bridging-Header.h"; 281 | SWIFT_PRECOMPILE_BRIDGING_HEADER = YES; 282 | SWIFT_SWIFT3_OBJC_INFERENCE = On; 283 | SWIFT_VERSION = 4.2; 284 | }; 285 | name = Release; 286 | }; 287 | /* End XCBuildConfiguration section */ 288 | 289 | /* Begin XCConfigurationList section */ 290 | 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "RNReactNativeReplaykit" */ = { 291 | isa = XCConfigurationList; 292 | buildConfigurations = ( 293 | 58B511ED1A9E6C8500147676 /* Debug */, 294 | 58B511EE1A9E6C8500147676 /* Release */, 295 | ); 296 | defaultConfigurationIsVisible = 0; 297 | defaultConfigurationName = Release; 298 | }; 299 | 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "RNReactNativeReplaykit" */ = { 300 | isa = XCConfigurationList; 301 | buildConfigurations = ( 302 | 58B511F01A9E6C8500147676 /* Debug */, 303 | 58B511F11A9E6C8500147676 /* Release */, 304 | ); 305 | defaultConfigurationIsVisible = 0; 306 | defaultConfigurationName = Release; 307 | }; 308 | /* End XCConfigurationList section */ 309 | }; 310 | rootObject = 58B511D31A9E6C8500147676 /* Project object */; 311 | } 312 | -------------------------------------------------------------------------------- /testapp/ios/testapp.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */; }; 11 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */; }; 12 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */; }; 13 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */; }; 14 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */; }; 15 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */; }; 16 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 78C398B91ACF4ADC00677621 /* libRCTLinking.a */; }; 17 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */; }; 18 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */; }; 19 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.m */; }; 20 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB11A68108700A75B9A /* LaunchScreen.xib */; }; 21 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; }; 22 | 13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; }; 23 | 146834051AC3E58100842450 /* libReact.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 146834041AC3E56700842450 /* libReact.a */; }; 24 | 39BE6228D06A4ED6AF460024 /* libRNReactNativeReplaykit.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 115099CDDE1D49D9BF6DBCB9 /* libRNReactNativeReplaykit.a */; }; 25 | 52E99E3C2298C69800D80CAF /* bridge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52E99E3B2298C69800D80CAF /* bridge.swift */; }; 26 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 832341B51AAA6A8300B99B32 /* libRCTText.a */; }; 27 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */ = {isa = PBXBuildFile; fileRef = ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */; }; 28 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = ED297162215061F000B7C4FE /* JavaScriptCore.framework */; }; 29 | /* End PBXBuildFile section */ 30 | 31 | /* Begin PBXContainerItemProxy section */ 32 | 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 35 | proxyType = 2; 36 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 37 | remoteInfo = RCTActionSheet; 38 | }; 39 | 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */ = { 40 | isa = PBXContainerItemProxy; 41 | containerPortal = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 42 | proxyType = 2; 43 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 44 | remoteInfo = RCTGeolocation; 45 | }; 46 | 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */ = { 47 | isa = PBXContainerItemProxy; 48 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 49 | proxyType = 2; 50 | remoteGlobalIDString = 58B5115D1A9E6B3D00147676; 51 | remoteInfo = RCTImage; 52 | }; 53 | 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */ = { 54 | isa = PBXContainerItemProxy; 55 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 56 | proxyType = 2; 57 | remoteGlobalIDString = 58B511DB1A9E6C8500147676; 58 | remoteInfo = RCTNetwork; 59 | }; 60 | 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */ = { 61 | isa = PBXContainerItemProxy; 62 | containerPortal = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 63 | proxyType = 2; 64 | remoteGlobalIDString = 832C81801AAF6DEF007FA2F7; 65 | remoteInfo = RCTVibration; 66 | }; 67 | 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */ = { 68 | isa = PBXContainerItemProxy; 69 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 70 | proxyType = 2; 71 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 72 | remoteInfo = RCTSettings; 73 | }; 74 | 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */ = { 75 | isa = PBXContainerItemProxy; 76 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 77 | proxyType = 2; 78 | remoteGlobalIDString = 3C86DF461ADF2C930047B81A; 79 | remoteInfo = RCTWebSocket; 80 | }; 81 | 146834031AC3E56700842450 /* PBXContainerItemProxy */ = { 82 | isa = PBXContainerItemProxy; 83 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 84 | proxyType = 2; 85 | remoteGlobalIDString = 83CBBA2E1A601D0E00E9B192; 86 | remoteInfo = React; 87 | }; 88 | 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 89 | isa = PBXContainerItemProxy; 90 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 91 | proxyType = 2; 92 | remoteGlobalIDString = ADD01A681E09402E00F6D226; 93 | remoteInfo = "RCTBlob-tvOS"; 94 | }; 95 | 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 96 | isa = PBXContainerItemProxy; 97 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 98 | proxyType = 2; 99 | remoteGlobalIDString = 3DBE0D001F3B181A0099AA32; 100 | remoteInfo = fishhook; 101 | }; 102 | 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */ = { 103 | isa = PBXContainerItemProxy; 104 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 105 | proxyType = 2; 106 | remoteGlobalIDString = 3DBE0D0D1F3B181C0099AA32; 107 | remoteInfo = "fishhook-tvOS"; 108 | }; 109 | 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */ = { 110 | isa = PBXContainerItemProxy; 111 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 112 | proxyType = 2; 113 | remoteGlobalIDString = EBF21BDC1FC498900052F4D5; 114 | remoteInfo = jsinspector; 115 | }; 116 | 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */ = { 117 | isa = PBXContainerItemProxy; 118 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 119 | proxyType = 2; 120 | remoteGlobalIDString = EBF21BFA1FC4989A0052F4D5; 121 | remoteInfo = "jsinspector-tvOS"; 122 | }; 123 | 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */ = { 124 | isa = PBXContainerItemProxy; 125 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 126 | proxyType = 2; 127 | remoteGlobalIDString = 139D7ECE1E25DB7D00323FB7; 128 | remoteInfo = "third-party"; 129 | }; 130 | 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */ = { 131 | isa = PBXContainerItemProxy; 132 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 133 | proxyType = 2; 134 | remoteGlobalIDString = 3D383D3C1EBD27B6005632C8; 135 | remoteInfo = "third-party-tvOS"; 136 | }; 137 | 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */ = { 138 | isa = PBXContainerItemProxy; 139 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 140 | proxyType = 2; 141 | remoteGlobalIDString = 139D7E881E25C6D100323FB7; 142 | remoteInfo = "double-conversion"; 143 | }; 144 | 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */ = { 145 | isa = PBXContainerItemProxy; 146 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 147 | proxyType = 2; 148 | remoteGlobalIDString = 3D383D621EBD27B9005632C8; 149 | remoteInfo = "double-conversion-tvOS"; 150 | }; 151 | 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */ = { 152 | isa = PBXContainerItemProxy; 153 | containerPortal = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 154 | proxyType = 2; 155 | remoteGlobalIDString = 2D2A283A1D9B042B00D4039D; 156 | remoteInfo = "RCTImage-tvOS"; 157 | }; 158 | 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */ = { 159 | isa = PBXContainerItemProxy; 160 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 161 | proxyType = 2; 162 | remoteGlobalIDString = 2D2A28471D9B043800D4039D; 163 | remoteInfo = "RCTLinking-tvOS"; 164 | }; 165 | 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 166 | isa = PBXContainerItemProxy; 167 | containerPortal = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 168 | proxyType = 2; 169 | remoteGlobalIDString = 2D2A28541D9B044C00D4039D; 170 | remoteInfo = "RCTNetwork-tvOS"; 171 | }; 172 | 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 173 | isa = PBXContainerItemProxy; 174 | containerPortal = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 175 | proxyType = 2; 176 | remoteGlobalIDString = 2D2A28611D9B046600D4039D; 177 | remoteInfo = "RCTSettings-tvOS"; 178 | }; 179 | 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */ = { 180 | isa = PBXContainerItemProxy; 181 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 182 | proxyType = 2; 183 | remoteGlobalIDString = 2D2A287B1D9B048500D4039D; 184 | remoteInfo = "RCTText-tvOS"; 185 | }; 186 | 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */ = { 187 | isa = PBXContainerItemProxy; 188 | containerPortal = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 189 | proxyType = 2; 190 | remoteGlobalIDString = 2D2A28881D9B049200D4039D; 191 | remoteInfo = "RCTWebSocket-tvOS"; 192 | }; 193 | 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */ = { 194 | isa = PBXContainerItemProxy; 195 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 196 | proxyType = 2; 197 | remoteGlobalIDString = 2D2A28131D9B038B00D4039D; 198 | remoteInfo = "React-tvOS"; 199 | }; 200 | 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */ = { 201 | isa = PBXContainerItemProxy; 202 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 203 | proxyType = 2; 204 | remoteGlobalIDString = 3D3C059A1DE3340900C268FA; 205 | remoteInfo = yoga; 206 | }; 207 | 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */ = { 208 | isa = PBXContainerItemProxy; 209 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 210 | proxyType = 2; 211 | remoteGlobalIDString = 3D3C06751DE3340C00C268FA; 212 | remoteInfo = "yoga-tvOS"; 213 | }; 214 | 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */ = { 215 | isa = PBXContainerItemProxy; 216 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 217 | proxyType = 2; 218 | remoteGlobalIDString = 3D3CD9251DE5FBEC00167DC4; 219 | remoteInfo = cxxreact; 220 | }; 221 | 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */ = { 222 | isa = PBXContainerItemProxy; 223 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 224 | proxyType = 2; 225 | remoteGlobalIDString = 3D3CD9321DE5FBEE00167DC4; 226 | remoteInfo = "cxxreact-tvOS"; 227 | }; 228 | 52E99E2D2298C67400D80CAF /* PBXContainerItemProxy */ = { 229 | isa = PBXContainerItemProxy; 230 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 231 | proxyType = 2; 232 | remoteGlobalIDString = EDEBC6D6214B3E7000DD5AC8; 233 | remoteInfo = jsi; 234 | }; 235 | 52E99E2F2298C67400D80CAF /* PBXContainerItemProxy */ = { 236 | isa = PBXContainerItemProxy; 237 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 238 | proxyType = 2; 239 | remoteGlobalIDString = EDEBC73B214B45A300DD5AC8; 240 | remoteInfo = jsiexecutor; 241 | }; 242 | 52E99E312298C67400D80CAF /* PBXContainerItemProxy */ = { 243 | isa = PBXContainerItemProxy; 244 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 245 | proxyType = 2; 246 | remoteGlobalIDString = ED296FB6214C9A0900B7C4FE; 247 | remoteInfo = "jsi-tvOS"; 248 | }; 249 | 52E99E332298C67400D80CAF /* PBXContainerItemProxy */ = { 250 | isa = PBXContainerItemProxy; 251 | containerPortal = 146833FF1AC3E56700842450 /* React.xcodeproj */; 252 | proxyType = 2; 253 | remoteGlobalIDString = ED296FEE214C9CF800B7C4FE; 254 | remoteInfo = "jsiexecutor-tvOS"; 255 | }; 256 | 52E99E382298C67700D80CAF /* PBXContainerItemProxy */ = { 257 | isa = PBXContainerItemProxy; 258 | containerPortal = 096674A80F8841C6B8108967 /* RNReactNativeReplaykit.xcodeproj */; 259 | proxyType = 2; 260 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 261 | remoteInfo = RNReactNativeReplaykit; 262 | }; 263 | 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 264 | isa = PBXContainerItemProxy; 265 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 266 | proxyType = 2; 267 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 268 | remoteInfo = RCTAnimation; 269 | }; 270 | 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */ = { 271 | isa = PBXContainerItemProxy; 272 | containerPortal = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 273 | proxyType = 2; 274 | remoteGlobalIDString = 2D2A28201D9B03D100D4039D; 275 | remoteInfo = "RCTAnimation-tvOS"; 276 | }; 277 | 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */ = { 278 | isa = PBXContainerItemProxy; 279 | containerPortal = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 280 | proxyType = 2; 281 | remoteGlobalIDString = 134814201AA4EA6300B7C361; 282 | remoteInfo = RCTLinking; 283 | }; 284 | 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */ = { 285 | isa = PBXContainerItemProxy; 286 | containerPortal = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 287 | proxyType = 2; 288 | remoteGlobalIDString = 58B5119B1A9E6C1200147676; 289 | remoteInfo = RCTText; 290 | }; 291 | ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */ = { 292 | isa = PBXContainerItemProxy; 293 | containerPortal = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 294 | proxyType = 2; 295 | remoteGlobalIDString = 358F4ED71D1E81A9004DF814; 296 | remoteInfo = RCTBlob; 297 | }; 298 | /* End PBXContainerItemProxy section */ 299 | 300 | /* Begin PBXFileReference section */ 301 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = main.jsbundle; sourceTree = ""; }; 302 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTActionSheet.xcodeproj; path = "../node_modules/react-native/Libraries/ActionSheetIOS/RCTActionSheet.xcodeproj"; sourceTree = ""; }; 303 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTGeolocation.xcodeproj; path = "../node_modules/react-native/Libraries/Geolocation/RCTGeolocation.xcodeproj"; sourceTree = ""; }; 304 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTImage.xcodeproj; path = "../node_modules/react-native/Libraries/Image/RCTImage.xcodeproj"; sourceTree = ""; }; 305 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTNetwork.xcodeproj; path = "../node_modules/react-native/Libraries/Network/RCTNetwork.xcodeproj"; sourceTree = ""; }; 306 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTVibration.xcodeproj; path = "../node_modules/react-native/Libraries/Vibration/RCTVibration.xcodeproj"; sourceTree = ""; }; 307 | 00E356F11AD99517003FC87E /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 308 | 00E356F21AD99517003FC87E /* testappTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = testappTests.m; sourceTree = ""; }; 309 | 096674A80F8841C6B8108967 /* RNReactNativeReplaykit.xcodeproj */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = "wrapper.pb-project"; name = RNReactNativeReplaykit.xcodeproj; path = "../node_modules/react-native-replaykit/ios/RNReactNativeReplaykit.xcodeproj"; sourceTree = ""; }; 310 | 115099CDDE1D49D9BF6DBCB9 /* libRNReactNativeReplaykit.a */ = {isa = PBXFileReference; explicitFileType = undefined; fileEncoding = 9; includeInIndex = 0; lastKnownFileType = archive.ar; path = libRNReactNativeReplaykit.a; sourceTree = ""; }; 311 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTSettings.xcodeproj; path = "../node_modules/react-native/Libraries/Settings/RCTSettings.xcodeproj"; sourceTree = ""; }; 312 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTWebSocket.xcodeproj; path = "../node_modules/react-native/Libraries/WebSocket/RCTWebSocket.xcodeproj"; sourceTree = ""; }; 313 | 13B07F961A680F5B00A75B9A /* testapp.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = testapp.app; sourceTree = BUILT_PRODUCTS_DIR; }; 314 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = testapp/AppDelegate.h; sourceTree = ""; }; 315 | 13B07FB01A68108700A75B9A /* AppDelegate.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = AppDelegate.m; path = testapp/AppDelegate.m; sourceTree = ""; }; 316 | 13B07FB21A68108700A75B9A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 317 | 13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = testapp/Images.xcassets; sourceTree = ""; }; 318 | 13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = testapp/Info.plist; sourceTree = ""; }; 319 | 13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = testapp/main.m; sourceTree = ""; }; 320 | 146833FF1AC3E56700842450 /* React.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = React.xcodeproj; path = "../node_modules/react-native/React/React.xcodeproj"; sourceTree = ""; }; 321 | 2D16E6891FA4F8E400B85C8A /* libReact.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; path = libReact.a; sourceTree = BUILT_PRODUCTS_DIR; }; 322 | 52E99E3A2298C69700D80CAF /* testapp-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "testapp-Bridging-Header.h"; sourceTree = ""; }; 323 | 52E99E3B2298C69800D80CAF /* bridge.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = bridge.swift; sourceTree = ""; }; 324 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTAnimation.xcodeproj; path = "../node_modules/react-native/Libraries/NativeAnimation/RCTAnimation.xcodeproj"; sourceTree = ""; }; 325 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTLinking.xcodeproj; path = "../node_modules/react-native/Libraries/LinkingIOS/RCTLinking.xcodeproj"; sourceTree = ""; }; 326 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTText.xcodeproj; path = "../node_modules/react-native/Libraries/Text/RCTText.xcodeproj"; sourceTree = ""; }; 327 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */ = {isa = PBXFileReference; lastKnownFileType = "wrapper.pb-project"; name = RCTBlob.xcodeproj; path = "../node_modules/react-native/Libraries/Blob/RCTBlob.xcodeproj"; sourceTree = ""; }; 328 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; }; 329 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS12.0.sdk/System/Library/Frameworks/JavaScriptCore.framework; sourceTree = DEVELOPER_DIR; }; 330 | /* End PBXFileReference section */ 331 | 332 | /* Begin PBXFrameworksBuildPhase section */ 333 | 13B07F8C1A680F5B00A75B9A /* Frameworks */ = { 334 | isa = PBXFrameworksBuildPhase; 335 | buildActionMask = 2147483647; 336 | files = ( 337 | ED297163215061F000B7C4FE /* JavaScriptCore.framework in Frameworks */, 338 | ADBDB9381DFEBF1600ED6528 /* libRCTBlob.a in Frameworks */, 339 | 11D1A2F320CAFA9E000508D9 /* libRCTAnimation.a in Frameworks */, 340 | 146834051AC3E58100842450 /* libReact.a in Frameworks */, 341 | 00C302E51ABCBA2D00DB3ED1 /* libRCTActionSheet.a in Frameworks */, 342 | 00C302E71ABCBA2D00DB3ED1 /* libRCTGeolocation.a in Frameworks */, 343 | 00C302E81ABCBA2D00DB3ED1 /* libRCTImage.a in Frameworks */, 344 | 133E29F31AD74F7200F7D852 /* libRCTLinking.a in Frameworks */, 345 | 00C302E91ABCBA2D00DB3ED1 /* libRCTNetwork.a in Frameworks */, 346 | 139105C61AF99C1200B5F7CC /* libRCTSettings.a in Frameworks */, 347 | 832341BD1AAA6AB300B99B32 /* libRCTText.a in Frameworks */, 348 | 00C302EA1ABCBA2D00DB3ED1 /* libRCTVibration.a in Frameworks */, 349 | 139FDEF61B0652A700C62182 /* libRCTWebSocket.a in Frameworks */, 350 | 39BE6228D06A4ED6AF460024 /* libRNReactNativeReplaykit.a in Frameworks */, 351 | ); 352 | runOnlyForDeploymentPostprocessing = 0; 353 | }; 354 | /* End PBXFrameworksBuildPhase section */ 355 | 356 | /* Begin PBXGroup section */ 357 | 00C302A81ABCB8CE00DB3ED1 /* Products */ = { 358 | isa = PBXGroup; 359 | children = ( 360 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */, 361 | ); 362 | name = Products; 363 | sourceTree = ""; 364 | }; 365 | 00C302B61ABCB90400DB3ED1 /* Products */ = { 366 | isa = PBXGroup; 367 | children = ( 368 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */, 369 | ); 370 | name = Products; 371 | sourceTree = ""; 372 | }; 373 | 00C302BC1ABCB91800DB3ED1 /* Products */ = { 374 | isa = PBXGroup; 375 | children = ( 376 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */, 377 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */, 378 | ); 379 | name = Products; 380 | sourceTree = ""; 381 | }; 382 | 00C302D41ABCB9D200DB3ED1 /* Products */ = { 383 | isa = PBXGroup; 384 | children = ( 385 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */, 386 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */, 387 | ); 388 | name = Products; 389 | sourceTree = ""; 390 | }; 391 | 00C302E01ABCB9EE00DB3ED1 /* Products */ = { 392 | isa = PBXGroup; 393 | children = ( 394 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */, 395 | ); 396 | name = Products; 397 | sourceTree = ""; 398 | }; 399 | 00E356EF1AD99517003FC87E /* testappTests */ = { 400 | isa = PBXGroup; 401 | children = ( 402 | 00E356F21AD99517003FC87E /* testappTests.m */, 403 | 00E356F01AD99517003FC87E /* Supporting Files */, 404 | ); 405 | path = testappTests; 406 | sourceTree = ""; 407 | }; 408 | 00E356F01AD99517003FC87E /* Supporting Files */ = { 409 | isa = PBXGroup; 410 | children = ( 411 | 00E356F11AD99517003FC87E /* Info.plist */, 412 | ); 413 | name = "Supporting Files"; 414 | sourceTree = ""; 415 | }; 416 | 139105B71AF99BAD00B5F7CC /* Products */ = { 417 | isa = PBXGroup; 418 | children = ( 419 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */, 420 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */, 421 | ); 422 | name = Products; 423 | sourceTree = ""; 424 | }; 425 | 139FDEE71B06529A00C62182 /* Products */ = { 426 | isa = PBXGroup; 427 | children = ( 428 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */, 429 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */, 430 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */, 431 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */, 432 | ); 433 | name = Products; 434 | sourceTree = ""; 435 | }; 436 | 13B07FAE1A68108700A75B9A /* testapp */ = { 437 | isa = PBXGroup; 438 | children = ( 439 | 008F07F21AC5B25A0029DE68 /* main.jsbundle */, 440 | 13B07FAF1A68108700A75B9A /* AppDelegate.h */, 441 | 13B07FB01A68108700A75B9A /* AppDelegate.m */, 442 | 13B07FB51A68108700A75B9A /* Images.xcassets */, 443 | 13B07FB61A68108700A75B9A /* Info.plist */, 444 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */, 445 | 13B07FB71A68108700A75B9A /* main.m */, 446 | 52E99E3B2298C69800D80CAF /* bridge.swift */, 447 | 52E99E3A2298C69700D80CAF /* testapp-Bridging-Header.h */, 448 | ); 449 | name = testapp; 450 | sourceTree = ""; 451 | }; 452 | 146834001AC3E56700842450 /* Products */ = { 453 | isa = PBXGroup; 454 | children = ( 455 | 146834041AC3E56700842450 /* libReact.a */, 456 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */, 457 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */, 458 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */, 459 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */, 460 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */, 461 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */, 462 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */, 463 | 2DF0FFE32056DD460020B375 /* libthird-party.a */, 464 | 2DF0FFE52056DD460020B375 /* libthird-party.a */, 465 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */, 466 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */, 467 | 52E99E2E2298C67400D80CAF /* libjsi.a */, 468 | 52E99E302298C67400D80CAF /* libjsiexecutor.a */, 469 | 52E99E322298C67400D80CAF /* libjsi-tvOS.a */, 470 | 52E99E342298C67400D80CAF /* libjsiexecutor-tvOS.a */, 471 | ); 472 | name = Products; 473 | sourceTree = ""; 474 | }; 475 | 2D16E6871FA4F8E400B85C8A /* Frameworks */ = { 476 | isa = PBXGroup; 477 | children = ( 478 | ED297162215061F000B7C4FE /* JavaScriptCore.framework */, 479 | ED2971642150620600B7C4FE /* JavaScriptCore.framework */, 480 | 2D16E6891FA4F8E400B85C8A /* libReact.a */, 481 | ); 482 | name = Frameworks; 483 | sourceTree = ""; 484 | }; 485 | 52E99E072298C67200D80CAF /* Recovered References */ = { 486 | isa = PBXGroup; 487 | children = ( 488 | 115099CDDE1D49D9BF6DBCB9 /* libRNReactNativeReplaykit.a */, 489 | ); 490 | name = "Recovered References"; 491 | sourceTree = ""; 492 | }; 493 | 52E99E352298C67600D80CAF /* Products */ = { 494 | isa = PBXGroup; 495 | children = ( 496 | 52E99E392298C67700D80CAF /* libRNReactNativeReplaykit.a */, 497 | ); 498 | name = Products; 499 | sourceTree = ""; 500 | }; 501 | 5E91572E1DD0AC6500FF2AA8 /* Products */ = { 502 | isa = PBXGroup; 503 | children = ( 504 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */, 505 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */, 506 | ); 507 | name = Products; 508 | sourceTree = ""; 509 | }; 510 | 78C398B11ACF4ADC00677621 /* Products */ = { 511 | isa = PBXGroup; 512 | children = ( 513 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */, 514 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */, 515 | ); 516 | name = Products; 517 | sourceTree = ""; 518 | }; 519 | 832341AE1AAA6A7D00B99B32 /* Libraries */ = { 520 | isa = PBXGroup; 521 | children = ( 522 | 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */, 523 | 146833FF1AC3E56700842450 /* React.xcodeproj */, 524 | 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */, 525 | ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */, 526 | 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */, 527 | 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */, 528 | 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */, 529 | 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */, 530 | 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */, 531 | 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */, 532 | 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */, 533 | 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */, 534 | 096674A80F8841C6B8108967 /* RNReactNativeReplaykit.xcodeproj */, 535 | ); 536 | name = Libraries; 537 | sourceTree = ""; 538 | }; 539 | 832341B11AAA6A8300B99B32 /* Products */ = { 540 | isa = PBXGroup; 541 | children = ( 542 | 832341B51AAA6A8300B99B32 /* libRCTText.a */, 543 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */, 544 | ); 545 | name = Products; 546 | sourceTree = ""; 547 | }; 548 | 83CBB9F61A601CBA00E9B192 = { 549 | isa = PBXGroup; 550 | children = ( 551 | 13B07FAE1A68108700A75B9A /* testapp */, 552 | 832341AE1AAA6A7D00B99B32 /* Libraries */, 553 | 00E356EF1AD99517003FC87E /* testappTests */, 554 | 83CBBA001A601CBA00E9B192 /* Products */, 555 | 2D16E6871FA4F8E400B85C8A /* Frameworks */, 556 | 52E99E072298C67200D80CAF /* Recovered References */, 557 | ); 558 | indentWidth = 2; 559 | sourceTree = ""; 560 | tabWidth = 2; 561 | usesTabs = 0; 562 | }; 563 | 83CBBA001A601CBA00E9B192 /* Products */ = { 564 | isa = PBXGroup; 565 | children = ( 566 | 13B07F961A680F5B00A75B9A /* testapp.app */, 567 | ); 568 | name = Products; 569 | sourceTree = ""; 570 | }; 571 | ADBDB9201DFEBF0600ED6528 /* Products */ = { 572 | isa = PBXGroup; 573 | children = ( 574 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */, 575 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */, 576 | ); 577 | name = Products; 578 | sourceTree = ""; 579 | }; 580 | /* End PBXGroup section */ 581 | 582 | /* Begin PBXNativeTarget section */ 583 | 13B07F861A680F5B00A75B9A /* testapp */ = { 584 | isa = PBXNativeTarget; 585 | buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "testapp" */; 586 | buildPhases = ( 587 | 13B07F871A680F5B00A75B9A /* Sources */, 588 | 13B07F8C1A680F5B00A75B9A /* Frameworks */, 589 | 13B07F8E1A680F5B00A75B9A /* Resources */, 590 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */, 591 | ); 592 | buildRules = ( 593 | ); 594 | dependencies = ( 595 | ); 596 | name = testapp; 597 | productName = "Hello World"; 598 | productReference = 13B07F961A680F5B00A75B9A /* testapp.app */; 599 | productType = "com.apple.product-type.application"; 600 | }; 601 | /* End PBXNativeTarget section */ 602 | 603 | /* Begin PBXProject section */ 604 | 83CBB9F71A601CBA00E9B192 /* Project object */ = { 605 | isa = PBXProject; 606 | attributes = { 607 | LastUpgradeCheck = 940; 608 | ORGANIZATIONNAME = Facebook; 609 | TargetAttributes = { 610 | 13B07F861A680F5B00A75B9A = { 611 | DevelopmentTeam = QNYVG6H7C3; 612 | LastSwiftMigration = 1010; 613 | }; 614 | }; 615 | }; 616 | buildConfigurationList = 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testapp" */; 617 | compatibilityVersion = "Xcode 3.2"; 618 | developmentRegion = English; 619 | hasScannedForEncodings = 0; 620 | knownRegions = ( 621 | en, 622 | Base, 623 | ); 624 | mainGroup = 83CBB9F61A601CBA00E9B192; 625 | productRefGroup = 83CBBA001A601CBA00E9B192 /* Products */; 626 | projectDirPath = ""; 627 | projectReferences = ( 628 | { 629 | ProductGroup = 00C302A81ABCB8CE00DB3ED1 /* Products */; 630 | ProjectRef = 00C302A71ABCB8CE00DB3ED1 /* RCTActionSheet.xcodeproj */; 631 | }, 632 | { 633 | ProductGroup = 5E91572E1DD0AC6500FF2AA8 /* Products */; 634 | ProjectRef = 5E91572D1DD0AC6500FF2AA8 /* RCTAnimation.xcodeproj */; 635 | }, 636 | { 637 | ProductGroup = ADBDB9201DFEBF0600ED6528 /* Products */; 638 | ProjectRef = ADBDB91F1DFEBF0600ED6528 /* RCTBlob.xcodeproj */; 639 | }, 640 | { 641 | ProductGroup = 00C302B61ABCB90400DB3ED1 /* Products */; 642 | ProjectRef = 00C302B51ABCB90400DB3ED1 /* RCTGeolocation.xcodeproj */; 643 | }, 644 | { 645 | ProductGroup = 00C302BC1ABCB91800DB3ED1 /* Products */; 646 | ProjectRef = 00C302BB1ABCB91800DB3ED1 /* RCTImage.xcodeproj */; 647 | }, 648 | { 649 | ProductGroup = 78C398B11ACF4ADC00677621 /* Products */; 650 | ProjectRef = 78C398B01ACF4ADC00677621 /* RCTLinking.xcodeproj */; 651 | }, 652 | { 653 | ProductGroup = 00C302D41ABCB9D200DB3ED1 /* Products */; 654 | ProjectRef = 00C302D31ABCB9D200DB3ED1 /* RCTNetwork.xcodeproj */; 655 | }, 656 | { 657 | ProductGroup = 139105B71AF99BAD00B5F7CC /* Products */; 658 | ProjectRef = 139105B61AF99BAD00B5F7CC /* RCTSettings.xcodeproj */; 659 | }, 660 | { 661 | ProductGroup = 832341B11AAA6A8300B99B32 /* Products */; 662 | ProjectRef = 832341B01AAA6A8300B99B32 /* RCTText.xcodeproj */; 663 | }, 664 | { 665 | ProductGroup = 00C302E01ABCB9EE00DB3ED1 /* Products */; 666 | ProjectRef = 00C302DF1ABCB9EE00DB3ED1 /* RCTVibration.xcodeproj */; 667 | }, 668 | { 669 | ProductGroup = 139FDEE71B06529A00C62182 /* Products */; 670 | ProjectRef = 139FDEE61B06529A00C62182 /* RCTWebSocket.xcodeproj */; 671 | }, 672 | { 673 | ProductGroup = 146834001AC3E56700842450 /* Products */; 674 | ProjectRef = 146833FF1AC3E56700842450 /* React.xcodeproj */; 675 | }, 676 | { 677 | ProductGroup = 52E99E352298C67600D80CAF /* Products */; 678 | ProjectRef = 096674A80F8841C6B8108967 /* RNReactNativeReplaykit.xcodeproj */; 679 | }, 680 | ); 681 | projectRoot = ""; 682 | targets = ( 683 | 13B07F861A680F5B00A75B9A /* testapp */, 684 | ); 685 | }; 686 | /* End PBXProject section */ 687 | 688 | /* Begin PBXReferenceProxy section */ 689 | 00C302AC1ABCB8CE00DB3ED1 /* libRCTActionSheet.a */ = { 690 | isa = PBXReferenceProxy; 691 | fileType = archive.ar; 692 | path = libRCTActionSheet.a; 693 | remoteRef = 00C302AB1ABCB8CE00DB3ED1 /* PBXContainerItemProxy */; 694 | sourceTree = BUILT_PRODUCTS_DIR; 695 | }; 696 | 00C302BA1ABCB90400DB3ED1 /* libRCTGeolocation.a */ = { 697 | isa = PBXReferenceProxy; 698 | fileType = archive.ar; 699 | path = libRCTGeolocation.a; 700 | remoteRef = 00C302B91ABCB90400DB3ED1 /* PBXContainerItemProxy */; 701 | sourceTree = BUILT_PRODUCTS_DIR; 702 | }; 703 | 00C302C01ABCB91800DB3ED1 /* libRCTImage.a */ = { 704 | isa = PBXReferenceProxy; 705 | fileType = archive.ar; 706 | path = libRCTImage.a; 707 | remoteRef = 00C302BF1ABCB91800DB3ED1 /* PBXContainerItemProxy */; 708 | sourceTree = BUILT_PRODUCTS_DIR; 709 | }; 710 | 00C302DC1ABCB9D200DB3ED1 /* libRCTNetwork.a */ = { 711 | isa = PBXReferenceProxy; 712 | fileType = archive.ar; 713 | path = libRCTNetwork.a; 714 | remoteRef = 00C302DB1ABCB9D200DB3ED1 /* PBXContainerItemProxy */; 715 | sourceTree = BUILT_PRODUCTS_DIR; 716 | }; 717 | 00C302E41ABCB9EE00DB3ED1 /* libRCTVibration.a */ = { 718 | isa = PBXReferenceProxy; 719 | fileType = archive.ar; 720 | path = libRCTVibration.a; 721 | remoteRef = 00C302E31ABCB9EE00DB3ED1 /* PBXContainerItemProxy */; 722 | sourceTree = BUILT_PRODUCTS_DIR; 723 | }; 724 | 139105C11AF99BAD00B5F7CC /* libRCTSettings.a */ = { 725 | isa = PBXReferenceProxy; 726 | fileType = archive.ar; 727 | path = libRCTSettings.a; 728 | remoteRef = 139105C01AF99BAD00B5F7CC /* PBXContainerItemProxy */; 729 | sourceTree = BUILT_PRODUCTS_DIR; 730 | }; 731 | 139FDEF41B06529B00C62182 /* libRCTWebSocket.a */ = { 732 | isa = PBXReferenceProxy; 733 | fileType = archive.ar; 734 | path = libRCTWebSocket.a; 735 | remoteRef = 139FDEF31B06529B00C62182 /* PBXContainerItemProxy */; 736 | sourceTree = BUILT_PRODUCTS_DIR; 737 | }; 738 | 146834041AC3E56700842450 /* libReact.a */ = { 739 | isa = PBXReferenceProxy; 740 | fileType = archive.ar; 741 | path = libReact.a; 742 | remoteRef = 146834031AC3E56700842450 /* PBXContainerItemProxy */; 743 | sourceTree = BUILT_PRODUCTS_DIR; 744 | }; 745 | 2D16E6721FA4F8DC00B85C8A /* libRCTBlob-tvOS.a */ = { 746 | isa = PBXReferenceProxy; 747 | fileType = archive.ar; 748 | path = "libRCTBlob-tvOS.a"; 749 | remoteRef = 2D16E6711FA4F8DC00B85C8A /* PBXContainerItemProxy */; 750 | sourceTree = BUILT_PRODUCTS_DIR; 751 | }; 752 | 2D16E6841FA4F8DC00B85C8A /* libfishhook.a */ = { 753 | isa = PBXReferenceProxy; 754 | fileType = archive.ar; 755 | path = libfishhook.a; 756 | remoteRef = 2D16E6831FA4F8DC00B85C8A /* PBXContainerItemProxy */; 757 | sourceTree = BUILT_PRODUCTS_DIR; 758 | }; 759 | 2D16E6861FA4F8DC00B85C8A /* libfishhook-tvOS.a */ = { 760 | isa = PBXReferenceProxy; 761 | fileType = archive.ar; 762 | path = "libfishhook-tvOS.a"; 763 | remoteRef = 2D16E6851FA4F8DC00B85C8A /* PBXContainerItemProxy */; 764 | sourceTree = BUILT_PRODUCTS_DIR; 765 | }; 766 | 2DF0FFDF2056DD460020B375 /* libjsinspector.a */ = { 767 | isa = PBXReferenceProxy; 768 | fileType = archive.ar; 769 | path = libjsinspector.a; 770 | remoteRef = 2DF0FFDE2056DD460020B375 /* PBXContainerItemProxy */; 771 | sourceTree = BUILT_PRODUCTS_DIR; 772 | }; 773 | 2DF0FFE12056DD460020B375 /* libjsinspector-tvOS.a */ = { 774 | isa = PBXReferenceProxy; 775 | fileType = archive.ar; 776 | path = "libjsinspector-tvOS.a"; 777 | remoteRef = 2DF0FFE02056DD460020B375 /* PBXContainerItemProxy */; 778 | sourceTree = BUILT_PRODUCTS_DIR; 779 | }; 780 | 2DF0FFE32056DD460020B375 /* libthird-party.a */ = { 781 | isa = PBXReferenceProxy; 782 | fileType = archive.ar; 783 | path = "libthird-party.a"; 784 | remoteRef = 2DF0FFE22056DD460020B375 /* PBXContainerItemProxy */; 785 | sourceTree = BUILT_PRODUCTS_DIR; 786 | }; 787 | 2DF0FFE52056DD460020B375 /* libthird-party.a */ = { 788 | isa = PBXReferenceProxy; 789 | fileType = archive.ar; 790 | path = "libthird-party.a"; 791 | remoteRef = 2DF0FFE42056DD460020B375 /* PBXContainerItemProxy */; 792 | sourceTree = BUILT_PRODUCTS_DIR; 793 | }; 794 | 2DF0FFE72056DD460020B375 /* libdouble-conversion.a */ = { 795 | isa = PBXReferenceProxy; 796 | fileType = archive.ar; 797 | path = "libdouble-conversion.a"; 798 | remoteRef = 2DF0FFE62056DD460020B375 /* PBXContainerItemProxy */; 799 | sourceTree = BUILT_PRODUCTS_DIR; 800 | }; 801 | 2DF0FFE92056DD460020B375 /* libdouble-conversion.a */ = { 802 | isa = PBXReferenceProxy; 803 | fileType = archive.ar; 804 | path = "libdouble-conversion.a"; 805 | remoteRef = 2DF0FFE82056DD460020B375 /* PBXContainerItemProxy */; 806 | sourceTree = BUILT_PRODUCTS_DIR; 807 | }; 808 | 3DAD3E841DF850E9000B6D8A /* libRCTImage-tvOS.a */ = { 809 | isa = PBXReferenceProxy; 810 | fileType = archive.ar; 811 | path = "libRCTImage-tvOS.a"; 812 | remoteRef = 3DAD3E831DF850E9000B6D8A /* PBXContainerItemProxy */; 813 | sourceTree = BUILT_PRODUCTS_DIR; 814 | }; 815 | 3DAD3E881DF850E9000B6D8A /* libRCTLinking-tvOS.a */ = { 816 | isa = PBXReferenceProxy; 817 | fileType = archive.ar; 818 | path = "libRCTLinking-tvOS.a"; 819 | remoteRef = 3DAD3E871DF850E9000B6D8A /* PBXContainerItemProxy */; 820 | sourceTree = BUILT_PRODUCTS_DIR; 821 | }; 822 | 3DAD3E8C1DF850E9000B6D8A /* libRCTNetwork-tvOS.a */ = { 823 | isa = PBXReferenceProxy; 824 | fileType = archive.ar; 825 | path = "libRCTNetwork-tvOS.a"; 826 | remoteRef = 3DAD3E8B1DF850E9000B6D8A /* PBXContainerItemProxy */; 827 | sourceTree = BUILT_PRODUCTS_DIR; 828 | }; 829 | 3DAD3E901DF850E9000B6D8A /* libRCTSettings-tvOS.a */ = { 830 | isa = PBXReferenceProxy; 831 | fileType = archive.ar; 832 | path = "libRCTSettings-tvOS.a"; 833 | remoteRef = 3DAD3E8F1DF850E9000B6D8A /* PBXContainerItemProxy */; 834 | sourceTree = BUILT_PRODUCTS_DIR; 835 | }; 836 | 3DAD3E941DF850E9000B6D8A /* libRCTText-tvOS.a */ = { 837 | isa = PBXReferenceProxy; 838 | fileType = archive.ar; 839 | path = "libRCTText-tvOS.a"; 840 | remoteRef = 3DAD3E931DF850E9000B6D8A /* PBXContainerItemProxy */; 841 | sourceTree = BUILT_PRODUCTS_DIR; 842 | }; 843 | 3DAD3E991DF850E9000B6D8A /* libRCTWebSocket-tvOS.a */ = { 844 | isa = PBXReferenceProxy; 845 | fileType = archive.ar; 846 | path = "libRCTWebSocket-tvOS.a"; 847 | remoteRef = 3DAD3E981DF850E9000B6D8A /* PBXContainerItemProxy */; 848 | sourceTree = BUILT_PRODUCTS_DIR; 849 | }; 850 | 3DAD3EA31DF850E9000B6D8A /* libReact.a */ = { 851 | isa = PBXReferenceProxy; 852 | fileType = archive.ar; 853 | path = libReact.a; 854 | remoteRef = 3DAD3EA21DF850E9000B6D8A /* PBXContainerItemProxy */; 855 | sourceTree = BUILT_PRODUCTS_DIR; 856 | }; 857 | 3DAD3EA51DF850E9000B6D8A /* libyoga.a */ = { 858 | isa = PBXReferenceProxy; 859 | fileType = archive.ar; 860 | path = libyoga.a; 861 | remoteRef = 3DAD3EA41DF850E9000B6D8A /* PBXContainerItemProxy */; 862 | sourceTree = BUILT_PRODUCTS_DIR; 863 | }; 864 | 3DAD3EA71DF850E9000B6D8A /* libyoga.a */ = { 865 | isa = PBXReferenceProxy; 866 | fileType = archive.ar; 867 | path = libyoga.a; 868 | remoteRef = 3DAD3EA61DF850E9000B6D8A /* PBXContainerItemProxy */; 869 | sourceTree = BUILT_PRODUCTS_DIR; 870 | }; 871 | 3DAD3EA91DF850E9000B6D8A /* libcxxreact.a */ = { 872 | isa = PBXReferenceProxy; 873 | fileType = archive.ar; 874 | path = libcxxreact.a; 875 | remoteRef = 3DAD3EA81DF850E9000B6D8A /* PBXContainerItemProxy */; 876 | sourceTree = BUILT_PRODUCTS_DIR; 877 | }; 878 | 3DAD3EAB1DF850E9000B6D8A /* libcxxreact.a */ = { 879 | isa = PBXReferenceProxy; 880 | fileType = archive.ar; 881 | path = libcxxreact.a; 882 | remoteRef = 3DAD3EAA1DF850E9000B6D8A /* PBXContainerItemProxy */; 883 | sourceTree = BUILT_PRODUCTS_DIR; 884 | }; 885 | 52E99E2E2298C67400D80CAF /* libjsi.a */ = { 886 | isa = PBXReferenceProxy; 887 | fileType = archive.ar; 888 | path = libjsi.a; 889 | remoteRef = 52E99E2D2298C67400D80CAF /* PBXContainerItemProxy */; 890 | sourceTree = BUILT_PRODUCTS_DIR; 891 | }; 892 | 52E99E302298C67400D80CAF /* libjsiexecutor.a */ = { 893 | isa = PBXReferenceProxy; 894 | fileType = archive.ar; 895 | path = libjsiexecutor.a; 896 | remoteRef = 52E99E2F2298C67400D80CAF /* PBXContainerItemProxy */; 897 | sourceTree = BUILT_PRODUCTS_DIR; 898 | }; 899 | 52E99E322298C67400D80CAF /* libjsi-tvOS.a */ = { 900 | isa = PBXReferenceProxy; 901 | fileType = archive.ar; 902 | path = "libjsi-tvOS.a"; 903 | remoteRef = 52E99E312298C67400D80CAF /* PBXContainerItemProxy */; 904 | sourceTree = BUILT_PRODUCTS_DIR; 905 | }; 906 | 52E99E342298C67400D80CAF /* libjsiexecutor-tvOS.a */ = { 907 | isa = PBXReferenceProxy; 908 | fileType = archive.ar; 909 | path = "libjsiexecutor-tvOS.a"; 910 | remoteRef = 52E99E332298C67400D80CAF /* PBXContainerItemProxy */; 911 | sourceTree = BUILT_PRODUCTS_DIR; 912 | }; 913 | 52E99E392298C67700D80CAF /* libRNReactNativeReplaykit.a */ = { 914 | isa = PBXReferenceProxy; 915 | fileType = archive.ar; 916 | path = libRNReactNativeReplaykit.a; 917 | remoteRef = 52E99E382298C67700D80CAF /* PBXContainerItemProxy */; 918 | sourceTree = BUILT_PRODUCTS_DIR; 919 | }; 920 | 5E9157331DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 921 | isa = PBXReferenceProxy; 922 | fileType = archive.ar; 923 | path = libRCTAnimation.a; 924 | remoteRef = 5E9157321DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 925 | sourceTree = BUILT_PRODUCTS_DIR; 926 | }; 927 | 5E9157351DD0AC6500FF2AA8 /* libRCTAnimation.a */ = { 928 | isa = PBXReferenceProxy; 929 | fileType = archive.ar; 930 | path = libRCTAnimation.a; 931 | remoteRef = 5E9157341DD0AC6500FF2AA8 /* PBXContainerItemProxy */; 932 | sourceTree = BUILT_PRODUCTS_DIR; 933 | }; 934 | 78C398B91ACF4ADC00677621 /* libRCTLinking.a */ = { 935 | isa = PBXReferenceProxy; 936 | fileType = archive.ar; 937 | path = libRCTLinking.a; 938 | remoteRef = 78C398B81ACF4ADC00677621 /* PBXContainerItemProxy */; 939 | sourceTree = BUILT_PRODUCTS_DIR; 940 | }; 941 | 832341B51AAA6A8300B99B32 /* libRCTText.a */ = { 942 | isa = PBXReferenceProxy; 943 | fileType = archive.ar; 944 | path = libRCTText.a; 945 | remoteRef = 832341B41AAA6A8300B99B32 /* PBXContainerItemProxy */; 946 | sourceTree = BUILT_PRODUCTS_DIR; 947 | }; 948 | ADBDB9271DFEBF0700ED6528 /* libRCTBlob.a */ = { 949 | isa = PBXReferenceProxy; 950 | fileType = archive.ar; 951 | path = libRCTBlob.a; 952 | remoteRef = ADBDB9261DFEBF0700ED6528 /* PBXContainerItemProxy */; 953 | sourceTree = BUILT_PRODUCTS_DIR; 954 | }; 955 | /* End PBXReferenceProxy section */ 956 | 957 | /* Begin PBXResourcesBuildPhase section */ 958 | 13B07F8E1A680F5B00A75B9A /* Resources */ = { 959 | isa = PBXResourcesBuildPhase; 960 | buildActionMask = 2147483647; 961 | files = ( 962 | 13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */, 963 | 13B07FBD1A68108700A75B9A /* LaunchScreen.xib in Resources */, 964 | ); 965 | runOnlyForDeploymentPostprocessing = 0; 966 | }; 967 | /* End PBXResourcesBuildPhase section */ 968 | 969 | /* Begin PBXShellScriptBuildPhase section */ 970 | 00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */ = { 971 | isa = PBXShellScriptBuildPhase; 972 | buildActionMask = 2147483647; 973 | files = ( 974 | ); 975 | inputPaths = ( 976 | ); 977 | name = "Bundle React Native code and images"; 978 | outputPaths = ( 979 | ); 980 | runOnlyForDeploymentPostprocessing = 0; 981 | shellPath = /bin/sh; 982 | shellScript = "export NODE_BINARY=node\n../node_modules/react-native/scripts/react-native-xcode.sh"; 983 | }; 984 | /* End PBXShellScriptBuildPhase section */ 985 | 986 | /* Begin PBXSourcesBuildPhase section */ 987 | 13B07F871A680F5B00A75B9A /* Sources */ = { 988 | isa = PBXSourcesBuildPhase; 989 | buildActionMask = 2147483647; 990 | files = ( 991 | 52E99E3C2298C69800D80CAF /* bridge.swift in Sources */, 992 | 13B07FBC1A68108700A75B9A /* AppDelegate.m in Sources */, 993 | 13B07FC11A68108700A75B9A /* main.m in Sources */, 994 | ); 995 | runOnlyForDeploymentPostprocessing = 0; 996 | }; 997 | /* End PBXSourcesBuildPhase section */ 998 | 999 | /* Begin PBXVariantGroup section */ 1000 | 13B07FB11A68108700A75B9A /* LaunchScreen.xib */ = { 1001 | isa = PBXVariantGroup; 1002 | children = ( 1003 | 13B07FB21A68108700A75B9A /* Base */, 1004 | ); 1005 | name = LaunchScreen.xib; 1006 | path = testapp; 1007 | sourceTree = ""; 1008 | }; 1009 | /* End PBXVariantGroup section */ 1010 | 1011 | /* Begin XCBuildConfiguration section */ 1012 | 13B07F941A680F5B00A75B9A /* Debug */ = { 1013 | isa = XCBuildConfiguration; 1014 | buildSettings = { 1015 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1016 | CLANG_ENABLE_MODULES = YES; 1017 | CURRENT_PROJECT_VERSION = 1; 1018 | DEAD_CODE_STRIPPING = NO; 1019 | DEVELOPMENT_TEAM = QNYVG6H7C3; 1020 | HEADER_SEARCH_PATHS = ( 1021 | "$(inherited)", 1022 | "$(SRCROOT)/../node_modules/react-native-replaykit/ios/**", 1023 | ); 1024 | INFOPLIST_FILE = testapp/Info.plist; 1025 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1026 | OTHER_LDFLAGS = ( 1027 | "$(inherited)", 1028 | "-ObjC", 1029 | "-lc++", 1030 | ); 1031 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.testRNRKapp; 1032 | PRODUCT_NAME = testapp; 1033 | SWIFT_OBJC_BRIDGING_HEADER = "testapp-Bridging-Header.h"; 1034 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 1035 | SWIFT_VERSION = 4.2; 1036 | VERSIONING_SYSTEM = "apple-generic"; 1037 | }; 1038 | name = Debug; 1039 | }; 1040 | 13B07F951A680F5B00A75B9A /* Release */ = { 1041 | isa = XCBuildConfiguration; 1042 | buildSettings = { 1043 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 1044 | CLANG_ENABLE_MODULES = YES; 1045 | CURRENT_PROJECT_VERSION = 1; 1046 | DEVELOPMENT_TEAM = QNYVG6H7C3; 1047 | HEADER_SEARCH_PATHS = ( 1048 | "$(inherited)", 1049 | "$(SRCROOT)/../node_modules/react-native-replaykit/ios/**", 1050 | ); 1051 | INFOPLIST_FILE = testapp/Info.plist; 1052 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 1053 | OTHER_LDFLAGS = ( 1054 | "$(inherited)", 1055 | "-ObjC", 1056 | "-lc++", 1057 | ); 1058 | PRODUCT_BUNDLE_IDENTIFIER = org.reactjs.native.example.testRNRKapp; 1059 | PRODUCT_NAME = testapp; 1060 | SWIFT_OBJC_BRIDGING_HEADER = "testapp-Bridging-Header.h"; 1061 | SWIFT_VERSION = 4.2; 1062 | VERSIONING_SYSTEM = "apple-generic"; 1063 | }; 1064 | name = Release; 1065 | }; 1066 | 83CBBA201A601CBA00E9B192 /* Debug */ = { 1067 | isa = XCBuildConfiguration; 1068 | buildSettings = { 1069 | ALWAYS_SEARCH_USER_PATHS = NO; 1070 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1071 | CLANG_CXX_LIBRARY = "libc++"; 1072 | CLANG_ENABLE_MODULES = YES; 1073 | CLANG_ENABLE_OBJC_ARC = YES; 1074 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1075 | CLANG_WARN_BOOL_CONVERSION = YES; 1076 | CLANG_WARN_COMMA = YES; 1077 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1078 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1079 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1080 | CLANG_WARN_EMPTY_BODY = YES; 1081 | CLANG_WARN_ENUM_CONVERSION = YES; 1082 | CLANG_WARN_INFINITE_RECURSION = YES; 1083 | CLANG_WARN_INT_CONVERSION = YES; 1084 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1085 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1086 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1087 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1088 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1089 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1090 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1091 | CLANG_WARN_UNREACHABLE_CODE = YES; 1092 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1093 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1094 | COPY_PHASE_STRIP = NO; 1095 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1096 | ENABLE_TESTABILITY = YES; 1097 | GCC_C_LANGUAGE_STANDARD = gnu99; 1098 | GCC_DYNAMIC_NO_PIC = NO; 1099 | GCC_NO_COMMON_BLOCKS = YES; 1100 | GCC_OPTIMIZATION_LEVEL = 0; 1101 | GCC_PREPROCESSOR_DEFINITIONS = ( 1102 | "DEBUG=1", 1103 | "$(inherited)", 1104 | ); 1105 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 1106 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1107 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1108 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1109 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1110 | GCC_WARN_UNUSED_FUNCTION = YES; 1111 | GCC_WARN_UNUSED_VARIABLE = YES; 1112 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1113 | MTL_ENABLE_DEBUG_INFO = YES; 1114 | ONLY_ACTIVE_ARCH = YES; 1115 | SDKROOT = iphoneos; 1116 | }; 1117 | name = Debug; 1118 | }; 1119 | 83CBBA211A601CBA00E9B192 /* Release */ = { 1120 | isa = XCBuildConfiguration; 1121 | buildSettings = { 1122 | ALWAYS_SEARCH_USER_PATHS = NO; 1123 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 1124 | CLANG_CXX_LIBRARY = "libc++"; 1125 | CLANG_ENABLE_MODULES = YES; 1126 | CLANG_ENABLE_OBJC_ARC = YES; 1127 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 1128 | CLANG_WARN_BOOL_CONVERSION = YES; 1129 | CLANG_WARN_COMMA = YES; 1130 | CLANG_WARN_CONSTANT_CONVERSION = YES; 1131 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 1132 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 1133 | CLANG_WARN_EMPTY_BODY = YES; 1134 | CLANG_WARN_ENUM_CONVERSION = YES; 1135 | CLANG_WARN_INFINITE_RECURSION = YES; 1136 | CLANG_WARN_INT_CONVERSION = YES; 1137 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 1138 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 1139 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 1140 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 1141 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 1142 | CLANG_WARN_STRICT_PROTOTYPES = YES; 1143 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 1144 | CLANG_WARN_UNREACHABLE_CODE = YES; 1145 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 1146 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 1147 | COPY_PHASE_STRIP = YES; 1148 | ENABLE_NS_ASSERTIONS = NO; 1149 | ENABLE_STRICT_OBJC_MSGSEND = YES; 1150 | GCC_C_LANGUAGE_STANDARD = gnu99; 1151 | GCC_NO_COMMON_BLOCKS = YES; 1152 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 1153 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 1154 | GCC_WARN_UNDECLARED_SELECTOR = YES; 1155 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 1156 | GCC_WARN_UNUSED_FUNCTION = YES; 1157 | GCC_WARN_UNUSED_VARIABLE = YES; 1158 | IPHONEOS_DEPLOYMENT_TARGET = 9.0; 1159 | MTL_ENABLE_DEBUG_INFO = NO; 1160 | SDKROOT = iphoneos; 1161 | VALIDATE_PRODUCT = YES; 1162 | }; 1163 | name = Release; 1164 | }; 1165 | /* End XCBuildConfiguration section */ 1166 | 1167 | /* Begin XCConfigurationList section */ 1168 | 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "testapp" */ = { 1169 | isa = XCConfigurationList; 1170 | buildConfigurations = ( 1171 | 13B07F941A680F5B00A75B9A /* Debug */, 1172 | 13B07F951A680F5B00A75B9A /* Release */, 1173 | ); 1174 | defaultConfigurationIsVisible = 0; 1175 | defaultConfigurationName = Release; 1176 | }; 1177 | 83CBB9FA1A601CBA00E9B192 /* Build configuration list for PBXProject "testapp" */ = { 1178 | isa = XCConfigurationList; 1179 | buildConfigurations = ( 1180 | 83CBBA201A601CBA00E9B192 /* Debug */, 1181 | 83CBBA211A601CBA00E9B192 /* Release */, 1182 | ); 1183 | defaultConfigurationIsVisible = 0; 1184 | defaultConfigurationName = Release; 1185 | }; 1186 | /* End XCConfigurationList section */ 1187 | }; 1188 | rootObject = 83CBB9F71A601CBA00E9B192 /* Project object */; 1189 | } 1190 | --------------------------------------------------------------------------------