Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/csharp/335.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Compiler errors 葫芦ios链接错误:"_KSECATTRSYNCHRONIABLEANY“;,引用自:葫芦(LPSSKeychainQuery.o)中的-[LPSSKeychainQuery查询]_Compiler Errors_Ui Automation_Ios Ui Automation_Calabash Ios - Fatal编程技术网

Compiler errors 葫芦ios链接错误:"_KSECATTRSYNCHRONIABLEANY“;,引用自:葫芦(LPSSKeychainQuery.o)中的-[LPSSKeychainQuery查询]

Compiler errors 葫芦ios链接错误:"_KSECATTRSYNCHRONIABLEANY“;,引用自:葫芦(LPSSKeychainQuery.o)中的-[LPSSKeychainQuery查询],compiler-errors,ui-automation,ios-ui-automation,calabash-ios,Compiler Errors,Ui Automation,Ios Ui Automation,Calabash Ios,我在尝试运行葫芦ios项目的..-cal目标时遇到链接错误 错误是: `Ld /Users/balaiyan/Library/Developer/Xcode/DerivedData/delete-fdnlnapawhvvmpgxjbbzoopkiefe/Build/Products/Debug-iphonesimulator/delete-cal.app/delete-cal normal i386 cd /Users/balaiyan/dev/automation/apps/d

我在尝试运行葫芦ios项目的..-cal目标时遇到链接错误

错误是:

`Ld /Users/balaiyan/Library/Developer/Xcode/DerivedData/delete-fdnlnapawhvvmpgxjbbzoopkiefe/Build/Products/Debug-iphonesimulator/delete-cal.app/delete-cal normal i386 cd /Users/balaiyan/dev/automation/apps/delete setenv IPHONEOS_DEPLOYMENT_TARGET 6.1 setenv PATH "/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/usr/bin:/Applications/Xcode.app/Contents/Developer/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin" /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -arch i386 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator6.1.sdk -L/Users/balaiyan/Library/Developer/Xcode/DerivedData/delete-fdnlnapawhvvmpgxjbbzoopkiefe/Build/Products/Debug-iphonesimulator -F/Users/balaiyan/Library/Developer/Xcode/DerivedData/delete-fdnlnapawhvvmpgxjbbzoopkiefe/Build/Products/Debug-iphonesimulator -F/Users/balaiyan/dev/automation/apps/delete -filelist /Users/balaiyan/Library/Developer/Xcode/DerivedData/delete-fdnlnapawhvvmpgxjbbzoopkiefe/Build/Intermediates/delete.build/Debug-iphonesimulator/delete-cal.build/Objects-normal/i386/delete-cal.LinkFileList -Xlinker -objc_abi_version -Xlinker 2 -force_load /Users/balaiyan/dev/automation/apps/delete/calabash.framework/calabash -lstdc++ -fobjc-link-runtime -Xlinker -no_implicit_dylibs -mios-simulator-version-min=6.1 -framework Security -framework CFNetwork -framework UIKit -framework Foundation -framework CoreGraphics -framework calabash -o /Users/balaiyan/Library/Developer/Xcode/DerivedData/delete-fdnlnapawhvvmpgxjbbzoopkiefe/Build/Products/Debug-iphonesimulator/delete-cal.app/delete-cal Undefined symbols for architecture i386: "_kSecAttrSynchronizableAny", referenced from: -[LPSSKeychainQuery query] in calabash(LPSSKeychainQuery.o) ld: symbol(s) not found for architecture i386 clang: error: linker command failed with exit code 1 (use -v to see invocation) ` 不确定这是否造成了问题


我以前在运行Mavericks的office Macbook pro上执行过这些步骤,但没有发现任何问题。这是否意味着最新的葫芦ios有任何向后兼容性问题,或者这与我的钥匙链有关。需要帮助。

葫芦的当前版本0.9.169包含iOS 7符号。其中之一是
ksecattrsynchronizableny

要使用此版本,基本SDK必须至少为7.0。最低部署目标仍然可以低至5.1.1

支持6.0基本SDK的上一个版本是0.9.167

0.9.168于3月份发布。我们决定放弃对base SDK<7.0的支持,因为苹果停止接受使用base SDK<7.0的AppStore提交

能否将Xcode升级到5.1.1,并将基本SDK升级到7.0

如果必须降级gem版本,请确保替换与您的版本兼容的现有calabash.framework和链接


谢谢你的回答。我选择了较低版本的葫芦,一切正常。不幸的是,我不想升级需要操作系统更新的XCode 5.1.1,目前我必须确保我在这个iMac中的其他工作不会造成任何问题,并且可能需要大量的设置才能让其他应用程序在新的操作系统上工作。非常感谢。
   ruby-2.0.0-p451 - #generating default wrappers........
   Updating certificates in '/etc/openssl/cert.pem'.
   mkdir: /etc/openssl: Permission denied
   apples-iMac:~ balaiyan$ rvm osx-ssl-certs status all
   Certificates for /etc/openssl/cert.pem: Up to date.