Comments (9)
Indeed very strange. I'm looking into it... Never seen Xcode behave this way before. I suspect it's due to the project file being a bit older.
from aspolylineview.
Ok, figured it out. That #if
is the cause:
#if __IPHONE_OS_VERSION_MIN_REQUIRED < __IPHONE_7_0
Since iOS 7 [AS|MK]PolylineRenderer
is what you should generally use, not [AS|MK]PolylineView
. Xcode 9 is now setting the minimum version to iOS 8, so that class is, poof, gone when building with Xcode 9 which is causing the issues you're seeing. I'll restore the class and use a deprecation warning instead.
from aspolylineview.
Yes, I'll have another problem then, I tried to import the renderer instead of the view at first try, but I get this error : No such module 'ASPolylineRenderer'. No problem importing the ASPolylineView though.
from aspolylineview.
The header is properly included, so I don't get why I get the error.
from aspolylineview.
Latest theory: The (Carthage) framework gives preference to "ASPolylineView.h" rather than the umbrella header "ASPolylineView-iOS.h" and it therefore can't find ASPolylineRenderer
class.
If I add an #import "ASPolylineRenderer.h"
to "ASPolylineView.h" it indeed seems to fix it.
from aspolylineview.
Try this: https://github.com/nighthawk/ASPolylineView/releases/tag/v1.0.2
from aspolylineview.
I downloaded v1.0.2 and can see the new header inclusion in the framework, but Xcode still complains.
I look into it a bit more to give you details if anything catches my attention.
from aspolylineview.
Mmm, I spoke too quickly. I only need to import ASPolylineView to use the View AND the Renderer.
Thanks :)
from aspolylineview.
Great! Can understand the confusion. Naming a module/framework after a class is definitely not the best idea ;)
from aspolylineview.
Related Issues (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 aspolylineview.