Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"has no member" error #18

Open
ghost opened this issue Apr 3, 2017 · 12 comments
Open

"has no member" error #18

ghost opened this issue Apr 3, 2017 · 12 comments
Labels

Comments

@ghost
Copy link

ghost commented Apr 3, 2017

I want to use Stellar with my project but I have this Value of type 'UIView' has no member error in my very first attempt to use Stellar on an UIView.

I use Carthage to install Stellar the same way as other libraries. It's like Stellar is not "installed". Installation using Stellar 0.65 is OK, and the usual Carthage installation has been followed.
Then, I used the direct inclusion of Sourcesdirectory and everything is fine.

I have clean project. This is a weird behavior... Any idea? Is there special configuration for Carthage command?

@ghost
Copy link
Author

ghost commented May 9, 2017

Any idea?

@AugustRush
Copy link
Owner

I had update carthage's build just now, you can try it again.

@ghost
Copy link
Author

ghost commented May 9, 2017

Ok. Still doesn't work.
Does Stellar can have problem on UIView subclass?

@AugustRush
Copy link
Owner

What is it error?

@ghost
Copy link
Author

ghost commented May 10, 2017

It's like Stellar is not "installed": each line of code where Stellar properties/methods are invoked display Value of type 'UIView' has no member" error.
And there is no warning about included Stellar framework.

So using Stellar source code is OK but framework not. That's why I think there is a problem on Carthage configuration.

@AugustRush
Copy link
Owner

Yes, you are right, i have rebiuld 'Stellar' for carthage and test it myself, all should be ok. sorry about this.
2017-05-10 4 42 36
2017-05-10 4 42 25

@ghost
Copy link
Author

ghost commented May 10, 2017

Check with version 0.66: still the same errors!
:-(

I built a new version of Stellar framework using source code in Carthage Checkouts directory and checking compilation in Xcode: does not work and no warnings displayed.

@AugustRush AugustRush added the bug label May 10, 2017
@ghost
Copy link
Author

ghost commented May 10, 2017

This is a weird bug!
And I have another direction of research: could it be related to access control settings?

AugustRush added a commit that referenced this issue May 11, 2017
@AugustRush
Copy link
Owner

AugustRush commented May 11, 2017

OK, i try to rebuild it and create a demo to test, all is right now. you can try it again.

@ghost
Copy link
Author

ghost commented May 11, 2017

OK, I made it work.
But I had to manually change the Deployment Target setting from 9.3 to 8.0 in Stellar Demo project > Target Stellar.

capture d ecran 2017-05-11 a 09 33 44

What was the cause of this issue?

@AugustRush
Copy link
Owner

I don't think it's this reason,you can checkout my demo for carthage.
StellarCarthageDemo.zip

@ghost
Copy link
Author

ghost commented May 11, 2017

Sorry my previous comment was not clear: there still is one problem on current version of Stellar. Deployment Target must be set to 8.0 in order to make Stellar installation via Carthage work for iOS 8.

I had to changed it myself to make the installation work!

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

No branches or pull requests

1 participant