@shopify/react-native-skia 1.11.18 → 1.12.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cpp/rnskia/DawnContext.h +1 -1
- package/lib/commonjs/sksg/Recorder/Core.d.ts +1 -5
- package/lib/commonjs/sksg/Recorder/Core.js +12 -4
- package/lib/commonjs/sksg/Recorder/Core.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/Player.js +4 -5
- package/lib/commonjs/sksg/Recorder/Player.js.map +1 -1
- package/lib/commonjs/sksg/Recorder/commands/Box.js +2 -4
- package/lib/commonjs/sksg/Recorder/commands/Box.js.map +1 -1
- package/lib/module/sksg/Recorder/Core.d.ts +1 -5
- package/lib/module/sksg/Recorder/Core.js +10 -2
- package/lib/module/sksg/Recorder/Core.js.map +1 -1
- package/lib/module/sksg/Recorder/Player.js +5 -6
- package/lib/module/sksg/Recorder/Player.js.map +1 -1
- package/lib/module/sksg/Recorder/commands/Box.js +3 -5
- package/lib/module/sksg/Recorder/commands/Box.js.map +1 -1
- package/lib/typescript/lib/commonjs/sksg/Recorder/Core.d.ts +1 -1
- package/lib/typescript/lib/module/sksg/Recorder/Core.d.ts +1 -1
- package/lib/typescript/src/sksg/Recorder/Core.d.ts +1 -5
- package/package.json +1 -1
- package/react-native-skia.podspec +3 -3
- package/src/sksg/Recorder/Core.ts +5 -7
- package/src/sksg/Recorder/Player.ts +5 -6
- package/src/sksg/Recorder/commands/Box.ts +3 -5
- package/ios/RNSkia-iOS/MetalContext.h +0 -134
- package/ios/RNSkia-iOS/MetalContext.mm +0 -34
- package/ios/RNSkia-iOS/MetalWindowContext.h +0 -39
- package/ios/RNSkia-iOS/MetalWindowContext.mm +0 -60
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.h +0 -38
- package/ios/RNSkia-iOS/RNSkMetalCanvasProvider.mm +0 -103
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.h +0 -75
- package/ios/RNSkia-iOS/RNSkiOSPlatformContext.mm +0 -303
- package/ios/RNSkia-iOS/RNSkiOSVideo.h +0 -51
- package/ios/RNSkia-iOS/RNSkiOSVideo.mm +0 -137
- package/ios/RNSkia-iOS/RNSkiOSView.h +0 -37
- package/ios/RNSkia-iOS/RNSkiOSView.mm +0 -35
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.h +0 -119
- package/ios/RNSkia-iOS/SkiaCVPixelBufferUtils.mm +0 -344
- package/ios/RNSkia-iOS/SkiaManager.h +0 -25
- package/ios/RNSkia-iOS/SkiaManager.mm +0 -62
- package/ios/RNSkia-iOS/SkiaPictureView.h +0 -7
- package/ios/RNSkia-iOS/SkiaPictureView.mm +0 -66
- package/ios/RNSkia-iOS/SkiaPictureViewManager.h +0 -8
- package/ios/RNSkia-iOS/SkiaPictureViewManager.mm +0 -51
- package/ios/RNSkia-iOS/SkiaUIView.h +0 -37
- package/ios/RNSkia-iOS/SkiaUIView.mm +0 -168
- package/ios/RNSkia-iOS/ViewScreenshotService.h +0 -21
- package/ios/RNSkia-iOS/ViewScreenshotService.mm +0 -85
- package/ios/RNSkiaModule.h +0 -20
- package/ios/RNSkiaModule.mm +0 -55
- package/ios/Rnskia.xcodeproj/project.pbxproj +0 -281
- package/ios/Rnskia.xcworkspace/contents.xcworkspacedata +0 -7
@@ -1,168 +0,0 @@
|
|
1
|
-
#import <React/RCTBridge.h>
|
2
|
-
|
3
|
-
#import "RNSkiaModule.h"
|
4
|
-
#import "SkiaUIView.h"
|
5
|
-
|
6
|
-
#include <utility>
|
7
|
-
#include <vector>
|
8
|
-
|
9
|
-
#import "RNSkManager.h"
|
10
|
-
|
11
|
-
@implementation SkiaUIView {
|
12
|
-
std::shared_ptr<RNSkBaseiOSView> _impl;
|
13
|
-
RNSkia::RNSkManager *_manager;
|
14
|
-
std::function<std::shared_ptr<RNSkBaseiOSView>(
|
15
|
-
std::shared_ptr<RNSkia::RNSkPlatformContext>)>
|
16
|
-
_factory;
|
17
|
-
bool _debugMode;
|
18
|
-
bool _opaque;
|
19
|
-
size_t _nativeId;
|
20
|
-
}
|
21
|
-
|
22
|
-
#pragma mark Initialization and destruction
|
23
|
-
|
24
|
-
- (instancetype)initWithManager:(RNSkia::RNSkManager *)manager
|
25
|
-
factory:
|
26
|
-
(std::function<std::shared_ptr<RNSkBaseiOSView>(
|
27
|
-
std::shared_ptr<RNSkia::RNSkPlatformContext>)>)
|
28
|
-
factory {
|
29
|
-
self = [super init];
|
30
|
-
if (self) {
|
31
|
-
[self initCommon:manager factory:factory];
|
32
|
-
}
|
33
|
-
// Listen to notifications about module invalidation
|
34
|
-
[[NSNotificationCenter defaultCenter]
|
35
|
-
addObserver:self
|
36
|
-
selector:@selector(willInvalidateModules)
|
37
|
-
name:RCTBridgeWillInvalidateModulesNotification
|
38
|
-
object:nil];
|
39
|
-
return self;
|
40
|
-
}
|
41
|
-
|
42
|
-
- (void)initCommon:(RNSkia::RNSkManager *)manager
|
43
|
-
factory:(std::function<std::shared_ptr<RNSkBaseiOSView>(
|
44
|
-
std::shared_ptr<RNSkia::RNSkPlatformContext>)>)factory {
|
45
|
-
_manager = manager;
|
46
|
-
_nativeId = 0;
|
47
|
-
_debugMode = false;
|
48
|
-
_factory = factory;
|
49
|
-
}
|
50
|
-
|
51
|
-
- (void)willInvalidateModules {
|
52
|
-
_impl = nullptr;
|
53
|
-
_manager = nullptr;
|
54
|
-
}
|
55
|
-
|
56
|
-
#pragma mark Lifecycle
|
57
|
-
|
58
|
-
- (void)willMoveToSuperview:(UIView *)newWindow {
|
59
|
-
if (newWindow != nullptr) {
|
60
|
-
// Create implementation view when the parent view is set
|
61
|
-
if (_impl == nullptr && _manager != nullptr) {
|
62
|
-
_impl = _factory(_manager->getPlatformContext());
|
63
|
-
if (_impl == nullptr) {
|
64
|
-
throw std::runtime_error(
|
65
|
-
"Expected Skia view implementation, got nullptr.");
|
66
|
-
}
|
67
|
-
[self.layer addSublayer:_impl->getLayer()];
|
68
|
-
if (_nativeId != 0) {
|
69
|
-
_manager->setSkiaView(_nativeId, _impl->getDrawView());
|
70
|
-
}
|
71
|
-
_impl->getDrawView()->setShowDebugOverlays(_debugMode);
|
72
|
-
}
|
73
|
-
}
|
74
|
-
}
|
75
|
-
|
76
|
-
- (void)removeFromSuperview {
|
77
|
-
// Cleanup when removed from view hierarchy
|
78
|
-
if (_impl != nullptr) {
|
79
|
-
[_impl->getLayer() removeFromSuperlayer];
|
80
|
-
|
81
|
-
if (_nativeId != 0 && _manager != nullptr) {
|
82
|
-
_manager->setSkiaView(_nativeId, nullptr);
|
83
|
-
}
|
84
|
-
|
85
|
-
_impl = nullptr;
|
86
|
-
}
|
87
|
-
|
88
|
-
[super removeFromSuperview];
|
89
|
-
}
|
90
|
-
|
91
|
-
- (void)dealloc {
|
92
|
-
[self unregisterView];
|
93
|
-
[[NSNotificationCenter defaultCenter]
|
94
|
-
removeObserver:self
|
95
|
-
name:RCTBridgeWillInvalidateModulesNotification
|
96
|
-
object:nil];
|
97
|
-
}
|
98
|
-
|
99
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
100
|
-
- (void)prepareForRecycle {
|
101
|
-
[super prepareForRecycle];
|
102
|
-
[self unregisterView];
|
103
|
-
}
|
104
|
-
|
105
|
-
- (void)finalizeUpdates:(RNComponentViewUpdateMask)updateMask {
|
106
|
-
[super finalizeUpdates:updateMask];
|
107
|
-
if (updateMask == RNComponentViewUpdateMaskAll) {
|
108
|
-
// this flag is only set when the view is inserted and we want to set the
|
109
|
-
// manager here since the view could be recycled or the app could be
|
110
|
-
// refreshed and we would have a stale manager then
|
111
|
-
_manager = [SkiaManager latestActiveSkManager].get();
|
112
|
-
}
|
113
|
-
}
|
114
|
-
#endif // RCT_NEW_ARCH_ENABLED
|
115
|
-
|
116
|
-
- (void)unregisterView {
|
117
|
-
if (_manager != nullptr && _nativeId != 0) {
|
118
|
-
_manager->unregisterSkiaView(_nativeId);
|
119
|
-
}
|
120
|
-
}
|
121
|
-
|
122
|
-
#pragma Render
|
123
|
-
|
124
|
-
- (void)drawRect:(CGRect)rect {
|
125
|
-
// We override drawRect to ensure we to direct rendering when the
|
126
|
-
// underlying OS view needs to render:
|
127
|
-
if (_impl != nullptr) {
|
128
|
-
_impl->getDrawView()->redraw();
|
129
|
-
}
|
130
|
-
}
|
131
|
-
|
132
|
-
#pragma mark Layout
|
133
|
-
|
134
|
-
- (void)layoutSubviews {
|
135
|
-
[super layoutSubviews];
|
136
|
-
if (_impl != nullptr) {
|
137
|
-
_impl->setSize(self.bounds.size.width, self.bounds.size.height);
|
138
|
-
}
|
139
|
-
}
|
140
|
-
|
141
|
-
#pragma mark Properties
|
142
|
-
|
143
|
-
- (void)setDebugMode:(bool)debugMode {
|
144
|
-
_debugMode = debugMode;
|
145
|
-
if (_impl != nullptr) {
|
146
|
-
_impl->getDrawView()->setShowDebugOverlays(debugMode);
|
147
|
-
}
|
148
|
-
}
|
149
|
-
|
150
|
-
- (void)setOpaque:(bool)opaque {
|
151
|
-
_opaque = opaque;
|
152
|
-
}
|
153
|
-
|
154
|
-
- (void)setNativeId:(size_t)nativeId {
|
155
|
-
_nativeId = nativeId;
|
156
|
-
|
157
|
-
if (_impl != nullptr) {
|
158
|
-
_manager->registerSkiaView(nativeId, _impl->getDrawView());
|
159
|
-
}
|
160
|
-
}
|
161
|
-
|
162
|
-
#pragma mark External API
|
163
|
-
|
164
|
-
- (std::shared_ptr<RNSkBaseiOSView>)impl {
|
165
|
-
return _impl;
|
166
|
-
}
|
167
|
-
|
168
|
-
@end
|
@@ -1,21 +0,0 @@
|
|
1
|
-
#pragma once
|
2
|
-
|
3
|
-
#import <CoreFoundation/CoreFoundation.h>
|
4
|
-
#import <UIKit/UIKit.h>
|
5
|
-
|
6
|
-
#import <React/RCTUIManager.h>
|
7
|
-
|
8
|
-
#pragma clang diagnostic push
|
9
|
-
#pragma clang diagnostic ignored "-Wdocumentation"
|
10
|
-
|
11
|
-
#include "include/core/SkImage.h"
|
12
|
-
|
13
|
-
#pragma clang diagnostic pop
|
14
|
-
|
15
|
-
@interface ViewScreenshotService : NSObject {
|
16
|
-
}
|
17
|
-
|
18
|
-
- (instancetype)initWithUiManager:(RCTUIManager *)uiManager;
|
19
|
-
- (sk_sp<SkImage>)screenshotOfViewWithTag:(NSNumber *)viewTag;
|
20
|
-
|
21
|
-
@end
|
@@ -1,85 +0,0 @@
|
|
1
|
-
#import "ViewScreenshotService.h"
|
2
|
-
#import <QuartzCore/QuartzCore.h>
|
3
|
-
|
4
|
-
#pragma clang diagnostic push
|
5
|
-
#pragma clang diagnostic ignored "-Wdocumentation"
|
6
|
-
|
7
|
-
#include "include/core/SkData.h"
|
8
|
-
|
9
|
-
#pragma clang diagnostic pop
|
10
|
-
|
11
|
-
@implementation ViewScreenshotService {
|
12
|
-
RCTUIManager *_uiManager;
|
13
|
-
}
|
14
|
-
|
15
|
-
- (instancetype)initWithUiManager:(RCTUIManager *)uiManager {
|
16
|
-
if (self = [super init]) {
|
17
|
-
_uiManager = uiManager;
|
18
|
-
}
|
19
|
-
return self;
|
20
|
-
}
|
21
|
-
|
22
|
-
- (sk_sp<SkImage>)screenshotOfViewWithTag:(NSNumber *)viewTag {
|
23
|
-
// Find view corresponding to the tag
|
24
|
-
auto view = [_uiManager viewForReactTag:viewTag];
|
25
|
-
if (view == NULL) {
|
26
|
-
RCTFatal(RCTErrorWithMessage(@"Could not find view with tag"));
|
27
|
-
return nullptr;
|
28
|
-
}
|
29
|
-
|
30
|
-
// Get size
|
31
|
-
CGSize size = view.frame.size;
|
32
|
-
|
33
|
-
// Setup context
|
34
|
-
UIGraphicsImageRendererFormat *format =
|
35
|
-
[UIGraphicsImageRendererFormat defaultFormat];
|
36
|
-
format.opaque = NO;
|
37
|
-
format.preferredRange = UIGraphicsImageRendererFormatRangeStandard;
|
38
|
-
|
39
|
-
UIGraphicsImageRenderer *renderer =
|
40
|
-
[[UIGraphicsImageRenderer alloc] initWithSize:size format:format];
|
41
|
-
|
42
|
-
// Render to context - this is now the only part of this function that shows
|
43
|
-
// up in the profiler!
|
44
|
-
UIImage *image = [renderer
|
45
|
-
imageWithActions:^(UIGraphicsImageRendererContext *_Nonnull context) {
|
46
|
-
[view drawViewHierarchyInRect:(CGRect){CGPointZero, size}
|
47
|
-
afterScreenUpdates:YES];
|
48
|
-
}];
|
49
|
-
|
50
|
-
// Convert from UIImage -> CGImage -> SkImage
|
51
|
-
CGImageRef cgImage = image.CGImage;
|
52
|
-
|
53
|
-
// Get some info about the image
|
54
|
-
auto width = CGImageGetWidth(cgImage);
|
55
|
-
auto height = CGImageGetHeight(cgImage);
|
56
|
-
auto bytesPerRow = CGImageGetBytesPerRow(cgImage);
|
57
|
-
|
58
|
-
// Convert from UIImage -> SkImage, start by getting the pixels directly from
|
59
|
-
// the CGImage:
|
60
|
-
auto dataRef = CGDataProviderCopyData(CGImageGetDataProvider(cgImage));
|
61
|
-
auto length = CFDataGetLength(dataRef);
|
62
|
-
void *data = CFDataGetMutableBytePtr((CFMutableDataRef)dataRef);
|
63
|
-
|
64
|
-
// Now we'll capture the data in an SkData object and control releasing it:
|
65
|
-
auto skData = SkData::MakeWithProc(
|
66
|
-
data, length,
|
67
|
-
[](const void *ptr, void *context) {
|
68
|
-
CFDataRef dataRef = (CFDataRef)context;
|
69
|
-
CFRelease(dataRef);
|
70
|
-
},
|
71
|
-
(void *)dataRef);
|
72
|
-
|
73
|
-
// Make SkImageInfo
|
74
|
-
// We're using kBGRA_8888_SkColorType since this is what we get when the
|
75
|
-
// UIGraphicsImageRenderer uses the standard format (the extended is using
|
76
|
-
// 64bits so it is not suitable for us).
|
77
|
-
SkImageInfo info =
|
78
|
-
SkImageInfo::Make(static_cast<int>(width), static_cast<int>(height),
|
79
|
-
kBGRA_8888_SkColorType, kPremul_SkAlphaType);
|
80
|
-
|
81
|
-
// ... and then create the SkImage itself!
|
82
|
-
return SkImages::RasterFromData(info, skData, bytesPerRow);
|
83
|
-
}
|
84
|
-
|
85
|
-
@end
|
package/ios/RNSkiaModule.h
DELETED
@@ -1,20 +0,0 @@
|
|
1
|
-
#pragma once
|
2
|
-
|
3
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
4
|
-
#import <rnskia/rnskia.h>
|
5
|
-
#else
|
6
|
-
#import <React/RCTBridgeModule.h>
|
7
|
-
#endif
|
8
|
-
|
9
|
-
#include "SkiaManager.h"
|
10
|
-
|
11
|
-
@interface RNSkiaModule : NSObject
|
12
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
13
|
-
<NativeSkiaModuleSpec>
|
14
|
-
#else
|
15
|
-
<RCTBridgeModule>
|
16
|
-
#endif
|
17
|
-
|
18
|
-
- (SkiaManager *)manager;
|
19
|
-
|
20
|
-
@end
|
package/ios/RNSkiaModule.mm
DELETED
@@ -1,55 +0,0 @@
|
|
1
|
-
|
2
|
-
#import "RNSkiaModule.h"
|
3
|
-
#import <React/RCTBridge+Private.h>
|
4
|
-
#import <ReactCommon/RCTTurboModule.h>
|
5
|
-
|
6
|
-
@implementation RNSkiaModule {
|
7
|
-
SkiaManager *skiaManager;
|
8
|
-
std::shared_ptr<facebook::react::CallInvoker> jsInvoker;
|
9
|
-
}
|
10
|
-
|
11
|
-
RCT_EXPORT_MODULE()
|
12
|
-
@synthesize bridge = _bridge;
|
13
|
-
|
14
|
-
#pragma Accessors
|
15
|
-
|
16
|
-
- (SkiaManager *)manager {
|
17
|
-
return skiaManager;
|
18
|
-
}
|
19
|
-
|
20
|
-
#pragma Setup and invalidation
|
21
|
-
|
22
|
-
+ (BOOL)requiresMainQueueSetup {
|
23
|
-
return YES;
|
24
|
-
}
|
25
|
-
|
26
|
-
- (void)invalidate {
|
27
|
-
if (skiaManager != nil) {
|
28
|
-
[skiaManager invalidate];
|
29
|
-
}
|
30
|
-
skiaManager = nil;
|
31
|
-
}
|
32
|
-
|
33
|
-
RCT_EXPORT_BLOCKING_SYNCHRONOUS_METHOD(install) {
|
34
|
-
if (skiaManager != nil) {
|
35
|
-
// Already initialized, ignore call.
|
36
|
-
return @true;
|
37
|
-
}
|
38
|
-
RCTCxxBridge *cxxBridge = (RCTCxxBridge *)self.bridge;
|
39
|
-
if (!jsInvoker) {
|
40
|
-
jsInvoker = cxxBridge.jsCallInvoker;
|
41
|
-
}
|
42
|
-
skiaManager = [[SkiaManager alloc] initWithBridge:cxxBridge
|
43
|
-
jsInvoker:jsInvoker];
|
44
|
-
return @true;
|
45
|
-
}
|
46
|
-
|
47
|
-
#ifdef RCT_NEW_ARCH_ENABLED
|
48
|
-
- (std::shared_ptr<facebook::react::TurboModule>)getTurboModule:
|
49
|
-
(const facebook::react::ObjCTurboModule::InitParams &)params {
|
50
|
-
jsInvoker = params.jsInvoker;
|
51
|
-
return std::make_shared<facebook::react::NativeSkiaModuleSpecJSI>(params);
|
52
|
-
}
|
53
|
-
#endif
|
54
|
-
|
55
|
-
@end
|
@@ -1,281 +0,0 @@
|
|
1
|
-
// !$*UTF8*$!
|
2
|
-
{
|
3
|
-
archiveVersion = 1;
|
4
|
-
classes = {
|
5
|
-
};
|
6
|
-
objectVersion = 46;
|
7
|
-
objects = {
|
8
|
-
|
9
|
-
/* Begin PBXCopyFilesBuildPhase section */
|
10
|
-
58B511D91A9E6C8500147676 /* CopyFiles */ = {
|
11
|
-
isa = PBXCopyFilesBuildPhase;
|
12
|
-
buildActionMask = 2147483647;
|
13
|
-
dstPath = "include/$(PRODUCT_NAME)";
|
14
|
-
dstSubfolderSpec = 16;
|
15
|
-
files = (
|
16
|
-
);
|
17
|
-
runOnlyForDeploymentPostprocessing = 0;
|
18
|
-
};
|
19
|
-
/* End PBXCopyFilesBuildPhase section */
|
20
|
-
|
21
|
-
/* Begin PBXFileReference section */
|
22
|
-
134814201AA4EA6300B7C361 /* libRnskia.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libRnskia.a; sourceTree = BUILT_PRODUCTS_DIR; };
|
23
|
-
/* End PBXFileReference section */
|
24
|
-
|
25
|
-
/* Begin PBXFrameworksBuildPhase section */
|
26
|
-
58B511D81A9E6C8500147676 /* Frameworks */ = {
|
27
|
-
isa = PBXFrameworksBuildPhase;
|
28
|
-
buildActionMask = 2147483647;
|
29
|
-
files = (
|
30
|
-
);
|
31
|
-
runOnlyForDeploymentPostprocessing = 0;
|
32
|
-
};
|
33
|
-
/* End PBXFrameworksBuildPhase section */
|
34
|
-
|
35
|
-
/* Begin PBXGroup section */
|
36
|
-
134814211AA4EA7D00B7C361 /* Products */ = {
|
37
|
-
isa = PBXGroup;
|
38
|
-
children = (
|
39
|
-
134814201AA4EA6300B7C361 /* libRnskia.a */,
|
40
|
-
);
|
41
|
-
name = Products;
|
42
|
-
sourceTree = "<group>";
|
43
|
-
};
|
44
|
-
58B511D21A9E6C8500147676 = {
|
45
|
-
isa = PBXGroup;
|
46
|
-
children = (
|
47
|
-
134814211AA4EA7D00B7C361 /* Products */,
|
48
|
-
);
|
49
|
-
sourceTree = "<group>";
|
50
|
-
};
|
51
|
-
/* End PBXGroup section */
|
52
|
-
|
53
|
-
/* Begin PBXNativeTarget section */
|
54
|
-
58B511DA1A9E6C8500147676 /* Rnskia */ = {
|
55
|
-
isa = PBXNativeTarget;
|
56
|
-
buildConfigurationList = 58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "Rnskia" */;
|
57
|
-
buildPhases = (
|
58
|
-
58B511D71A9E6C8500147676 /* Sources */,
|
59
|
-
58B511D81A9E6C8500147676 /* Frameworks */,
|
60
|
-
58B511D91A9E6C8500147676 /* CopyFiles */,
|
61
|
-
);
|
62
|
-
buildRules = (
|
63
|
-
);
|
64
|
-
dependencies = (
|
65
|
-
);
|
66
|
-
name = Rnskia;
|
67
|
-
productName = RCTDataManager;
|
68
|
-
productReference = 134814201AA4EA6300B7C361 /* libRnskia.a */;
|
69
|
-
productType = "com.apple.product-type.library.static";
|
70
|
-
};
|
71
|
-
/* End PBXNativeTarget section */
|
72
|
-
|
73
|
-
/* Begin PBXProject section */
|
74
|
-
58B511D31A9E6C8500147676 /* Project object */ = {
|
75
|
-
isa = PBXProject;
|
76
|
-
attributes = {
|
77
|
-
LastUpgradeCheck = 0920;
|
78
|
-
ORGANIZATIONNAME = Facebook;
|
79
|
-
TargetAttributes = {
|
80
|
-
58B511DA1A9E6C8500147676 = {
|
81
|
-
CreatedOnToolsVersion = 6.1.1;
|
82
|
-
};
|
83
|
-
};
|
84
|
-
};
|
85
|
-
buildConfigurationList = 58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "Rnskia" */;
|
86
|
-
compatibilityVersion = "Xcode 3.2";
|
87
|
-
developmentRegion = en;
|
88
|
-
hasScannedForEncodings = 0;
|
89
|
-
knownRegions = (
|
90
|
-
en,
|
91
|
-
Base,
|
92
|
-
);
|
93
|
-
mainGroup = 58B511D21A9E6C8500147676;
|
94
|
-
productRefGroup = 58B511D21A9E6C8500147676;
|
95
|
-
projectDirPath = "";
|
96
|
-
projectRoot = "";
|
97
|
-
targets = (
|
98
|
-
58B511DA1A9E6C8500147676 /* Rnskia */,
|
99
|
-
);
|
100
|
-
};
|
101
|
-
/* End PBXProject section */
|
102
|
-
|
103
|
-
/* Begin PBXSourcesBuildPhase section */
|
104
|
-
58B511D71A9E6C8500147676 /* Sources */ = {
|
105
|
-
isa = PBXSourcesBuildPhase;
|
106
|
-
buildActionMask = 2147483647;
|
107
|
-
files = (
|
108
|
-
);
|
109
|
-
runOnlyForDeploymentPostprocessing = 0;
|
110
|
-
};
|
111
|
-
/* End PBXSourcesBuildPhase section */
|
112
|
-
|
113
|
-
/* Begin XCBuildConfiguration section */
|
114
|
-
58B511ED1A9E6C8500147676 /* Debug */ = {
|
115
|
-
isa = XCBuildConfiguration;
|
116
|
-
buildSettings = {
|
117
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
118
|
-
CLANG_ANALYZER_NONNULL = YES;
|
119
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
120
|
-
CLANG_CXX_LIBRARY = "libc++";
|
121
|
-
CLANG_ENABLE_MODULES = YES;
|
122
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
123
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
124
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
125
|
-
CLANG_WARN_COMMA = YES;
|
126
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
127
|
-
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
128
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
129
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
130
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
131
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
132
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
133
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
134
|
-
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
135
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
136
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
137
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
138
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
139
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
140
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
141
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
142
|
-
COPY_PHASE_STRIP = NO;
|
143
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
144
|
-
ENABLE_TESTABILITY = YES;
|
145
|
-
GCC_C_LANGUAGE_STANDARD = gnu99;
|
146
|
-
GCC_DYNAMIC_NO_PIC = NO;
|
147
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
148
|
-
GCC_OPTIMIZATION_LEVEL = 0;
|
149
|
-
GCC_PREPROCESSOR_DEFINITIONS = (
|
150
|
-
"DEBUG=1",
|
151
|
-
"$(inherited)",
|
152
|
-
);
|
153
|
-
GCC_SYMBOLS_PRIVATE_EXTERN = NO;
|
154
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
155
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
156
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
157
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
158
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
159
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
160
|
-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
|
161
|
-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
162
|
-
LIBRARY_SEARCH_PATHS = (
|
163
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
164
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
|
165
|
-
"\"$(inherited)\"",
|
166
|
-
);
|
167
|
-
MTL_ENABLE_DEBUG_INFO = YES;
|
168
|
-
ONLY_ACTIVE_ARCH = YES;
|
169
|
-
SDKROOT = iphoneos;
|
170
|
-
};
|
171
|
-
name = Debug;
|
172
|
-
};
|
173
|
-
58B511EE1A9E6C8500147676 /* Release */ = {
|
174
|
-
isa = XCBuildConfiguration;
|
175
|
-
buildSettings = {
|
176
|
-
ALWAYS_SEARCH_USER_PATHS = NO;
|
177
|
-
CLANG_ANALYZER_NONNULL = YES;
|
178
|
-
CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
|
179
|
-
CLANG_CXX_LIBRARY = "libc++";
|
180
|
-
CLANG_ENABLE_MODULES = YES;
|
181
|
-
CLANG_ENABLE_OBJC_ARC = YES;
|
182
|
-
CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
|
183
|
-
CLANG_WARN_BOOL_CONVERSION = YES;
|
184
|
-
CLANG_WARN_COMMA = YES;
|
185
|
-
CLANG_WARN_CONSTANT_CONVERSION = YES;
|
186
|
-
CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
|
187
|
-
CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
|
188
|
-
CLANG_WARN_EMPTY_BODY = YES;
|
189
|
-
CLANG_WARN_ENUM_CONVERSION = YES;
|
190
|
-
CLANG_WARN_INFINITE_RECURSION = YES;
|
191
|
-
CLANG_WARN_INT_CONVERSION = YES;
|
192
|
-
CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
|
193
|
-
CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
|
194
|
-
CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
|
195
|
-
CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
|
196
|
-
CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
|
197
|
-
CLANG_WARN_STRICT_PROTOTYPES = YES;
|
198
|
-
CLANG_WARN_SUSPICIOUS_MOVE = YES;
|
199
|
-
CLANG_WARN_UNREACHABLE_CODE = YES;
|
200
|
-
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
201
|
-
COPY_PHASE_STRIP = YES;
|
202
|
-
ENABLE_NS_ASSERTIONS = NO;
|
203
|
-
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
204
|
-
GCC_C_LANGUAGE_STANDARD = gnu99;
|
205
|
-
GCC_NO_COMMON_BLOCKS = YES;
|
206
|
-
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
207
|
-
GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
|
208
|
-
GCC_WARN_UNDECLARED_SELECTOR = YES;
|
209
|
-
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
210
|
-
GCC_WARN_UNUSED_FUNCTION = YES;
|
211
|
-
GCC_WARN_UNUSED_VARIABLE = YES;
|
212
|
-
IPHONEOS_DEPLOYMENT_TARGET = 9.0;
|
213
|
-
LD_RUNPATH_SEARCH_PATHS = "/usr/lib/swift $(inherited)";
|
214
|
-
LIBRARY_SEARCH_PATHS = (
|
215
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
216
|
-
"\"$(TOOLCHAIN_DIR)/usr/lib/swift-5.0/$(PLATFORM_NAME)\"",
|
217
|
-
"\"$(inherited)\"",
|
218
|
-
);
|
219
|
-
MTL_ENABLE_DEBUG_INFO = NO;
|
220
|
-
SDKROOT = iphoneos;
|
221
|
-
VALIDATE_PRODUCT = YES;
|
222
|
-
};
|
223
|
-
name = Release;
|
224
|
-
};
|
225
|
-
58B511F01A9E6C8500147676 /* Debug */ = {
|
226
|
-
isa = XCBuildConfiguration;
|
227
|
-
buildSettings = {
|
228
|
-
HEADER_SEARCH_PATHS = (
|
229
|
-
"$(inherited)",
|
230
|
-
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/include,
|
231
|
-
"$(SRCROOT)/../../../React/**",
|
232
|
-
"$(SRCROOT)/../../react-native/React/**",
|
233
|
-
);
|
234
|
-
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
235
|
-
OTHER_LDFLAGS = "-ObjC";
|
236
|
-
PRODUCT_NAME = Rnskia;
|
237
|
-
SKIP_INSTALL = YES;
|
238
|
-
};
|
239
|
-
name = Debug;
|
240
|
-
};
|
241
|
-
58B511F11A9E6C8500147676 /* Release */ = {
|
242
|
-
isa = XCBuildConfiguration;
|
243
|
-
buildSettings = {
|
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
|
-
LIBRARY_SEARCH_PATHS = "$(inherited)";
|
251
|
-
OTHER_LDFLAGS = "-ObjC";
|
252
|
-
PRODUCT_NAME = Rnskia;
|
253
|
-
SKIP_INSTALL = YES;
|
254
|
-
};
|
255
|
-
name = Release;
|
256
|
-
};
|
257
|
-
/* End XCBuildConfiguration section */
|
258
|
-
|
259
|
-
/* Begin XCConfigurationList section */
|
260
|
-
58B511D61A9E6C8500147676 /* Build configuration list for PBXProject "Rnskia" */ = {
|
261
|
-
isa = XCConfigurationList;
|
262
|
-
buildConfigurations = (
|
263
|
-
58B511ED1A9E6C8500147676 /* Debug */,
|
264
|
-
58B511EE1A9E6C8500147676 /* Release */,
|
265
|
-
);
|
266
|
-
defaultConfigurationIsVisible = 0;
|
267
|
-
defaultConfigurationName = Release;
|
268
|
-
};
|
269
|
-
58B511EF1A9E6C8500147676 /* Build configuration list for PBXNativeTarget "Rnskia" */ = {
|
270
|
-
isa = XCConfigurationList;
|
271
|
-
buildConfigurations = (
|
272
|
-
58B511F01A9E6C8500147676 /* Debug */,
|
273
|
-
58B511F11A9E6C8500147676 /* Release */,
|
274
|
-
);
|
275
|
-
defaultConfigurationIsVisible = 0;
|
276
|
-
defaultConfigurationName = Release;
|
277
|
-
};
|
278
|
-
/* End XCConfigurationList section */
|
279
|
-
};
|
280
|
-
rootObject = 58B511D31A9E6C8500147676 /* Project object */;
|
281
|
-
}
|