Git Product home page Git Product logo

Comments (14)

quanvo87 avatar quanvo87 commented on September 12, 2024

I was able to run and pass the tests on a simulator. I would give it a try. Keep in mind, Swift 3.1.1 is required, so make sure your iOS supports that version.

from swift-smtp.

syagaevfeodor avatar syagaevfeodor commented on September 12, 2024

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

Can you post your Package.swift, and what was the error you received?

from swift-smtp.

syagaevfeodor avatar syagaevfeodor commented on September 12, 2024

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

I'm not seeing your Package.swift, but here's an example of what one might look like:

import PackageDescription
let package = Package(
	name: "YourProject",
	targets: [],
	dependencies: [
		.Package(url: "https://github.com/IBM-Swift/Swift-SMTP.git", majorVersion: 1, minor: 1),
	]
)

from swift-smtp.

syagaevfeodor avatar syagaevfeodor commented on September 12, 2024

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

Once you've assured your Package.swift is correct and saved, run swift package generate-xcodeproj in terminal within your project directory, then open the generated xcodeproj. Within this xcodeproj, do you still get the same error?

from swift-smtp.

syagaevfeodor avatar syagaevfeodor commented on September 12, 2024

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

What version of Swift are you using?

from swift-smtp.

syagaevfeodor avatar syagaevfeodor commented on September 12, 2024

3.1

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

Swift-SMTP currently only supports Swift 3.1.1 (there is a bug in 3.1). Besides that, I am not sure what is causing your problem and will look into it.

from swift-smtp.

syagaevfeodor avatar syagaevfeodor commented on September 12, 2024

How can i use swift 3.1.1 if with xcode apple provides swift 3.1?

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

Xcode 8.3 uses Swift 3.1.1, even though it says 3.1. So if you're using Xcode 8.3, that must not be the problem.

from swift-smtp.

quanvo87 avatar quanvo87 commented on September 12, 2024

Is it possible to share your repo so we can take a deep look at the issue?

from swift-smtp.

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.