You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 43270f0
Browse filesBrowse the repository at this point in the historyBrowse files
fix(ios): keep the configured NativeSource path as the pbxgroup key
nativescript-dev-xcode finds an existing group by the exact (name, path) stored in .ns-build-pbxgroup-data.json. A relative ios.NativeSource folder was stored as written, so passing the resolved absolute path added a second group on the first prepare after upgrading, with every source compiled twice. The configured path stays the key; the files and header search path still use the path resolved against the project.
`warning: Directory ${sourceFolderPath} with native iOS source code doesn't contain a modulemap file. Metadata for it will not be generated and it will not be accessible from JavaScript. To learn more see https://docs.nativescript.org/guides/ios-source-code`,
@@ -1620,6 +1621,8 @@ export class IOSProjectService
1620
1621
constrootGroup: INativeSourceCodeGroup={
1621
1622
name: name,
1622
1623
files: filePathsArr,
1624
+
// nativescript-dev-xcode looks the group up by this exact string. Keep it
1625
+
// as configured: resolving it duplicates the group in prepared projects.
1623
1626
path: rootPath,
1624
1627
};
1625
1628
@@ -1632,12 +1635,11 @@ export class IOSProjectService
0 commit comments