Comments (9)
Yeah, AvatarImageView has "Use Legacy Swift Language Version" as Unspecified. Now it's working.
Thank You Ayush
from avatarimageview.
Hi Piyush,
This looks like an issue with your project. Please go to the project's build settings and set the "Use Legacy Swift Language Version" setting to "No".
If you would like to use Swift 3 with this library, please don't convert the code yourself as it was not a trivial migration. Version 2.0.1 of the library is Swift 3 and available through CocoaPods, please use this version and you shouldn't have any trouble.
Let me know if you have any more problems!
Thanks,
Ayush
from avatarimageview.
Hello,
I have changed the project settings as you said but issue is still there.
Thanks,
Piyush
from avatarimageview.
Ah, strange. Could you describe your project setup a bit please? Are you using CocoaPods? If you are, is this error in the "Pods" project or your main project?
from avatarimageview.
I'm using CocoaPods. The error is in Pods projects.
from avatarimageview.
Ah I see, thanks for the screenshots. I've integrated the library using CocoaPods (as seen in the example project) so it does work. Could you tell me which version of CocoaPods you're using please? I know there are issues with Xcode 8 on older versions. Just run pod --version
on Terminal.
from avatarimageview.
Also could you please verify whether the Legacy Swift build setting is correct on the AvatarImageView target on the Pods project?
from avatarimageview.
Same problem here, by default the pod was installed with "Unspecified" legacy setting. I think it should be fixed in the pod specification somewhere
from avatarimageview.
A workaround can be specified in the Podfile, can't do anything in the podspec unfortunately :(
from avatarimageview.
Related Issues (14)
- Swift 3 support! HOT 2
- EXC_BAD_Access HOT 5
- Image Isn't Rounded HOT 2
- Choose smaller of the two dimensions or make a perfect circle HOT 8
- Swift 4 HOT 5
- Image for UIButton HOT 1
- Carthage support HOT 1
- Add white border HOT 1
- Installing manually instead of with Pods HOT 1
- Border on Avatar view? HOT 3
- Not working!? HOT 1
- How to create AvatarImageView pragmatically? HOT 1
- How Can I make it clickable? HOT 1
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 avatarimageview.