Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

3.2.0 refuses to build with Carthage #200

Closed
ekimia opened this issue Mar 16, 2018 · 7 comments
Closed

3.2.0 refuses to build with Carthage #200

ekimia opened this issue Mar 16, 2018 · 7 comments

Comments

@ekimia
Copy link

ekimia commented Mar 16, 2018

/usr/bin/xcrun xcodebuild -workspace /Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation/SwiftLocation.xcworkspace -scheme SwiftLocation-iOS -configuration Release -derivedDataPath /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0 -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES archive -archivePath /var/folders/n2/gpjdw_f17611zqhc_f3zq7_m0000gp/T/SwiftLocation SKIP_INSTALL=YES GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=NO CLANG_ENABLE_CODE_COVERAGE=NO (launched in /Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation)User defaults from command line:
    IDEArchivePathOverride = /var/folders/n2/gpjdw_f17611zqhc_f3zq7_m0000gp/T/SwiftLocation
    IDEDerivedDataPathOverride = /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0

Build settings from command line:
    BITCODE_GENERATION_MODE = bitcode
    CARTHAGE = YES
    CLANG_ENABLE_CODE_COVERAGE = NO
    CODE_SIGN_IDENTITY = 
    CODE_SIGNING_REQUIRED = NO
    GCC_INSTRUMENT_PROGRAM_FLOW_ARCS = NO
    ONLY_ACTIVE_ARCH = NO
    SDKROOT = iphoneos11.2
    SKIP_INSTALL = YES

=== BUILD TARGET SwiftLocation-iOS OF PROJECT SwiftLocation WITH CONFIGURATION Release ===

Check dependencies
The file “Pods-SwiftLocation-iOS.release.xcconfig” couldn’t be opened because there is no such file. (/Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation/Pods/Target Support Files/Pods-SwiftLocation-iOS/Pods-SwiftLocation-iOS.release.xcconfig)

Write auxiliary files
/bin/mkdir -p /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Objects-normal/armv7
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Objects-normal/armv7/SwiftLocation.LinkFileList
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/SwiftLocation-own-target-headers.hmap
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/SwiftLocation-project-headers.hmap
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/all-product-headers.yaml
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-E2B25B138939EAE47C04ED63.sh
chmod 0755 /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-E2B25B138939EAE47C04ED63.sh
/bin/mkdir -p /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/DerivedSources
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/DerivedSources/SwiftLocation_vers.c
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/SwiftLocation-all-non-framework-target-headers.hmap
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/SwiftLocation-generated-files.hmap
/bin/mkdir -p /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Objects-normal/arm64
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Objects-normal/arm64/SwiftLocation.LinkFileList
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Objects-normal/arm64/SwiftLocation-iOS-OutputFileMap.json
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Objects-normal/armv7/SwiftLocation-iOS-OutputFileMap.json
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/SwiftLocation.hmap
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/swift-overrides.hmap
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/module.modulemap
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-9E2F4121426A6420397A065F.sh
chmod 0755 /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-9E2F4121426A6420397A065F.sh
write-file /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/SwiftLocation-all-target-headers.hmap

Create product structure
/bin/mkdir -p /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftLocation.framework/Modules
/bin/mkdir -p /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftLocation.framework/Headers

ProcessInfoPlistFile /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftLocation.framework/Info.plist Configs/SwiftLocation.plist
    cd /Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/ek/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin"
    builtin-infoPlistUtility /Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation/Configs/SwiftLocation.plist -expandbuildsettings -format binary -platform iphoneos -o /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftLocation.framework/Info.plist

SymLink /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/BuildProductsPath/Release-iphoneos/SwiftLocation.framework /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftLocation.framework
    cd /Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation
    export PATH="/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/Users/ek/.pyenv/shims:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Applications/VMware Fusion.app/Contents/Public:/usr/local/MacGPG2/bin"
    /bin/ln -sfh /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/UninstalledProducts/iphoneos/SwiftLocation.framework /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/BuildProductsPath/Release-iphoneos/SwiftLocation.framework

PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-E2B25B138939EAE47C04ED63.sh
    cd /Users/ek/zero/zero-ios/Carthage/Checkouts/SwiftLocation
    /bin/sh -c /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-E2B25B138939EAE47C04ED63.sh
diff: /Podfile.lock: No such file or directory
diff: /Manifest.lock: No such file or directory
error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.

** ARCHIVE FAILED **


The following build commands failed:
	PhaseScriptExecution [CP]\ Check\ Pods\ Manifest.lock /Users/ek/Library/Caches/org.carthage.CarthageKit/DerivedData/9.2_9C40b/SwiftLocation/3.2.0/Build/Intermediates.noindex/ArchiveIntermediates/SwiftLocation-iOS/IntermediateBuildFilesPath/SwiftLocation.build/Release-iphoneos/SwiftLocation-iOS.build/Script-E2B25B138939EAE47C04ED63.sh
(1 failure)

@malcommac
Copy link
Owner

Can you try with 3.2.1?

@jonw2000
Copy link

jonw2000 commented Mar 21, 2018

Hi, I have the same problem and it fails for 3.2.1.

*** Building scheme "SwiftLocation-iOS" in SwiftLocation.xcworkspace
Build Failed
	Task failed with exit code 65:

The only version that works is 3.0.1-beta.

However, although that version builds it seems I hit a bug, since when I call

Locator.currentPosition(
                    accuracy: .block,
                    timeout: .delayed(100),
                    onSuccess: { cllocation in
                        print("Location:\(cllocation.debugDescription)")
                },
                    onFail: { locationError, cllocation in
                        print("Failed to get location: \(locationError). Location:\(cllocation?.coordinate)")
                }
                )

it always times out and enters the onFail closure.

Any advice would be appreciated, many thanks!

@blueangel0723
Copy link

blueangel0723 commented Mar 29, 2018

I have the same problem with the latest version. So I'm using 3.1.0 instead of latest version.

@chrismcs
Copy link

chrismcs commented Apr 3, 2018

Having the same issue here...I even tried to do a pod update first (since the error it's giving is about the pod file) and the carthage build still fails after that

@mapo80
Copy link

mapo80 commented Apr 17, 2018

Any news?

@hixfield
Copy link

Same issue here, any update??

@laferil
Copy link

laferil commented Sep 26, 2018

I have the same problem with the latest version. So I'm using 3.1.0 instead of latest version.

Same here. This is the only thing I could get to fix the issue for now. Definitely not ideal.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants