我刚刚将我的iPhone 4S软件更新到iOS 7 Beta 2,而我正在最后接触到一个新的应用程序(Phonegap)..不是一个好主意!
完成后,Xcode没有检测到我的iPhone,所以我安装了Xcode 5 beta.在摆弄它之后我终于得到它来检测我的手机.现在唯一的问题是使用的架构存在错误.
以下是产生的错误:
ld: warning: ignoring file /Users/-----------/Library/Developer/Xcode/DerivedData/testtest-bmnbmujiosugcmgeiceofgcfmsec/Build/Products/Debug-iphoneos/libCordova.a, file was built for archive which is not the architecture being linked (armv7s): /Users/--------/Library/Developer/Xcode/DerivedData/testtest-bmnbmujiosugcmgeiceofgcfmsec/Build/Products/Debug-iphoneos/libCordova.a
Undefined symbols for architecture armv7s:
"_OBJC_METACLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_METACLASS_$_MainCommandDelegate in MainViewController.o
"_CDVLocalNotification", referenced from:
-[AppDelegate application:didReceiveLocalNotification:] in AppDelegate.o
"_OBJC_CLASS_$_CDVCommandDelegateImpl", referenced from:
_OBJC_CLASS_$_MainCommandDelegate in MainViewController.o
"_OBJC_CLASS_$_CDVCommandQueue", referenced from:
_OBJC_CLASS_$_MainCommandQueue in MainViewController.o
"_OBJC_METACLASS_$_CDVViewController", referenced from:
_OBJC_METACLASS_$_MainViewController in MainViewController.o
"_OBJC_METACLASS_$_CDVCommandQueue", referenced from:
_OBJC_METACLASS_$_MainCommandQueue in MainViewController.o
"_CDVPluginHandleOpenURLNotification", referenced from:
-[AppDelegate application:handleOpenURL:] in AppDelegate.o
"_OBJC_CLASS_$_CDVViewController", referenced from: …Run Code Online (Sandbox Code Playgroud) 我的应用程序已接近完成,但有一个错误,我必须在发布前进行排序.该应用程序使用Cordova 3.4和Sencha为iOS和Android构建一个"原生"应用程序(该bug仅与iOS有关)
基本上,当更改选择器值时,除非用户在单击"完成"方面的速度足够快,否则它将恢复为之前的值 - 难以解释!这是一个显示行动中的错误的视频.
如前所述,这只是iOS上的问题(Android很好).值得注意的是,当应用程序中的其他选择器中有两个值选项时,此错误不存在.例如,时间(小时和分钟)和日期(日和月)的选择器没有此错误 - 只有单个值选择器有问题.
有任何想法吗?
我正在尝试使用Phonegap(2.7)在Xcode(4.6.2)上运行一个项目.
我在终端窗口中使用create命令创建项目,然后当我在Xcode中打开它并单击左上角的运行按钮时,它会成功构建,但不会启动模拟器.此外,当我单击项目选项卡时,"运行"按钮不是一个选项.
关于为什么Xcode不让我运行这个项目的任何想法?
注意,我可以在Xcode中完美地运行其他项目,只是这个我遇到了困难.