2015-01-12 35 views
0

Iam能夠在iPad和iPhone上運行我的項目,但是當我嘗試在iPad模擬器中運行它時 但是然後我得到了這個錯誤。iOS模擬器不能在Xcode 6.1.1中使用?

ld: building for iOS Simulator, but linking against dylib built for MacOSX file '/Users/apple/Documents/releaseAPICON2015/SenTestingKit.framework/SenTestingKit' for architecture i386 
clang: error: linker command failed with exit code 1 (use -v to see invocation) 

請查看此鏈接,截圖

Error

請告訴我如何找回所有的仿真在Xcode 6.1.1

回答

0

您試圖在您鏈接SenTestingKit.framework iOS項目。您不能在iOS模擬器應用程序中使用OS X二進制文件,因爲它們不兼容。

在舊版iOS,你會遇到運行時錯誤(不正確的值或崩潰)。在iOS 8.0上,這成爲鏈接時錯誤。

您需要爲iOS構建一個SenTestingKit.framework版本。希望這會有所幫助.. :)

+0

可以ü回答我這個問題http://stackoverflow.com/questions/27863507/uitableviewcell-image-size-changing-on-click-of-cell – Naveen

+0

@Naveen>哪一個? – Rashad

+0

http://stackoverflow.com/questions/27863507/uitableviewcell-image-size-changing-on-click-of-cell – Naveen