Code Monkey home page Code Monkey logo

Comments (8)

groue avatar groue commented on May 19, 2024

Hello @skreutzberger,

I can't reproduce your issue:

$ carthage version
0.16.2
$ xcodebuild -version
Xcode 7.3.1
Build version 7D1014
$ cat Cartfile
github "groue/GRDB.swift" ~> 0.61.0
$ carthage update
*** Cloning GRDB.swift
*** Checking out GRDB.swift at "v0.61.0"
*** xcodebuild output can be found in /var/folders/40/k86369xs6ql1tnvs7twcmgq00000gq/T/carthage-xcodebuild.6O0jFT.log
*** Building scheme "GRDBOSX" in GRDB.xcworkspace
*** Building scheme "GRDBCipherOSX" in GRDB.xcworkspace
*** Building scheme "GRDBCipheriOS" in GRDB.xcworkspace
*** Building scheme "GRDBiOS" in GRDB.xcworkspace
(snip: some warning)
$ ls -1 Carthage/Build/Mac/
GRDB.framework
GRDB.framework.dSYM
GRDBCipher.framework
GRDBCipher.framework.dSYM

Can you give more context?

from grdb.swift.

skreutzberger avatar skreutzberger commented on May 19, 2024

I tried it now with different carthage update calls (with and without platform) but it still does not work. Here a screenshot
screenshot 2016-05-11 at 10 49 00

In the log file it says:

checking for library containing fdatasync... none required
checking for library containing dlopen... none required
configure: creating ./config.status
config.status: creating Makefile
config.status: creating sqlcipher.pc
config.status: creating config.h
config.status: executing libtool commands
make: *** No rule to make target `/Users/sebastian/...PATHTOPROJECT...', needed by `Makefile'.  Stop.
Command /bin/sh failed with exit code 2

from grdb.swift.

skreutzberger avatar skreutzberger commented on May 19, 2024

Interestingly it works without any issues if I download the project and build the OSX target by myself.

from grdb.swift.

groue avatar groue commented on May 19, 2024

The building of the GRDBCipher frameworks have a long history of trouble with Carthage (previous issue: #41).

GRDBCipher needs to build sqlite from scratch, with a Makefile. The issue used to be that environment variables were not properly set, causing make to fail. I'm not even sure of the actual responsible of those issues: is it Carthage, Xcode, the build tools? Finding a workaround has been everything but trivial.

But in your case, I'm not sure this is the same issue, even though make is involved again.

My advice: try to activate the most verbose flags, and open the sharpest eye. I'll try to help you investigate. But until your trouble can be reproduced, my efficiency will be fairly limited.

from grdb.swift.

skreutzberger avatar skreutzberger commented on May 19, 2024

Understood. To save time I will embed the framework directly and try to find the issue later.

from grdb.swift.

groue avatar groue commented on May 19, 2024

All right @skreutzberger. I'll be there when you come back!

from grdb.swift.

simme avatar simme commented on May 19, 2024

I'm also having issues using GRDB with Carthage. This seems to be the failing step:

A shell task (/usr/bin/xcrun xcodebuild -workspace /Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace -scheme GRDBCipheriOS -configuration Release -sdk iphoneos ONLY_ACTIVE_ARCH=NO BITCODE_GENERATION_MODE=bitcode CODE_SIGNING_REQUIRED=NO CODE_SIGN_IDENTITY= CARTHAGE=YES clean build) failed with exit code 65:
--- xcodebuild: WARNING: Unable to open project file '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/Playgrounds/TransactionObserver.playground' in workspace '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/Playgrounds/JSONSynchronization.playground' in workspace '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/Playgrounds/DatabaseTimestamp.playground' in workspace '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/Playgrounds/Tour.playground' in workspace '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/Playgrounds/UserDefaults.playground' in workspace '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/GRDB.xcworkspace'.
--- xcodebuild: WARNING: Unable to open project file '/Users/simme/Projects/MyProject/Carthage/Checkouts/GRDB.swift/Playgrounds/Record.playground' in workspace '/Users/simme/Projects/MyProject/Checkouts/GRDB.swift/GRDB.xcworkspace'.

Builds just fine if I embed the project file in my Xcode project. I'm on the Swift3 branch. Xcode 8 beta 6.

Let me know if there's anything else I can provide to help with debugging. :) Embedding works for now, so no hurry.

from grdb.swift.

groue avatar groue commented on May 19, 2024

Hello @simme Thanks for the report. Something has to be done with Carthage, I agree. The setup is too fragile.

from grdb.swift.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.