gpt4 book ai didi

ios - 重命名项目后更改 Watchkit 扩展包 ID

转载 作者:行者123 更新时间:2023-11-28 07:01:48 25 4
gpt4 key购买 nike

将我的项目从“apple watch company tutorial”重命名为“Project x”后,我遇到了一些麻烦,我通过检查这个 answer 解决了一些问题, 和 this one

iPhone 应用信息.plist:

Bundle identifier: com.company.projectx

Watchkit 扩展信息.plist:

Bundle identifier: com.company.projectx.watchkitextension

WKAppBundleIdentifier: com.company.projectx.watchkitapp

RemoteInterfacePrincipalClass: com.company.projectx.watchkitextension.InterfaceController

WatchKit 应用信息.plist

Bundle identifier: com.company.projectx.watchkitapp

WKCompanionAppBundleIdentifier: com.company.projectx

我的起始接口(interface)被命名为InterfaceController

但是现在我遇到了麻烦

 2015-08-05 08:38:21.758 projectx WatchKit Extension[24714:1080879] WatchKit error - unable to find interface controller class '_TtC46Apple_Watch_Company_Tutorial_WatchKit_Extension19InterfaceController' to instantiate

我认为我的问题仍然与重命名项目和手动更改包有关,但我不知道我做错了什么。

最佳答案

似乎有必要更改接口(interface)中类的模块。它被命名为以前的模块,在我单击名称时 xcode 已经建议的新模块更改之后,它正在工作。

关于ios - 重命名项目后更改 Watchkit 扩展包 ID,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31847960/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com