gpt4 book ai didi

iphone - 由于 _NSURLIsExcludedFromBackupKey 错误导致 Phonegap 1.9.0 应用程序崩溃

转载 作者:可可西里 更新时间:2023-11-01 03:01:58 24 4
gpt4 key购买 nike

我正在尝试使用 iOS 在 Phonegap 1.9.0 中加载 HelloWorld 示例,但我在这样做时遇到了一些问题......我正在关注:http://docs.phonegap.com/en/1.9.0/guide_getting-started_ios_index.md.html#Getting%20Started%20with%20iOS它说 Apple Mach-O Linker(Id) 错误。

当我点击错误时,它说:

Undefined symbols for architecture i386:
"_NSURLIsExcludedFromBackupKey", referenced from:
-[CDVFile setMetadata:withDict:] in Cordova
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)

我写了一个类似的应用程序,它不使用电话间隙并且运行正常......但是当我使用电话间隙时,它给了我这个错误......不知道该怎么做......需要一些指导。

最佳答案

在最新的 phonegap 版本:1.9.0 中,出现错误提示 _NSURLIsExcludedFromBackupKey。

要解决这个问题,将其添加到 AppDelegate.m

NSString * const NSURLIsExcludedFromBackupKey =@"NSURLIsExcludedFromBackupKey";

这将有助于解决错误..与体系结构无关...

PhoneGap 的新手可以观看这些视频:

第 1 部分:http://www.youtube.com/watch?v=zXf1zyKQ5Hw&feature=relmfu

第 2 部分:http://www.youtube.com/watch?v=t95KG_SFppU

关于iphone - 由于 _NSURLIsExcludedFromBackupKey 错误导致 Phonegap 1.9.0 应用程序崩溃,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11328375/

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