-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
Steps to reproduce the behavior
Install plugin, but do not enter any Debug entries in package.json
"xcodeSchemes": {
"Release": ["ReleaseAlpha", "ReleaseBeta"]
}
Expected behavior
fix-scripts to run successfully. This can be fixed by passing an empty array into debug.
"xcodeSchemes": {
"Debug": [],
"Release": ["ReleaseAlpha", "ReleaseBeta"]
}
Actual behavior
/Users/chuck/Projects/aramis/node_modules/react-native-schemes-manager/src/fix-libraries.js:33
for (const destinationBuildConfig of mappings[sourceBuildConfig]) {
^
TypeError: mappings[sourceBuildConfig] is not iterable
at updateProject (/Users/chuck/Projects/aramis/node_modules/react-native-schemes-manager/src/fix-libraries.js:33:48)
at utilities.updateProjectsMatchingGlob (/Users/chuck/Projects/aramis/node_modules/react-native-schemes-manager/src/fix-libraries.js:86:10)
at getFilesMatchingGlob (/Users/chuck/Projects/aramis/node_modules/react-native-schemes-manager/src/utilities.js:70:8)
at glob (/Users/chuck/Projects/aramis/node_modules/react-native-schemes-manager/src/utilities.js:45:5)
at f (/Users/chuck/Projects/aramis/node_modules/once/once.js:25:25)
at Glob.<anonymous> (/Users/chuck/Projects/aramis/node_modules/glob/glob.js:151:7)
at Glob.emit (events.js:160:13)
at Glob._finish (/Users/chuck/Projects/aramis/node_modules/glob/glob.js:197:8)
at done (/Users/chuck/Projects/aramis/node_modules/glob/glob.js:182:14)
at Glob._processGlobStar2 (/Users/chuck/Projects/aramis/node_modules/glob/glob.js:637:12)
Sam-Hoult, kesha-antonov, JingLiangWen, aseemc, carrchr and 5 more
Metadata
Metadata
Assignees
Labels
No labels