gpt4 book ai didi

ios - Cordova ActionSheet插件

转载 作者:行者123 更新时间:2023-12-01 18:58:58 24 4
gpt4 key购买 nike

我正在尝试使用在以下位置找到的ActionSheet插件
https://github.com/acyl/phonegap-plugins-1

按照安装说明进行操作:

使用此插件需要Cordova iOS。

Make sure your Xcode project has been updated for Cordova
Drag and drop the ActionSheet folder from Finder to your Plugins folder in XCode, using "Create groups for any added folders"
Add the .js files to your www folder on disk, and add reference(s) to the .js files using
Add new entry with key ActionSheet and value ActionSheet to Plugins in Cordova.plist/Cordova.plist

我不确定最后一步,但是我找到了HelloCordova-Info.plist并在其中添加了一个条目。

编译失败:
** BUILD FAILED **


The following build commands failed:CompileC build/HelloCordova.build/Debug-iphonesimulator/HelloCordova.build/Objects-normal/i386/ActionSheet-2887A8A627033B74.o /Users/Anthony/dev/phonegap_plugins/phonegap-plugins-1-master/iOS/ActionSheet/ActionSheet.m normal i386 objective-c com.apple.compilers.llvm.clang.1_0.compiler
Ld build/emulator/HelloCordova.app/HelloCordova normal i386
GenerateDSYMFile build/emulator/HelloCordova.app.dSYM build/emulator/HelloCordova.app/HelloCordova

(3次失败)

最佳答案

试试这个,我昨天刚为iOS创建了它,效果很好:https://github.com/EddyVerbruggen/cordova-plugin-actionsheet

关于ios - Cordova ActionSheet插件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/24235138/

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