Skip to content
This repository has been archived by the owner on Jun 13, 2021. It is now read-only.

Xcode 11.1 issue #245

Open
NehaVishnoi opened this issue Oct 15, 2019 · 10 comments
Open

Xcode 11.1 issue #245

NehaVishnoi opened this issue Oct 15, 2019 · 10 comments

Comments

@NehaVishnoi
Copy link

After updating the Xcode version to 11.1 In ChameleonShorthand.swift file getting error Function produces expected type 'UIColor'; did you mean to call it with '()'?

@X-Zone-Git
Copy link

After updating the Xcode version to 11.1 In ChameleonShorthand.swift file getting error Function produces expected type 'UIColor'; did you mean to call it with '()'?

I have the same issue with my project (Xcode 11.1)

@umekun123
Copy link

I have the issue on Xcode11.1 too.

@anthonyfernando
Copy link

Thank you very much for all the time and hard work that has gone into creating this library! I've been trying to use it in a Swift course I'm doing on Udemy, and have run into the same error as people have mentioned above. Here is a screen shot of the error I'm getting.
image
Unfortunately I don't have the skills yet to contribute a fix, but hopefully someone with more experience can figure out how to make the code compatible with Xcode 11.1.

@MattMash
Copy link

This branch worked for me:
pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon.git', :branch => 'swift5'

@dbof10
Copy link

dbof10 commented Oct 27, 2019

same issue

@MartinHor
Copy link

This branch worked for me:
pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon.git', :branch => 'swift5'

problem Solved .

@Jerrrr
Copy link

Jerrrr commented Nov 6, 2019

'https://github.com/wowansm/Chameleon.git', wowansm -> 我玩SM 有点秀哦

@wwildsmith
Copy link

pod 'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon.git', :branch => 'swift5' does not work fo me.

@wwildsmith
Copy link

When trying

'ChameleonFramework/Swift', :git => 'https://github.com/wowansm/Chameleon.git', :branch => 'swift5'

I get the following warning

Enumeration value 'kCGColorSpaceModelXYZ' not handled in switch

@stephangopaul
Copy link

If you are still getting the 49 issues on Xcode with "ChameleonFramework/Swift", I highly suggest that you use the objective c version of the library.

pod 'ChameleonFramework', '2.1.0'

However, you will need to add the below line in your bridging-header file.

#import "ChameleonFramework/Chameleon.h"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

10 participants