-
-
Notifications
You must be signed in to change notification settings - Fork 853
/
.detoxrc.js
55 lines (55 loc) · 2.06 KB
/
.detoxrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module.exports = {
testRunner: {
$0: 'jest',
args: {
config: 'e2e/config.js',
},
},
apps: {
"ios": {
type: "ios.app",
build: "xcodebuild -quiet -workspace ios/RNMapboxGLExample.xcworkspace -configuration Release -scheme RNMapboxGLExample -sdk iphonesimulator -derivedDataPath ios/build -destination 'platform=iOS Simulator,OS=16.4,name=iPhone SE (3rd generation)'",
binaryPath: "ios/build/Build/Products/Release-iphonesimulator/RNMapboxGLExample.app"
},
"ios.debug": {
type: "ios.app",
build: "FORCE_BUNDLING=1 xcodebuild -quiet -workspace ios/RNMapboxGLExample.xcworkspace -configuration Debug -scheme RNMapboxGLExample DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING=1 GCC_PREPROCESSOR_DEFINITIONS='$GCC_PREPROCESSOR_DEFINITIONS DEBUG_RCT_BUNDLE=1' -sdk iphonesimulator -derivedDataPath ios/build -destination 'platform=iOS Simulator,OS=16.4,name=iPhone SE (3rd generation)'",
binaryPath: "ios/build/Build/Products/Debug-iphonesimulator/RNMapboxGLExample.app"
},
"ios.debug.ci": {
type: "ios.app",
build: "FORCE_BUNDLING=1 xcodebuild -quiet -workspace ios/RNMapboxGLExample.xcworkspace -configuration Debug -scheme RNMapboxGLExample DISABLE_MANUAL_TARGET_ORDER_BUILD_WARNING=1 GCC_PREPROCESSOR_DEFINITIONS='$GCC_PREPROCESSOR_DEFINITIONS DEBUG_RCT_BUNDLE=1' -sdk iphonesimulator -derivedDataPath ios/build -destination 'platform=iOS Simulator,OS=17.2,name=iPhone SE (3rd generation)'",
binaryPath: "ios/build/Build/Products/Debug-iphonesimulator/RNMapboxGLExample.app"
},
},
devices: {
simulator: {
type: "ios.simulator",
device: {
type: "iPhone 14 Pro",
os: "16.4"
}
},
"simulator.ci": {
type: "ios.simulator",
device: {
type: "iPhone SE (3rd generation)",
os: "17.2"
}
},
},
configurations: {
"ios": {
device: "simulator",
app: "ios"
},
"ios.debug": {
device: "simulator",
app: "ios.debug"
},
"ios.debug.ci": {
device: "simulator.ci",
app: "ios.debug.ci"
}
}
};