Code Monkey home page Code Monkey logo

Comments (12)

Luten avatar Luten commented on May 28, 2024 1

Don't you try install pod with pod install --repo-update?

Strangely pods didn't update to latest available version automatically, set manually to 0.15.3 (we need ios8) - now it works.
Great thanks!

from urlembeddedview.

marty-suzuki avatar marty-suzuki commented on May 28, 2024

Hi, @Luten !

What version do you build?
I've tried building latest master branch, and wroks fine with Xcode 9.4.1

from urlembeddedview.

Luten avatar Luten commented on May 28, 2024

I'm building with Xcode 9.2, swift4.0 (for business reasons upgrade not allowed yet )
Framework integrated via cocoaPods:

use_frameworks!
target 'MyTarget' do
    pod 'URLEmbeddedView'
end

from urlembeddedview.

Luten avatar Luten commented on May 28, 2024

Update:
pod install says:
Using URLEmbeddedView (0.14.0)

from urlembeddedview.

marty-suzuki avatar marty-suzuki commented on May 28, 2024

Example is not used cocoapods.
Please use carthage.

from urlembeddedview.

Luten avatar Luten commented on May 28, 2024

That cleary have nothing with carthage or cocoapods.
It's about Swift to ObjC bridge - it requires to add @objc on every property that should be available in ObjC

from urlembeddedview.

marty-suzuki avatar marty-suzuki commented on May 28, 2024

@objc attribute is not matter because it had already implemented.
Don’t you look implementation?
https://github.com/marty-suzuki/URLEmbeddedView/blob/master/URLEmbeddedView/Core/Entity/OpenGraphData.swift

from urlembeddedview.

marty-suzuki avatar marty-suzuki commented on May 28, 2024

I've downloaded Xcode 9.2 and tried to build URLEmbeddedView Example with Carthage.
It works fine.

from urlembeddedview.

Luten avatar Luten commented on May 28, 2024

Your documentation says it should work with cocoapods too.

from urlembeddedview.

marty-suzuki avatar marty-suzuki commented on May 28, 2024

What version of README did you see?

Latest README is this.

To run the example project, clone the repo, and run carthage update from the Example directory first.

It have written clearly at https://github.com/marty-suzuki/URLEmbeddedView#usage

from urlembeddedview.

Luten avatar Luten commented on May 28, 2024

@objc attribute is not matter because it had already implemented.
Don’t you look implementation?
https://github.com/marty-suzuki/URLEmbeddedView/blob/master/URLEmbeddedView/Core/Entity/OpenGraphData.swift

This is implemented in newer versions.
In 0.14.0 wich is last for Swift 4.0 - it is not implemented.

What version of README did you see

I didn't run your example, I said that same code from your example doesn't compile in my project because object properties are not visible

Looks like 0.14 version was not updated for swift 4.0

from urlembeddedview.

marty-suzuki avatar marty-suzuki commented on May 28, 2024

I didn't run your example, I said that same code from your example

Sorry, Now I understand your correct situation.

In 0.14.0 wich is last for Swift 4.0

Your wrong. I've succeed to run with Xcode 9.0 at latest version.
Don't you try installing pod with pod install --repo-update?

from urlembeddedview.

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.