Build error Xcode(Version 12.3 (12C33))
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 25/100
- Issue type
- Bug
- Clarity
- Needs clarification
- Activity status
- Stale
- Tech stack
- objective-c, swift
- Domain
- build-system, mobile
Research direction
Start with the reported Xcode compiler error, comparing Core.framework/Headers/Core-Swift.h at line 308 with SVGKit/SVGKit.framework/Headers/Document.h at line 78. Review the Podfile entry using the 3.x branch and determine what change makes the project build successfully in Xcode 12.3.
Written by the indexing model from the issue text.
Description
New Issue Checklist
- I have read and understood the CONTRIBUTING guide
- I have reproduced the problem while running in Xcode, and read the Console log, and acted upon any relevant error or warning messages
- I have reproduced the problem while running in Xcode's Debugger, and used breakpoints to examine the actual values of variables vs the expected values
- I am not using CocoaPods, or: I am using CocoaPods, but have verified my podspec points to SVGKit v2.x
Issue Description and Steps
Please fill in the detailed description of the issue (full output of any stack trace, compiler error, ...) and the steps to reproduce the issue.
Error:
/Build/Products/Debug-iphoneos/Core.framework/Headers/Core-Swift.h:308:12: error: 'Document' has different definitions in different modules; first difference is definition in module 'Core.Swift' found super class with type 'UIDocument'
/Build/Products/Debug-iphoneos/SVGKit/SVGKit.framework/Headers/Document.h:78:12: note: but in 'SVGKit.Document' found super class with type 'Node'
@interface Document : Node
in Podfile
...
pod 'SVGKit', :git => 'https://github.com/SVGKit/SVGKit.git', :branch => '3.x'
...
- Dominant language
- Objective-C
- Stars
- 4.6k
- Forks
- 1.1k
- PR merge metrics
- No merged PRs in 30d
Contributor guide
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 SVGKit/SVGKit
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
-
Releases Open
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
name collision Open
Difficulty 2/5 1-3 hours Newbie friendliness 25/100
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
-
Difficulty 4/5 3-5 days Newbie friendliness 35/100
Similar issues
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
noah-nuebling/mac-mouse-fix#2054 ·
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
obsproject/obs-studio#13918 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
SwiftOldDriver/iOS-Weekly#5439 · 1 comment ·
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100