mixpanel-react-native 3.0.2 → 3.0.3
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/.github/workflows/node.js.yml +10 -3
- package/CHANGELOG.md +19 -0
- package/MixpanelReactNative.podspec +1 -1
- package/README.md +28 -3
- package/Samples/SimpleMixpanel/{App.js → App.tsx} +8 -8
- package/Samples/SimpleMixpanel/Gemfile +9 -0
- package/Samples/SimpleMixpanel/README.md +79 -0
- package/Samples/SimpleMixpanel/__tests__/{App-test.js → App.test.tsx} +3 -0
- package/Samples/SimpleMixpanel/android/app/build.gradle +58 -162
- package/Samples/SimpleMixpanel/android/app/src/debug/AndroidManifest.xml +1 -5
- package/Samples/SimpleMixpanel/android/app/src/main/AndroidManifest.xml +4 -4
- package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.kt +22 -0
- package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.kt +43 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/drawable/rn_edit_text_material.xml +37 -0
- package/Samples/SimpleMixpanel/android/app/src/main/res/values/styles.xml +1 -1
- package/Samples/SimpleMixpanel/android/build.gradle +11 -28
- package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.jar +0 -0
- package/Samples/SimpleMixpanel/android/gradle/wrapper/gradle-wrapper.properties +3 -1
- package/Samples/SimpleMixpanel/android/gradle.properties +17 -4
- package/Samples/SimpleMixpanel/android/gradlew +173 -109
- package/Samples/SimpleMixpanel/android/gradlew.bat +92 -89
- package/Samples/SimpleMixpanel/android/settings.gradle +1 -0
- package/Samples/SimpleMixpanel/app.json +1 -1
- package/Samples/SimpleMixpanel/babel.config.js +1 -1
- package/Samples/SimpleMixpanel/ios/.xcode.env +11 -0
- package/Samples/SimpleMixpanel/ios/Podfile +24 -13
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.h +2 -4
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.mm +31 -0
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Images.xcassets/AppIcon.appiconset/Contents.json +30 -15
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/Info.plist +8 -11
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/PrivacyInfo.xcprivacy +38 -0
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/main.m +2 -1
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcodeproj/project.pbxproj +130 -114
- package/Samples/SimpleMixpanel/ios/SimpleMixpanelTests/SimpleMixpanelTests.m +14 -13
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec-generated.mm +1895 -0
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpec/FBReactNativeSpec.h +2343 -0
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI-generated.cpp +2542 -0
- package/Samples/SimpleMixpanel/ios/build/generated/ios/FBReactNativeSpecJSI.h +8693 -0
- package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.h +18 -0
- package/Samples/SimpleMixpanel/ios/build/generated/ios/RCTModulesConformingToProtocolsProvider.mm +33 -0
- package/Samples/SimpleMixpanel/ios/build/generated/ios/React-Codegen.podspec.json +1 -0
- package/Samples/SimpleMixpanel/jest.config.js +3 -0
- package/Samples/SimpleMixpanel/metro.config.js +7 -13
- package/Samples/SimpleMixpanel/package.json +23 -15
- package/Samples/SimpleMixpanel/tsconfig.json +3 -0
- package/Samples/SimpleMixpanel/yarn.lock +6814 -0
- package/__tests__/jest_setup.js +3 -3
- package/android/build.gradle +1 -1
- package/docs/Mixpanel.html +1 -1
- package/docs/MixpanelGroup.html +1 -1
- package/docs/People.html +1 -1
- package/docs/index.html +26 -3
- package/docs/index.js.html +1 -1
- package/index.d.ts +7 -1
- package/javascript/mixpanel-main.js +1 -1
- package/javascript/mixpanel-persistent.js +0 -2
- package/package.json +1 -1
- package/Samples/SimpleMixpanel/.buckconfig +0 -6
- package/Samples/SimpleMixpanel/.editorconfig +0 -3
- package/Samples/SimpleMixpanel/.eslintrc.js +0 -4
- package/Samples/SimpleMixpanel/.flowconfig +0 -66
- package/Samples/SimpleMixpanel/.gitattributes +0 -3
- package/Samples/SimpleMixpanel/.prettierrc.js +0 -7
- package/Samples/SimpleMixpanel/.watchmanconfig +0 -1
- package/Samples/SimpleMixpanel/android/.project +0 -28
- package/Samples/SimpleMixpanel/android/app/BUCK +0 -55
- package/Samples/SimpleMixpanel/android/app/build_defs.bzl +0 -19
- package/Samples/SimpleMixpanel/android/app/src/debug/java/com/simplemixpanel/ReactNativeFlipper.java +0 -72
- package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainActivity.java +0 -15
- package/Samples/SimpleMixpanel/android/app/src/main/java/com/simplemixpanel/MainApplication.java +0 -80
- package/Samples/SimpleMixpanel/ios/File.swift +0 -8
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel/AppDelegate.m +0 -62
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel-Bridging-Header.h +0 -4
- package/Samples/SimpleMixpanel/ios/SimpleMixpanel.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist +0 -8
- package/logs/.b11bf985d66a037ca5688a574653f3bf76a28dfa-audit.json +0 -29
- package/logs/.c366df74eeb671df60a57a2075ae40a3dae2af25-audit.json +0 -29
|
@@ -8,13 +8,13 @@
|
|
|
8
8
|
|
|
9
9
|
/* Begin PBXBuildFile section */
|
|
10
10
|
00E356F31AD99517003FC87E /* SimpleMixpanelTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 00E356F21AD99517003FC87E /* SimpleMixpanelTests.m */; };
|
|
11
|
-
|
|
11
|
+
0C80B921A6F3F58F76C31292 /* libPods-SimpleMixpanel.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 5DCACB8F33CDC322A6C60F78 /* libPods-SimpleMixpanel.a */; };
|
|
12
|
+
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB01A68108700A75B9A /* AppDelegate.mm */; };
|
|
12
13
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 13B07FB51A68108700A75B9A /* Images.xcassets */; };
|
|
13
14
|
13B07FC11A68108700A75B9A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 13B07FB71A68108700A75B9A /* main.m */; };
|
|
14
|
-
|
|
15
|
-
7CC0DE7040746A2C99E2EE33 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = CAFB756668505CFE5DC582F2 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */; };
|
|
15
|
+
7699B88040F8A987B510C191 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 19F6CBCC0A4E27FBF8BF4A61 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */; };
|
|
16
16
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */; };
|
|
17
|
-
|
|
17
|
+
B08083FFA4C9A392155F8E36 /* PrivacyInfo.xcprivacy in Resources */ = {isa = PBXBuildFile; fileRef = 2D1ED16AEEB428C367FAFCB4 /* PrivacyInfo.xcprivacy */; };
|
|
18
18
|
/* End PBXBuildFile section */
|
|
19
19
|
|
|
20
20
|
/* Begin PBXContainerItemProxy section */
|
|
@@ -33,20 +33,20 @@
|
|
|
33
33
|
00E356F21AD99517003FC87E /* SimpleMixpanelTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = SimpleMixpanelTests.m; sourceTree = "<group>"; };
|
|
34
34
|
13B07F961A680F5B00A75B9A /* SimpleMixpanel.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SimpleMixpanel.app; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
35
35
|
13B07FAF1A68108700A75B9A /* AppDelegate.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = AppDelegate.h; path = SimpleMixpanel/AppDelegate.h; sourceTree = "<group>"; };
|
|
36
|
-
13B07FB01A68108700A75B9A /* AppDelegate.
|
|
36
|
+
13B07FB01A68108700A75B9A /* AppDelegate.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; name = AppDelegate.mm; path = SimpleMixpanel/AppDelegate.mm; sourceTree = "<group>"; };
|
|
37
37
|
13B07FB51A68108700A75B9A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; name = Images.xcassets; path = SimpleMixpanel/Images.xcassets; sourceTree = "<group>"; };
|
|
38
38
|
13B07FB61A68108700A75B9A /* Info.plist */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = Info.plist; path = SimpleMixpanel/Info.plist; sourceTree = "<group>"; };
|
|
39
39
|
13B07FB71A68108700A75B9A /* main.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; name = main.m; path = SimpleMixpanel/main.m; sourceTree = "<group>"; };
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
40
|
+
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.plist.xml; name = PrivacyInfo.xcprivacy; path = SimpleMixpanel/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
|
41
|
+
19F6CBCC0A4E27FBF8BF4A61 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel-SimpleMixpanelTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
42
|
+
2D1ED16AEEB428C367FAFCB4 /* PrivacyInfo.xcprivacy */ = {isa = PBXFileReference; includeInIndex = 1; name = PrivacyInfo.xcprivacy; path = SimpleMixpanel/PrivacyInfo.xcprivacy; sourceTree = "<group>"; };
|
|
43
|
+
3B4392A12AC88292D35C810B /* Pods-SimpleMixpanel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.debug.xcconfig"; sourceTree = "<group>"; };
|
|
44
|
+
5709B34CF0A7D63546082F79 /* Pods-SimpleMixpanel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.release.xcconfig"; sourceTree = "<group>"; };
|
|
45
|
+
5B7EB9410499542E8C5724F5 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig"; sourceTree = "<group>"; };
|
|
46
|
+
5DCACB8F33CDC322A6C60F78 /* libPods-SimpleMixpanel.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
43
47
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.storyboard; name = LaunchScreen.storyboard; path = SimpleMixpanel/LaunchScreen.storyboard; sourceTree = "<group>"; };
|
|
44
|
-
|
|
45
|
-
8678DF7426B290DB00D79E6C /* File.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = File.swift; sourceTree = "<group>"; };
|
|
46
|
-
B8026F8D66041E8A3B5B5179 /* Pods-SimpleMixpanel.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.release.xcconfig"; sourceTree = "<group>"; };
|
|
47
|
-
CAFB756668505CFE5DC582F2 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-SimpleMixpanel-SimpleMixpanelTests.a"; sourceTree = BUILT_PRODUCTS_DIR; };
|
|
48
|
+
89C6BE57DB24E9ADA2F236DE /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig"; sourceTree = "<group>"; };
|
|
48
49
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = JavaScriptCore.framework; path = System/Library/Frameworks/JavaScriptCore.framework; sourceTree = SDKROOT; };
|
|
49
|
-
F15E50B7C014A9FEFC82D6A8 /* Pods-SimpleMixpanel.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SimpleMixpanel.debug.xcconfig"; path = "Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel.debug.xcconfig"; sourceTree = "<group>"; };
|
|
50
50
|
/* End PBXFileReference section */
|
|
51
51
|
|
|
52
52
|
/* Begin PBXFrameworksBuildPhase section */
|
|
@@ -54,7 +54,7 @@
|
|
|
54
54
|
isa = PBXFrameworksBuildPhase;
|
|
55
55
|
buildActionMask = 2147483647;
|
|
56
56
|
files = (
|
|
57
|
-
|
|
57
|
+
7699B88040F8A987B510C191 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a in Frameworks */,
|
|
58
58
|
);
|
|
59
59
|
runOnlyForDeploymentPostprocessing = 0;
|
|
60
60
|
};
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
isa = PBXFrameworksBuildPhase;
|
|
63
63
|
buildActionMask = 2147483647;
|
|
64
64
|
files = (
|
|
65
|
-
|
|
65
|
+
0C80B921A6F3F58F76C31292 /* libPods-SimpleMixpanel.a in Frameworks */,
|
|
66
66
|
);
|
|
67
67
|
runOnlyForDeploymentPostprocessing = 0;
|
|
68
68
|
};
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
isa = PBXGroup;
|
|
91
91
|
children = (
|
|
92
92
|
13B07FAF1A68108700A75B9A /* AppDelegate.h */,
|
|
93
|
-
13B07FB01A68108700A75B9A /* AppDelegate.
|
|
93
|
+
13B07FB01A68108700A75B9A /* AppDelegate.mm */,
|
|
94
94
|
13B07FB51A68108700A75B9A /* Images.xcassets */,
|
|
95
95
|
13B07FB61A68108700A75B9A /* Info.plist */,
|
|
96
96
|
81AB9BB72411601600AC10FF /* LaunchScreen.storyboard */,
|
|
97
97
|
13B07FB71A68108700A75B9A /* main.m */,
|
|
98
|
-
|
|
99
|
-
|
|
98
|
+
13B07FB81A68108700A75B9A /* PrivacyInfo.xcprivacy */,
|
|
99
|
+
2D1ED16AEEB428C367FAFCB4 /* PrivacyInfo.xcprivacy */,
|
|
100
100
|
);
|
|
101
101
|
name = SimpleMixpanel;
|
|
102
102
|
sourceTree = "<group>";
|
|
@@ -105,23 +105,12 @@
|
|
|
105
105
|
isa = PBXGroup;
|
|
106
106
|
children = (
|
|
107
107
|
ED297162215061F000B7C4FE /* JavaScriptCore.framework */,
|
|
108
|
-
|
|
109
|
-
|
|
108
|
+
5DCACB8F33CDC322A6C60F78 /* libPods-SimpleMixpanel.a */,
|
|
109
|
+
19F6CBCC0A4E27FBF8BF4A61 /* libPods-SimpleMixpanel-SimpleMixpanelTests.a */,
|
|
110
110
|
);
|
|
111
111
|
name = Frameworks;
|
|
112
112
|
sourceTree = "<group>";
|
|
113
113
|
};
|
|
114
|
-
52E97BCE9B68F2C2BAE71B3E /* Pods */ = {
|
|
115
|
-
isa = PBXGroup;
|
|
116
|
-
children = (
|
|
117
|
-
F15E50B7C014A9FEFC82D6A8 /* Pods-SimpleMixpanel.debug.xcconfig */,
|
|
118
|
-
B8026F8D66041E8A3B5B5179 /* Pods-SimpleMixpanel.release.xcconfig */,
|
|
119
|
-
4DF27CA6B98EF6271133F786 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */,
|
|
120
|
-
4A04A584A264CCE868DD43C2 /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */,
|
|
121
|
-
);
|
|
122
|
-
path = Pods;
|
|
123
|
-
sourceTree = "<group>";
|
|
124
|
-
};
|
|
125
114
|
832341AE1AAA6A7D00B99B32 /* Libraries */ = {
|
|
126
115
|
isa = PBXGroup;
|
|
127
116
|
children = (
|
|
@@ -137,7 +126,7 @@
|
|
|
137
126
|
00E356EF1AD99517003FC87E /* SimpleMixpanelTests */,
|
|
138
127
|
83CBBA001A601CBA00E9B192 /* Products */,
|
|
139
128
|
2D16E6871FA4F8E400B85C8A /* Frameworks */,
|
|
140
|
-
|
|
129
|
+
BBD78D7AC51CEA395F1C20DB /* Pods */,
|
|
141
130
|
);
|
|
142
131
|
indentWidth = 2;
|
|
143
132
|
sourceTree = "<group>";
|
|
@@ -153,6 +142,17 @@
|
|
|
153
142
|
name = Products;
|
|
154
143
|
sourceTree = "<group>";
|
|
155
144
|
};
|
|
145
|
+
BBD78D7AC51CEA395F1C20DB /* Pods */ = {
|
|
146
|
+
isa = PBXGroup;
|
|
147
|
+
children = (
|
|
148
|
+
3B4392A12AC88292D35C810B /* Pods-SimpleMixpanel.debug.xcconfig */,
|
|
149
|
+
5709B34CF0A7D63546082F79 /* Pods-SimpleMixpanel.release.xcconfig */,
|
|
150
|
+
5B7EB9410499542E8C5724F5 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */,
|
|
151
|
+
89C6BE57DB24E9ADA2F236DE /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */,
|
|
152
|
+
);
|
|
153
|
+
path = Pods;
|
|
154
|
+
sourceTree = "<group>";
|
|
155
|
+
};
|
|
156
156
|
/* End PBXGroup section */
|
|
157
157
|
|
|
158
158
|
/* Begin PBXNativeTarget section */
|
|
@@ -160,12 +160,12 @@
|
|
|
160
160
|
isa = PBXNativeTarget;
|
|
161
161
|
buildConfigurationList = 00E357021AD99517003FC87E /* Build configuration list for PBXNativeTarget "SimpleMixpanelTests" */;
|
|
162
162
|
buildPhases = (
|
|
163
|
-
|
|
163
|
+
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */,
|
|
164
164
|
00E356EA1AD99517003FC87E /* Sources */,
|
|
165
165
|
00E356EB1AD99517003FC87E /* Frameworks */,
|
|
166
166
|
00E356EC1AD99517003FC87E /* Resources */,
|
|
167
|
-
|
|
168
|
-
|
|
167
|
+
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */,
|
|
168
|
+
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */,
|
|
169
169
|
);
|
|
170
170
|
buildRules = (
|
|
171
171
|
);
|
|
@@ -181,14 +181,13 @@
|
|
|
181
181
|
isa = PBXNativeTarget;
|
|
182
182
|
buildConfigurationList = 13B07F931A680F5B00A75B9A /* Build configuration list for PBXNativeTarget "SimpleMixpanel" */;
|
|
183
183
|
buildPhases = (
|
|
184
|
-
|
|
185
|
-
FD10A7F022414F080027D42C /* Start Packager */,
|
|
184
|
+
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */,
|
|
186
185
|
13B07F871A680F5B00A75B9A /* Sources */,
|
|
187
186
|
13B07F8C1A680F5B00A75B9A /* Frameworks */,
|
|
188
187
|
13B07F8E1A680F5B00A75B9A /* Resources */,
|
|
189
188
|
00DD1BFF1BD5951E006B06BC /* Bundle React Native code and images */,
|
|
190
|
-
|
|
191
|
-
|
|
189
|
+
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */,
|
|
190
|
+
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */,
|
|
192
191
|
);
|
|
193
192
|
buildRules = (
|
|
194
193
|
);
|
|
@@ -212,7 +211,7 @@
|
|
|
212
211
|
TestTargetID = 13B07F861A680F5B00A75B9A;
|
|
213
212
|
};
|
|
214
213
|
13B07F861A680F5B00A75B9A = {
|
|
215
|
-
LastSwiftMigration =
|
|
214
|
+
LastSwiftMigration = 1120;
|
|
216
215
|
};
|
|
217
216
|
};
|
|
218
217
|
};
|
|
@@ -249,6 +248,7 @@
|
|
|
249
248
|
files = (
|
|
250
249
|
81AB9BB82411601600AC10FF /* LaunchScreen.storyboard in Resources */,
|
|
251
250
|
13B07FBF1A68108700A75B9A /* Images.xcassets in Resources */,
|
|
251
|
+
B08083FFA4C9A392155F8E36 /* PrivacyInfo.xcprivacy in Resources */,
|
|
252
252
|
);
|
|
253
253
|
runOnlyForDeploymentPostprocessing = 0;
|
|
254
254
|
};
|
|
@@ -261,54 +261,17 @@
|
|
|
261
261
|
files = (
|
|
262
262
|
);
|
|
263
263
|
inputPaths = (
|
|
264
|
+
"$(SRCROOT)/.xcode.env.local",
|
|
265
|
+
"$(SRCROOT)/.xcode.env",
|
|
264
266
|
);
|
|
265
267
|
name = "Bundle React Native code and images";
|
|
266
268
|
outputPaths = (
|
|
267
269
|
);
|
|
268
270
|
runOnlyForDeploymentPostprocessing = 0;
|
|
269
271
|
shellPath = /bin/sh;
|
|
270
|
-
shellScript = "set -e\n\
|
|
271
|
-
};
|
|
272
|
-
14588ACC03B0BCB4001ECFC9 /* [CP] Check Pods Manifest.lock */ = {
|
|
273
|
-
isa = PBXShellScriptBuildPhase;
|
|
274
|
-
buildActionMask = 2147483647;
|
|
275
|
-
files = (
|
|
276
|
-
);
|
|
277
|
-
inputFileListPaths = (
|
|
278
|
-
);
|
|
279
|
-
inputPaths = (
|
|
280
|
-
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
281
|
-
"${PODS_ROOT}/Manifest.lock",
|
|
282
|
-
);
|
|
283
|
-
name = "[CP] Check Pods Manifest.lock";
|
|
284
|
-
outputFileListPaths = (
|
|
285
|
-
);
|
|
286
|
-
outputPaths = (
|
|
287
|
-
"$(DERIVED_FILE_DIR)/Pods-SimpleMixpanel-SimpleMixpanelTests-checkManifestLockResult.txt",
|
|
288
|
-
);
|
|
289
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
290
|
-
shellPath = /bin/sh;
|
|
291
|
-
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
292
|
-
showEnvVarsInLog = 0;
|
|
293
|
-
};
|
|
294
|
-
3B3EE0CEECD0D9FC22D1649E /* [CP] Copy Pods Resources */ = {
|
|
295
|
-
isa = PBXShellScriptBuildPhase;
|
|
296
|
-
buildActionMask = 2147483647;
|
|
297
|
-
files = (
|
|
298
|
-
);
|
|
299
|
-
inputFileListPaths = (
|
|
300
|
-
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
301
|
-
);
|
|
302
|
-
name = "[CP] Copy Pods Resources";
|
|
303
|
-
outputFileListPaths = (
|
|
304
|
-
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
305
|
-
);
|
|
306
|
-
runOnlyForDeploymentPostprocessing = 0;
|
|
307
|
-
shellPath = /bin/sh;
|
|
308
|
-
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources.sh\"\n";
|
|
309
|
-
showEnvVarsInLog = 0;
|
|
272
|
+
shellScript = "set -e\n\nWITH_ENVIRONMENT=\"$REACT_NATIVE_PATH/scripts/xcode/with-environment.sh\"\nREACT_NATIVE_XCODE=\"$REACT_NATIVE_PATH/scripts/react-native-xcode.sh\"\n\n/bin/sh -c \"$WITH_ENVIRONMENT $REACT_NATIVE_XCODE\"\n";
|
|
310
273
|
};
|
|
311
|
-
|
|
274
|
+
00EEFC60759A1932668264C0 /* [CP] Embed Pods Frameworks */ = {
|
|
312
275
|
isa = PBXShellScriptBuildPhase;
|
|
313
276
|
buildActionMask = 2147483647;
|
|
314
277
|
files = (
|
|
@@ -325,24 +288,29 @@
|
|
|
325
288
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-frameworks.sh\"\n";
|
|
326
289
|
showEnvVarsInLog = 0;
|
|
327
290
|
};
|
|
328
|
-
|
|
291
|
+
A55EABD7B0C7F3A422A6CC61 /* [CP] Check Pods Manifest.lock */ = {
|
|
329
292
|
isa = PBXShellScriptBuildPhase;
|
|
330
293
|
buildActionMask = 2147483647;
|
|
331
294
|
files = (
|
|
332
295
|
);
|
|
333
296
|
inputFileListPaths = (
|
|
334
|
-
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
335
297
|
);
|
|
336
|
-
|
|
298
|
+
inputPaths = (
|
|
299
|
+
"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
|
|
300
|
+
"${PODS_ROOT}/Manifest.lock",
|
|
301
|
+
);
|
|
302
|
+
name = "[CP] Check Pods Manifest.lock";
|
|
337
303
|
outputFileListPaths = (
|
|
338
|
-
|
|
304
|
+
);
|
|
305
|
+
outputPaths = (
|
|
306
|
+
"$(DERIVED_FILE_DIR)/Pods-SimpleMixpanel-SimpleMixpanelTests-checkManifestLockResult.txt",
|
|
339
307
|
);
|
|
340
308
|
runOnlyForDeploymentPostprocessing = 0;
|
|
341
309
|
shellPath = /bin/sh;
|
|
342
|
-
shellScript = "\"${PODS_ROOT}/
|
|
310
|
+
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
343
311
|
showEnvVarsInLog = 0;
|
|
344
312
|
};
|
|
345
|
-
|
|
313
|
+
C38B50BA6285516D6DCD4F65 /* [CP] Check Pods Manifest.lock */ = {
|
|
346
314
|
isa = PBXShellScriptBuildPhase;
|
|
347
315
|
buildActionMask = 2147483647;
|
|
348
316
|
files = (
|
|
@@ -364,7 +332,7 @@
|
|
|
364
332
|
shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
|
|
365
333
|
showEnvVarsInLog = 0;
|
|
366
334
|
};
|
|
367
|
-
|
|
335
|
+
C59DA0FBD6956966B86A3779 /* [CP] Embed Pods Frameworks */ = {
|
|
368
336
|
isa = PBXShellScriptBuildPhase;
|
|
369
337
|
buildActionMask = 2147483647;
|
|
370
338
|
files = (
|
|
@@ -381,23 +349,38 @@
|
|
|
381
349
|
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-frameworks.sh\"\n";
|
|
382
350
|
showEnvVarsInLog = 0;
|
|
383
351
|
};
|
|
384
|
-
|
|
352
|
+
E235C05ADACE081382539298 /* [CP] Copy Pods Resources */ = {
|
|
385
353
|
isa = PBXShellScriptBuildPhase;
|
|
386
354
|
buildActionMask = 2147483647;
|
|
387
355
|
files = (
|
|
388
356
|
);
|
|
389
357
|
inputFileListPaths = (
|
|
358
|
+
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
390
359
|
);
|
|
391
|
-
|
|
392
|
-
);
|
|
393
|
-
name = "Start Packager";
|
|
360
|
+
name = "[CP] Copy Pods Resources";
|
|
394
361
|
outputFileListPaths = (
|
|
362
|
+
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
395
363
|
);
|
|
396
|
-
|
|
364
|
+
runOnlyForDeploymentPostprocessing = 0;
|
|
365
|
+
shellPath = /bin/sh;
|
|
366
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel/Pods-SimpleMixpanel-resources.sh\"\n";
|
|
367
|
+
showEnvVarsInLog = 0;
|
|
368
|
+
};
|
|
369
|
+
F6A41C54EA430FDDC6A6ED99 /* [CP] Copy Pods Resources */ = {
|
|
370
|
+
isa = PBXShellScriptBuildPhase;
|
|
371
|
+
buildActionMask = 2147483647;
|
|
372
|
+
files = (
|
|
373
|
+
);
|
|
374
|
+
inputFileListPaths = (
|
|
375
|
+
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-input-files.xcfilelist",
|
|
376
|
+
);
|
|
377
|
+
name = "[CP] Copy Pods Resources";
|
|
378
|
+
outputFileListPaths = (
|
|
379
|
+
"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources-${CONFIGURATION}-output-files.xcfilelist",
|
|
397
380
|
);
|
|
398
381
|
runOnlyForDeploymentPostprocessing = 0;
|
|
399
382
|
shellPath = /bin/sh;
|
|
400
|
-
shellScript = "
|
|
383
|
+
shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-SimpleMixpanel-SimpleMixpanelTests/Pods-SimpleMixpanel-SimpleMixpanelTests-resources.sh\"\n";
|
|
401
384
|
showEnvVarsInLog = 0;
|
|
402
385
|
};
|
|
403
386
|
/* End PBXShellScriptBuildPhase section */
|
|
@@ -415,8 +398,7 @@
|
|
|
415
398
|
isa = PBXSourcesBuildPhase;
|
|
416
399
|
buildActionMask = 2147483647;
|
|
417
400
|
files = (
|
|
418
|
-
13B07FBC1A68108700A75B9A /* AppDelegate.
|
|
419
|
-
8678DF7526B290DB00D79E6C /* File.swift in Sources */,
|
|
401
|
+
13B07FBC1A68108700A75B9A /* AppDelegate.mm in Sources */,
|
|
420
402
|
13B07FC11A68108700A75B9A /* main.m in Sources */,
|
|
421
403
|
);
|
|
422
404
|
runOnlyForDeploymentPostprocessing = 0;
|
|
@@ -434,16 +416,15 @@
|
|
|
434
416
|
/* Begin XCBuildConfiguration section */
|
|
435
417
|
00E356F61AD99517003FC87E /* Debug */ = {
|
|
436
418
|
isa = XCBuildConfiguration;
|
|
437
|
-
baseConfigurationReference =
|
|
419
|
+
baseConfigurationReference = 5B7EB9410499542E8C5724F5 /* Pods-SimpleMixpanel-SimpleMixpanelTests.debug.xcconfig */;
|
|
438
420
|
buildSettings = {
|
|
439
|
-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
440
421
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
441
422
|
GCC_PREPROCESSOR_DEFINITIONS = (
|
|
442
423
|
"DEBUG=1",
|
|
443
424
|
"$(inherited)",
|
|
444
425
|
);
|
|
445
426
|
INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
|
|
446
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
427
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
447
428
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
448
429
|
"$(inherited)",
|
|
449
430
|
"@executable_path/Frameworks",
|
|
@@ -462,13 +443,12 @@
|
|
|
462
443
|
};
|
|
463
444
|
00E356F71AD99517003FC87E /* Release */ = {
|
|
464
445
|
isa = XCBuildConfiguration;
|
|
465
|
-
baseConfigurationReference =
|
|
446
|
+
baseConfigurationReference = 89C6BE57DB24E9ADA2F236DE /* Pods-SimpleMixpanel-SimpleMixpanelTests.release.xcconfig */;
|
|
466
447
|
buildSettings = {
|
|
467
|
-
ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
|
|
468
448
|
BUNDLE_LOADER = "$(TEST_HOST)";
|
|
469
449
|
COPY_PHASE_STRIP = NO;
|
|
470
450
|
INFOPLIST_FILE = SimpleMixpanelTests/Info.plist;
|
|
471
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
451
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
472
452
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
473
453
|
"$(inherited)",
|
|
474
454
|
"@executable_path/Frameworks",
|
|
@@ -487,18 +467,18 @@
|
|
|
487
467
|
};
|
|
488
468
|
13B07F941A680F5B00A75B9A /* Debug */ = {
|
|
489
469
|
isa = XCBuildConfiguration;
|
|
490
|
-
baseConfigurationReference =
|
|
470
|
+
baseConfigurationReference = 3B4392A12AC88292D35C810B /* Pods-SimpleMixpanel.debug.xcconfig */;
|
|
491
471
|
buildSettings = {
|
|
492
472
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
493
473
|
CLANG_ENABLE_MODULES = YES;
|
|
494
474
|
CURRENT_PROJECT_VERSION = 1;
|
|
495
475
|
ENABLE_BITCODE = NO;
|
|
496
476
|
INFOPLIST_FILE = SimpleMixpanel/Info.plist;
|
|
497
|
-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
498
477
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
499
478
|
"$(inherited)",
|
|
500
479
|
"@executable_path/Frameworks",
|
|
501
480
|
);
|
|
481
|
+
MARKETING_VERSION = 1.0;
|
|
502
482
|
OTHER_LDFLAGS = (
|
|
503
483
|
"$(inherited)",
|
|
504
484
|
"-ObjC",
|
|
@@ -506,7 +486,6 @@
|
|
|
506
486
|
);
|
|
507
487
|
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
|
|
508
488
|
PRODUCT_NAME = SimpleMixpanel;
|
|
509
|
-
SWIFT_OBJC_BRIDGING_HEADER = "SimpleMixpanel-Bridging-Header.h";
|
|
510
489
|
SWIFT_OPTIMIZATION_LEVEL = "-Onone";
|
|
511
490
|
SWIFT_VERSION = 5.0;
|
|
512
491
|
VERSIONING_SYSTEM = "apple-generic";
|
|
@@ -515,17 +494,17 @@
|
|
|
515
494
|
};
|
|
516
495
|
13B07F951A680F5B00A75B9A /* Release */ = {
|
|
517
496
|
isa = XCBuildConfiguration;
|
|
518
|
-
baseConfigurationReference =
|
|
497
|
+
baseConfigurationReference = 5709B34CF0A7D63546082F79 /* Pods-SimpleMixpanel.release.xcconfig */;
|
|
519
498
|
buildSettings = {
|
|
520
499
|
ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
|
|
521
500
|
CLANG_ENABLE_MODULES = YES;
|
|
522
501
|
CURRENT_PROJECT_VERSION = 1;
|
|
523
502
|
INFOPLIST_FILE = SimpleMixpanel/Info.plist;
|
|
524
|
-
IPHONEOS_DEPLOYMENT_TARGET = 11.0;
|
|
525
503
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
526
504
|
"$(inherited)",
|
|
527
505
|
"@executable_path/Frameworks",
|
|
528
506
|
);
|
|
507
|
+
MARKETING_VERSION = 1.0;
|
|
529
508
|
OTHER_LDFLAGS = (
|
|
530
509
|
"$(inherited)",
|
|
531
510
|
"-ObjC",
|
|
@@ -533,7 +512,6 @@
|
|
|
533
512
|
);
|
|
534
513
|
PRODUCT_BUNDLE_IDENTIFIER = "org.reactjs.native.example.$(PRODUCT_NAME:rfc1034identifier)";
|
|
535
514
|
PRODUCT_NAME = SimpleMixpanel;
|
|
536
|
-
SWIFT_OBJC_BRIDGING_HEADER = "SimpleMixpanel-Bridging-Header.h";
|
|
537
515
|
SWIFT_VERSION = 5.0;
|
|
538
516
|
VERSIONING_SYSTEM = "apple-generic";
|
|
539
517
|
};
|
|
@@ -543,8 +521,9 @@
|
|
|
543
521
|
isa = XCBuildConfiguration;
|
|
544
522
|
buildSettings = {
|
|
545
523
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
524
|
+
CC = "";
|
|
546
525
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
|
547
|
-
CLANG_CXX_LANGUAGE_STANDARD = "
|
|
526
|
+
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
|
|
548
527
|
CLANG_CXX_LIBRARY = "libc++";
|
|
549
528
|
CLANG_ENABLE_MODULES = YES;
|
|
550
529
|
CLANG_ENABLE_OBJC_ARC = YES;
|
|
@@ -570,9 +549,10 @@
|
|
|
570
549
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
571
550
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
572
551
|
COPY_PHASE_STRIP = NO;
|
|
552
|
+
CXX = "";
|
|
573
553
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
574
554
|
ENABLE_TESTABILITY = YES;
|
|
575
|
-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "
|
|
555
|
+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
|
|
576
556
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
577
557
|
GCC_DYNAMIC_NO_PIC = NO;
|
|
578
558
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
@@ -588,18 +568,35 @@
|
|
|
588
568
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
589
569
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
590
570
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
591
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
571
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
572
|
+
LD = "";
|
|
573
|
+
LDPLUSPLUS = "";
|
|
592
574
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
593
575
|
/usr/lib/swift,
|
|
594
576
|
"$(inherited)",
|
|
595
577
|
);
|
|
596
578
|
LIBRARY_SEARCH_PATHS = (
|
|
579
|
+
"\"$(SDKROOT)/usr/lib/swift\"",
|
|
597
580
|
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
|
598
581
|
"\"$(inherited)\"",
|
|
599
582
|
);
|
|
600
583
|
MTL_ENABLE_DEBUG_INFO = YES;
|
|
601
584
|
ONLY_ACTIVE_ARCH = YES;
|
|
585
|
+
OTHER_CPLUSPLUSFLAGS = (
|
|
586
|
+
"$(OTHER_CFLAGS)",
|
|
587
|
+
"-DFOLLY_NO_CONFIG",
|
|
588
|
+
"-DFOLLY_MOBILE=1",
|
|
589
|
+
"-DFOLLY_USE_LIBCPP=1",
|
|
590
|
+
"-DFOLLY_CFG_NO_COROUTINES=1",
|
|
591
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
|
592
|
+
);
|
|
593
|
+
OTHER_LDFLAGS = (
|
|
594
|
+
"$(inherited)",
|
|
595
|
+
" ",
|
|
596
|
+
);
|
|
597
|
+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
602
598
|
SDKROOT = iphoneos;
|
|
599
|
+
USE_HERMES = true;
|
|
603
600
|
};
|
|
604
601
|
name = Debug;
|
|
605
602
|
};
|
|
@@ -607,8 +604,9 @@
|
|
|
607
604
|
isa = XCBuildConfiguration;
|
|
608
605
|
buildSettings = {
|
|
609
606
|
ALWAYS_SEARCH_USER_PATHS = NO;
|
|
607
|
+
CC = "";
|
|
610
608
|
CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES;
|
|
611
|
-
CLANG_CXX_LANGUAGE_STANDARD = "
|
|
609
|
+
CLANG_CXX_LANGUAGE_STANDARD = "c++20";
|
|
612
610
|
CLANG_CXX_LIBRARY = "libc++";
|
|
613
611
|
CLANG_ENABLE_MODULES = YES;
|
|
614
612
|
CLANG_ENABLE_OBJC_ARC = YES;
|
|
@@ -634,9 +632,10 @@
|
|
|
634
632
|
CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
|
|
635
633
|
"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
|
|
636
634
|
COPY_PHASE_STRIP = YES;
|
|
635
|
+
CXX = "";
|
|
637
636
|
ENABLE_NS_ASSERTIONS = NO;
|
|
638
637
|
ENABLE_STRICT_OBJC_MSGSEND = YES;
|
|
639
|
-
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "
|
|
638
|
+
"EXCLUDED_ARCHS[sdk=iphonesimulator*]" = "";
|
|
640
639
|
GCC_C_LANGUAGE_STANDARD = gnu99;
|
|
641
640
|
GCC_NO_COMMON_BLOCKS = YES;
|
|
642
641
|
GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
|
|
@@ -645,17 +644,34 @@
|
|
|
645
644
|
GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
|
|
646
645
|
GCC_WARN_UNUSED_FUNCTION = YES;
|
|
647
646
|
GCC_WARN_UNUSED_VARIABLE = YES;
|
|
648
|
-
IPHONEOS_DEPLOYMENT_TARGET =
|
|
647
|
+
IPHONEOS_DEPLOYMENT_TARGET = 13.4;
|
|
648
|
+
LD = "";
|
|
649
|
+
LDPLUSPLUS = "";
|
|
649
650
|
LD_RUNPATH_SEARCH_PATHS = (
|
|
650
651
|
/usr/lib/swift,
|
|
651
652
|
"$(inherited)",
|
|
652
653
|
);
|
|
653
654
|
LIBRARY_SEARCH_PATHS = (
|
|
655
|
+
"\"$(SDKROOT)/usr/lib/swift\"",
|
|
654
656
|
"\"$(TOOLCHAIN_DIR)/usr/lib/swift/$(PLATFORM_NAME)\"",
|
|
655
657
|
"\"$(inherited)\"",
|
|
656
658
|
);
|
|
657
659
|
MTL_ENABLE_DEBUG_INFO = NO;
|
|
660
|
+
OTHER_CPLUSPLUSFLAGS = (
|
|
661
|
+
"$(OTHER_CFLAGS)",
|
|
662
|
+
"-DFOLLY_NO_CONFIG",
|
|
663
|
+
"-DFOLLY_MOBILE=1",
|
|
664
|
+
"-DFOLLY_USE_LIBCPP=1",
|
|
665
|
+
"-DFOLLY_CFG_NO_COROUTINES=1",
|
|
666
|
+
"-DFOLLY_HAVE_CLOCK_GETTIME=1",
|
|
667
|
+
);
|
|
668
|
+
OTHER_LDFLAGS = (
|
|
669
|
+
"$(inherited)",
|
|
670
|
+
" ",
|
|
671
|
+
);
|
|
672
|
+
REACT_NATIVE_PATH = "${PODS_ROOT}/../../node_modules/react-native";
|
|
658
673
|
SDKROOT = iphoneos;
|
|
674
|
+
USE_HERMES = true;
|
|
659
675
|
VALIDATE_PRODUCT = YES;
|
|
660
676
|
};
|
|
661
677
|
name = Release;
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
|
|
14
14
|
@implementation SimpleMixpanelTests
|
|
15
15
|
|
|
16
|
-
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL(^)(UIView *view))test
|
|
16
|
+
- (BOOL)findSubviewInView:(UIView *)view matching:(BOOL (^)(UIView *view))test
|
|
17
17
|
{
|
|
18
18
|
if (test(view)) {
|
|
19
19
|
return YES;
|
|
@@ -34,23 +34,25 @@
|
|
|
34
34
|
|
|
35
35
|
__block NSString *redboxError = nil;
|
|
36
36
|
#ifdef DEBUG
|
|
37
|
-
RCTSetLogFunction(
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
37
|
+
RCTSetLogFunction(
|
|
38
|
+
^(RCTLogLevel level, RCTLogSource source, NSString *fileName, NSNumber *lineNumber, NSString *message) {
|
|
39
|
+
if (level >= RCTLogLevelError) {
|
|
40
|
+
redboxError = message;
|
|
41
|
+
}
|
|
42
|
+
});
|
|
42
43
|
#endif
|
|
43
44
|
|
|
44
45
|
while ([date timeIntervalSinceNow] > 0 && !foundElement && !redboxError) {
|
|
45
46
|
[[NSRunLoop mainRunLoop] runMode:NSDefaultRunLoopMode beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
46
47
|
[[NSRunLoop mainRunLoop] runMode:NSRunLoopCommonModes beforeDate:[NSDate dateWithTimeIntervalSinceNow:0.1]];
|
|
47
48
|
|
|
48
|
-
foundElement = [self findSubviewInView:vc.view
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
49
|
+
foundElement = [self findSubviewInView:vc.view
|
|
50
|
+
matching:^BOOL(UIView *view) {
|
|
51
|
+
if ([view.accessibilityLabel isEqualToString:TEXT_TO_LOOK_FOR]) {
|
|
52
|
+
return YES;
|
|
53
|
+
}
|
|
54
|
+
return NO;
|
|
55
|
+
}];
|
|
54
56
|
}
|
|
55
57
|
|
|
56
58
|
#ifdef DEBUG
|
|
@@ -61,5 +63,4 @@
|
|
|
61
63
|
XCTAssertTrue(foundElement, @"Couldn't find element with text '%@' in %d seconds", TEXT_TO_LOOK_FOR, TIMEOUT_SECONDS);
|
|
62
64
|
}
|
|
63
65
|
|
|
64
|
-
|
|
65
66
|
@end
|