We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a3255c5 commit 5630827Copy full SHA for 5630827
1 file changed
packages/react-native/scripts/ios-prebuild/build.js
@@ -31,8 +31,13 @@ function computeFrameworkPaths(
31
const frameworks = globSync('**/*.framework', {
32
cwd: productsFolder,
33
expandDirectories: false,
34
- onlyFiles: false,
+ onlyDirectories: true,
35
absolute: true,
36
+ }).map(framework => {
37
+ // NOTE: tinyglobby outputs a trailing slash for directories
38
+ return framework[framework.length - 1] === '/'
39
+ ? framework.slice(0, -1)
40
+ : framework;
41
});
42
43
if (frameworks.length === 0) {
0 commit comments