Skip to content

Cannot install via carthage / Xcode 8.3.1 into Swift 3 Project #44

@tobhae-dev

Description

@tobhae-dev

I added github "velikanov/SwiftPasscodeLock" to my cartfile
then I ran: carthage update SwiftPasscodeLock --platform iOS

I get:

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

In log file it says:

/usr/bin/xcrun xcodebuild -project /Users/th/Developer/AppStack/Projects/Vaccy_iOS/Repo/Vaccy/Carthage/Checkouts/SwiftPasscodeLock/PasscodeLock.xcodeproj -scheme PasscodeLock -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean buildBuild settings from command line:
    BITCODE_GENERATION_MODE = bitcode
    CARTHAGE = YES
    CODE_SIGN_IDENTITY = 
    CODE_SIGNING_REQUIRED = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = iphoneos10.3

=== CLEAN TARGET PasscodeLock OF PROJECT PasscodeLock WITH CONFIGURATION Release ===

Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

=== BUILD TARGET PasscodeLock OF PROJECT PasscodeLock WITH CONFIGURATION Release ===

Check dependencies
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.
“Swift Language Version” (SWIFT_VERSION) is required to be configured correctly for targets which use Swift. Use the [Edit > Convert > To Current Swift Syntax…] menu to choose a Swift version or use the Build Settings editor to configure the build setting directly.

I think you must specify the SWIFT_VERSION in your Projects Targets to Swift 3 in Build Settings Tab.
Could you do that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions