Open mobilesessions opened 8 years ago
I'll look into the destination issue - seems like an easy fix.
The problem with SCRAM-SHA-1 is that libssl is not available on iOS at all. I'm using deprecated libraries for OS X right now, waiting on the mongoc folks to use the new ssl libraries Apple has provided (see here). There are workarounds (ex: including the libssl source) which I guess I could employ but they're discouraged due to security reasons.
Hi! Could you give me the output of running xcrun simctl list
and xcrun instruments -s
? Thanks!
OK - My guess is you don't have the latest version of Xcode, but that shouldn't be a requirement and I'm not 100% certain. I'll see what I can do about that tomorrow. If you really want to help out, you could try upgrading to the latest Xcode (7.2 Beta 7C62) and running it.
Hi, same problem with xCode Version 7.2 beta (7C62b) Building scheme "bson-ios" in bson.xcodeproj xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:iOS Simulator, id:4F161478-B33A-4C02-BAFD-5E7B284D5FD9 }
Unfortunately I can't reproduce this so the only thing I can really do is keep suggesting fixes and seeing what sticks. I'd like to fix this with you live at the SwiftMongoDB gitter to not pollute this thread and hopefully resolve your issue more quickly. Thanks!
Alright - I dug into it some more and found this issue. I pushed a similar fix to the "architecture" branch. Could you try building it from there? Thanks.
The issue appears to be with Carthage - I'll file an issue and try to figure out what's going on. In the meantime, you can download the source (git clone --recursive
) and run carthage build --no-skip-current
, then copy the built frameworks from carthage/build
. Alternatively, you can add the --no-build
flag to Carthage (in your own project directory) and just add the SwiftMongoDB Xcode project (which is in carthage/checkouts/swiftmongodb
) as a target dependency.
I was told that the latest version of Xcode needs to be specified in the command line - I believe that could be an issue. Use
$ xcode-select --switch /path/to/Xcode-beta.app
Could somebody confirm this is the case?
Sorry for the delay. I switched the path to Xcode beta as you say. Now I have another Code Sign error: No code signing identities found: No valid signing identities (i.e. certificate and private key pair) matching the team ID “Mxxx4363UT” were found. Is this your team ID? Could be a default configuration in the scheme bson-ios?
SCRAM-SHA-1 authentication is now available on Darwin platforms without using OpenSSL.
It requires configuring mongoc (master) with --enable-ssl=darwin
Hi, congratulations for the work :) . Running carthage bootstrap I get this error
*\ Building scheme "bson-ios" in bson.xcodeproj xcodebuild: error: Unable to find a destination matching the provided destination specifier: { platform:iOS Simulator, id:4F161478-B33A-4C02-BAFD-5E7B284D5FD9 } A shell task failed with exit code 70
Another problem is connecting with mongolab.com
Authentication failed: The "SCRAM-SHA-1" authentication mechanism requires libmongoc built with --enable-ssl fatal error: 'try!' expression unexpectedly raised an error: The "SCRAM-SHA-1" authentication mechanism requires libmongoc built with --enable-ssl: file /Library/Caches/com.apple.xbs/Sources/swiftlang_PONDEROSA/swiftlang_PONDEROSA-700.1.101.6/src/swift/stdlib/public/core/ErrorType.swift, line 50
I think that it has something to do with new authentication scheme, SCRAM-SHA-1.
Thanks in advance.