No such module 'Logic' while building Lona Studio
thekevbot opened this issue · comments
In attempting to build Lona Studio, I'm getting this error:
I'm following the instructions found here, exactly: https://github.com/airbnb/Lona/blob/master/studio/README.md
Does anyone know what might be going wrong?
was there any error when running carthage bootstrap --new-resolver --platform macOS
?
Sorry for the slow reply @mathieudutour - yeah looks like I am getting an error after all:
Build Failed
Task failed with exit code 65:
/usr/bin/xcrun xcodebuild -workspace /Users/kh/Dev/Lona/studio/Carthage/Checkouts/Logic/Logic.xcworkspace -scheme Logic -configuration Release -derivedDataPath /Users/kh/Library/Caches/org.carthage.CarthageKit/DerivedData/10.1_10B61/Logic/e5f9c2511b1e4db62fd1d0d4d5d2f3062df64675 ONLY_ACTIVE_ARCH=NO CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/55/9gz58nvs1b9chlsqgf2kqzf40000gn/T/Logic SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO STRIP_INSTALLED_PRODUCT=NO (launched in /Users/kh/Dev/Lona/studio/Carthage/Checkouts/Logic)
This usually indicates that project itself failed to compile. Please check the xcodebuild log for more details: /var/folders/55/9gz58nvs1b9chlsqgf2kqzf40000gn/T/carthage-xcodebuild.W0E8T7.log
Log file:
carthage-xcodebuild.W0E8T7.log
SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2
You need to update Xcode
For me, it was both the Xcode version AND this: https://stackoverflow.com/questions/40743713/command-line-tool-error-xcrun-error-unable-to-find-utility-xcodebuild-n