Comments (8)
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.
I tried it now with different carthage update calls (with and without platform) but it still does not work. Here a screenshot
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.
Interestingly it works without any issues if I download the project and build the OSX target by myself.
from grdb.swift.
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.
Understood. To save time I will embed the framework directly and try to find the issue later.
from grdb.swift.
All right @skreutzberger. I'll be there when you come back!
from grdb.swift.
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.
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)
- Request: Add citation to the repo HOT 3
- Cocoapods hasn't published since 6.24.1 HOT 2
- Cocoapods 6.26.0 release is not available in Cocapods Specs repo HOT 1
- Privacy Manifest: Entry missing for accessing file timestamps via creationDate API HOT 4
- When transaction updating multiple records in the database, if one of the records does not exist, it leads to update failure. HOT 4
- Avoid conflict with other SPM packages by renaming the CSQLite SPM target
- ValueObservation.tracking called on the updating thread HOT 5
- GRDB does not seem to copy over all rows when inserting within a migration HOT 4
- Unable to decode database NULL value as Swift nil value of type Int? when using ScopeAdapter built from splittingRowAdapters HOT 13
- PlayerRequest.swift is identical in GRDBAsyncDemo and GRDBCombineDemo HOT 4
- App crashes with many (not all) users running iOS 17.4.1 HOT 8
- Library fails to compile when targeting Linux using a SQLite library that doesn't support snapshots HOT 3
- 0xdead10cc prevention — `checkForSuspensionViolation` on every `Statement.step` HOT 6
- Weird db read issue HOT 7
- Error for query count grouped HOT 4
- GRDB 6 missing DatabasePool/DatabaseQueue interchangeability HOT 3
- Thread running at User-initiated quality-of-service class waiting on a thread without a QoS class specified (base priority 0). Investigate ways to avoid priority inversions HOT 1
- [best practices] How can insert a same type of record into 2 tables HOT 8
- Using experimental CTE
- How to store database connection HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from grdb.swift.