MixinNetwork / MixinNetwork/flutter-plugins
Could not build the precompiled application for the device. Error (Xcode): 'PasteboardPlugin' has different definitions in different modules; first difference is definition in module 'pasteboard.Swift' found
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 7
Description
Could not build the precompiled application for the device.
Error (Xcode): 'PasteboardPlugin' has different definitions in different modules; first difference is definition in module 'pasteboard.Swift' found
method
/Users/xx/dev/codes/apps/os/Release-iphoneos/pasteboard/pasteboard.framework/Headers/pasteboard-Swift.h:311:0
Modules Issue (Xcode): Definition of 'PasteboardPlugin' must be imported from module 'pasteboard.Swift' before it is required
/Users/xx/dev/tter/ios/Runner/GeneratedPluginRegistrant.m:300:3
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the device build and inspect ios/Runner/GeneratedPluginRegistrant.m around line 300 together with pasteboard.framework/Headers/pasteboard-Swift.h at line 311. Determine why PasteboardPlugin has conflicting module definitions, and consider the issue complete when the precompiled iOS application builds without these Xcode module errors.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- flutter, ios
- Domain
- mobile
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Quiet
- Clarity
- Needs clarification
- Newbie friendliness
- 35/100