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

ios跑不通 #1

Closed
william-xue opened this issue Jan 28, 2021 · 4 comments
Closed

ios跑不通 #1

william-xue opened this issue Jan 28, 2021 · 4 comments

Comments

@william-xue
Copy link

error: /Downloads/ReactNative_Eyepetizer-main/ios/Pods/Target Support Files/Pods-reactnative_eyepetizer/Pods-reactnative_eyepetizer.debug.xcconfig: unable to open file (in target "reactnative_eyepetizer" in project "reactnative_eyepetizer") (in target 'reactnative_eyepetizer' from project 'reactnative_eyepetizer')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the reactnative_eyepetizer editor. (in target 'reactnative_eyepetizer' from project 'reactnative_eyepetizer')

@fmtjava
Copy link
Owner

fmtjava commented Jan 28, 2021

试一下:
cd ios
pod install
yarn ios

@william-xue
Copy link
Author

error: /Downloads/ReactNative_Eyepetizer-main/ios/Pods/Target Support Files/Pods-reactnative_eyepetizer/Pods-reactnative_eyepetizer.debug.xcconfig: unable to open file (in target "reactnative_eyepetizer" in project "reactnative_eyepetizer") (in target 'reactnative_eyepetizer' from project 'reactnative_eyepetizer')
warning: Capabilities for Signing & Capabilities may not function correctly because its entitlements use a placeholder team ID. To resolve this, select a development team in the reactnative_eyepetizer editor. (in target 'reactnative_eyepetizer' from project 'reactnative_eyepetizer')
经过不懈的努力 现在OK了

@william-xue
Copy link
Author

export function createHotTabModel(namespace: string) {
if (!cached.get(namespace)) {
const model = modelExtend(hotTab, {namespace});
app.model(model);
cached.set(model.namespace, true);
}
}
动态加载model在什么场景上需要 业务层面

@fmtjava
Copy link
Owner

fmtjava commented Apr 12, 2021

多个Tab页面需要要到,比如热门模块,周排行/月排行/总排行都需要一个独立的model

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