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.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Quiet
- Tech stack
- flutter, ios
- Domain
- mobile
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.
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
- Dominant language
- C
- Stars
- 512
- Forks
- 292
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 2
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
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.
More from MixinNetwork/flutter-plugins
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MixinNetwork/flutter-plugins#413 · 8 reactions ·
-
Difficulty 1/5 Under an hour Newbie friendliness 68/100
MixinNetwork/flutter-plugins#401 · 2 reactions ·
-
Difficulty 4/5 3-5 days Newbie friendliness 30/100
MixinNetwork/flutter-plugins#504 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
MixinNetwork/flutter-plugins#502 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 76/100
MixinNetwork/flutter-plugins#497 ·
All issues in MixinNetwork/flutter-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 1/5 Under an hour Newbie friendliness 75/100
NabuCasa/silabs-firmware-builder#231 · 1 comment ·
-
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
ClickHouse/pg_clickhouse#383 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Maintainers usually reply within 1 day