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

项目编译报错 #2

Closed
leejunhui opened this issue Sep 26, 2017 · 3 comments
Closed

项目编译报错 #2

leejunhui opened this issue Sep 26, 2017 · 3 comments

Comments

@leejunhui
Copy link

leejunhui commented Sep 26, 2017

如下所示

/Users/leejunhui/Documents/Development/iOS/代码集/iOSSourceCodeKitFromGitHub/Yuncai/YBL365/Class/Profile/Section2/FollowGoods/ViewModel/YBLFollowGoodsStoreService.m:191:17: error: property 'viewModel' not found on object of type 'YBLStoreViewController *'; did you mean 'viewLoaded'?
storeVC.viewModel = viewModel;
^~~~~~~~~
viewLoaded
In module 'UIKit' imported from Comment/MacroTools/YBLDataMacro.h:11:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIViewController.h:118:58: note: 'viewLoaded' declared here
@Property(nonatomic, readonly, getter=isViewLoaded) BOOL viewLoaded NS_AVAILABLE_IOS(3_0);
^
/Users/leejunhui/Documents/Development/iOS/代码集/iOSSourceCodeKitFromGitHub/Yuncai/YBL365/Class/Profile/Section2/FollowGoods/ViewModel/YBLFollowGoodsStoreService.m:191:27: error: assignment to readonly property
storeVC.viewModel = viewModel;
~~~~~~~~~~~~~~~~~ ^ ~~~~~~~~~

@Josin22
Copy link
Owner

Josin22 commented Sep 26, 2017

xcode 版本多少

@leejunhui
Copy link
Author

最新的Xcode9.0

@Josin22
Copy link
Owner

Josin22 commented Sep 29, 2017

看看这个#5

@Josin22 Josin22 closed this as completed Nov 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants