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

初步实现Widgets #409

Closed
wants to merge 0 commits into from
Closed

Conversation

FengzihangCode
Copy link
Contributor

AppIntents与URL Scheme都没有实现,只有Widgets的视频标题

因为明天开学(

实在对不起(

@FengzihangCode
Copy link
Contributor Author

有冲突(

代码能够运行,这几天应该没法改了(((

对不起(((((

@WindowsMEMZ
Copy link
Member

在完成功能实现前,将 Pull Request 转为草稿。

@WindowsMEMZ WindowsMEMZ marked this pull request as draft September 15, 2024 01:06
@FengzihangCode
Copy link
Contributor Author

FengzihangCode commented Sep 15, 2024 via email

@WindowsMEMZ WindowsMEMZ marked this pull request as ready for review September 15, 2024 02:06
@WindowsMEMZ WindowsMEMZ self-requested a review September 15, 2024 02:06
"@executable_path/Frameworks",
"@executable_path/../../Frameworks",
);
MARKETING_VERSION = 1.0;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

版本号更改为1.0.0,第 2057, 2089 行也一并更改。

INFOPLIST_FILE = MeowWidget/Info.plist;
INFOPLIST_KEY_CFBundleDisplayName = MeowWidget;
INFOPLIST_KEY_NSHumanReadableCopyright = "";
IPHONEOS_DEPLOYMENT_TARGET = 17.2;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

iOS 构建目标版本应该为 17.0,第 2051, 2083 行一并更改。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

此文件供 Widget 使用,应当移动到 MeowWidget 文件夹下,同时从 MeowBiliMeowBili Watch App 两个 Target 中移除,仅包含在 MeowWidgetExtension Target 中。

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

还有,BiliBiliAPIService在后面实现App Intents之类的功能的时候可能会需要,麻烦再确认一下是不是以后只有Widgets会使用

如果要在 Target 之间共享代码,请在项目根目录下创建SharedCode文件夹,并将此文件移动到新文件夹中。

}
.configurationDisplayName("喵哩喵哩Widget")
.description("热门或推荐的视频内容")
.supportedFamilies([.systemSmall, .systemMedium, .systemLarge, .accessoryCircular, .accessoryRectangular])
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

构建错误,

'systemSmall' is unavailable in watchOS
'systemMedium' is unavailable in watchOS
'systemLarge' is unavailable in watchOS

@FengzihangCode
Copy link
Contributor Author

FengzihangCode commented Sep 15, 2024 via email

@FengzihangCode
Copy link
Contributor Author

FengzihangCode commented Sep 15, 2024 via email

@FengzihangCode
Copy link
Contributor Author

FengzihangCode commented Sep 15, 2024 via email

@FengzihangCode
Copy link
Contributor Author

我先Closed了 直接解决冲突重新写

@FengzihangCode
Copy link
Contributor Author

我估计会过一阵子才能继续PR 最近学校事情太多了

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

Successfully merging this pull request may close these issues.

2 participants