Skip to content

Conversation

@NathanWalker
Copy link
Contributor

@NathanWalker NathanWalker commented Jan 6, 2026

Occasionally when building within workspaces that have the same dependency defined at root and inside nested app package, xcode could add the framework again leading to:

warning: duplicate output file '/workspace/apps/project/platforms/ios/build/Debug-iphonesimulator/NativePlugin.framework' on task: ProcessXCFramework /workspace/node_modules/@nativescript/any-plugin/platforms/ios/NativePlugin.xcframework /workspace/apps/project/platforms/ios/build/Debug-iphonesimulator/NativePlugin.framework ios simulator

error: Multiple commands produce '/workspace/apps/project/platforms/ios/build/Debug-iphonesimulator/NativePlugin.framework'
    note: Command: ProcessXCFramework /workspace/apps/project/node_modules/@nativescript/any-plugin/platforms/ios/NativePlugin.xcframework /workspace/apps/project/platforms/ios/build/Debug-iphonesimulator/NativePlugin.framework ios simulator
    note: Command: ProcessXCFramework /workspace/node_modules/@nativescript/any-plugin/platforms/ios/NativePlugin.xcframework /workspace/apps/project/platforms/ios/build/Debug-iphonesimulator/NativePlugin.framework ios simulator

This adds protection in those settings to ensure duplicates are not added to prevent this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants