Comments (12)
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.
Hi, @Luten !
What version do you build?
I've tried building latest master branch, and wroks fine with Xcode 9.4.1
from urlembeddedview.
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.
Update:
pod install says:
Using URLEmbeddedView (0.14.0)
from urlembeddedview.
Example is not used cocoapods.
Please use carthage.
from urlembeddedview.
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.
@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.
I've downloaded Xcode 9.2 and tried to build URLEmbeddedView Example with Carthage.
It works fine.
from urlembeddedview.
Your documentation says it should work with cocoapods too.
from urlembeddedview.
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.
@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.
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)
- Value of type 'Any' has no member '1' HOT 1
- OG data is not fully parsed HOT 6
- Page description is not available HOT 3
- Unreadable characters in link title.
- Error with addPersistentStoreWithType
- Support Swift 4.2 HOT 1
- Not able to show thumbnails of youtube links. HOT 1
- Google maps thumbnail missing
- OG data not read properly on certain sites HOT 6
- redirect
- Crash on fetch HOT 7
- Swift 5 support HOT 4
- README.md typo in Swift
- Crashes on load frequently
- Does not load imageURL or title for basic websites HOT 2
- Pod install fails on macOS 10.15 HOT 1
- pod fixes HOT 1
- Can you provide steps to install pod for objective c project?
- Add - SPM Support
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 urlembeddedview.