crossroadlabs / Markdown

Swift markdown library
GNU General Public License v3.0
80 stars 10 forks source link

"Module file was created by an older version" Error #5

Open nestormata opened 7 years ago

nestormata commented 7 years ago

Hi,

I'm installing the library using Carthage, but after following all the steps and doing the import, Xcode says:

Module file was created by an older version of the compiler; rebuild 'Markdown' and try again: /Volumes/MacOSHibrido/Users/nestor/Documents/freelances/ios-10-course/TestAppLayout/Carthage/Build/Mac/Markdown.framework/Modules/Markdown.swiftmodule/x86_64.swiftmodule

I tried running: carthage update --no-use-binaries

But then I got the following error:

*** Fetching Markdown
*** Fetching CDiscount
*** Checking out CDiscount at "0.1.0"
*** Checking out Markdown at "0.1.0"
*** xcodebuild output can be found in /var/folders/5p/16f9d01140n53_65ftsbjh4h0000gn/T/carthage-xcodebuild.R8yKD7.log
*** Building scheme "Markdown" in Markdown.xcodeproj
** CLEAN FAILED **

The following build commands failed:
    Check dependencies
(1 failure)
** BUILD FAILED **

The following build commands failed:
    Check dependencies
(1 failure)
warning: no umbrella header found for target 'Markdown', module map will not be generated
warning: no umbrella header found for target 'Markdown', module map will not be generated
A shell task (/usr/bin/xcrun xcodebuild -project /Volumes/MacOSHibrido/Users/nestor/Documents/freelances/ios-10-course/TestAppLayout/Carthage/Checkouts/Markdown/Markdown.xcodeproj -scheme Markdown -configuration Release ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
** CLEAN FAILED **

The following build commands failed:
    Check dependencies
(1 failure)
** BUILD FAILED **

The following build commands failed:
    Check dependencies
(1 failure)

How do I fix this?

dileping commented 7 years ago

@nestormata It should work with latest changes. Could you check, please?

nestormata commented 7 years ago

Hi thanks, I'll try later today and confirm if it works