capacitor-community / capacitor-community/device
IOS: SPM target DevicePlugin collides with @capacitor/device
Open
Beginner friendly
- Dominant language
- TypeScript
- Stars
- 2
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
Package.swift declares its SPM target as `DevicePlugin` — the same target name @capacitor/device uses. SwiftPM requires unique module names across the graph, so an app depending on both fails to build.
Contributor guide
Research direction
Open Package.swift and start at the SPM target declaration for DevicePlugin. Confirm the target name no longer conflicts with @capacitor/device, then verify an app depending on both packages can build successfully.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Active
- Clarity
- Clearly specified
- Newbie friendliness
- 84/100