gpt4 book ai didi

cocoa - 如何更改后缀: bundle into webplugin in the folder Products with Xcode Project?

转载 作者:行者123 更新时间:2023-12-03 17:29:53 25 4
gpt4 key购买 nike

我想用 safari 开发一个插件,现在我用bundle新建一个项目。然后我知道如果插件工作,app.webplugin将被放入文件夹:/Library/internetplugins。但是当我将项目树的Products文件夹中的app.bundle的后缀重命名为app.webplugin时,然后当我重建时,我发现在debug文件夹中app.bundle会再次出现。我看到一些例子,当他们构建时,一些 app.plunin 或 app.webplugin 会出现在调试文件夹中,为什么?是否可以直接将Products文件夹中的app.bundle重命名为app.webplugin?多谢!

最佳答案

右键单击 Xcode 组列表中的目标,然后选择“获取信息”。

在“构建”选项卡中,将“包装器扩展”设置更改为您要用于包的文件扩展名的字符串。

关于cocoa - 如何更改后缀: bundle into webplugin in the folder Products with Xcode Project?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/1458918/

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