草庐IT

iphonesimulator9

全部标签

ios - target 指定产品类型 'com.apple.product-type.bundle.ui-testing' ,但是 'iphonesimulator' 平台没有这样的产品类型

当我运行我的swift项目时,我得到了这个错误。targetspecifiesproducttype'com.apple.product-type.bundle.ui-testing',butthere'snosuchproducttypeforthe'iphonesimulator'platform我在SO上发现了一些类似的问题,但是this答案没有解决我的问题。我googled它也是,里面没有这个产品类型的项目。我正在使用xcode6.4和swift1.2 最佳答案 在使用Xcode7Beta添加用于UI测试的产品并不断在Xco

ios - 无法使用 iphonesimulator9.2 为模拟器构建

我在尝试使用xcodebuild为模拟器构建项目时遇到奇怪的错误(直接使用Xcode构建时工作正常)。09:54:55-tito@lt0311Game>xcrunxcodebuild-verbose-schemeGame-configurationDebug-sdkiphoneos9.2-derivedDataPathbuildscleanbuild|xcpretty▸CleaningGame/Game[Debug]▸CheckDependencies▸CleanSucceeded▸BuildingGame/Game[Debug]▸CheckDependencies▸Compiling

ios -/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_sim 不属于 root

Xcode6.1在组件安装完成后出现错误。Xcode安装程序是从其他mac复制的。请帮助我如何解决dyld_sim错误....谢谢/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator.sdk/usr/lib/dyld_simisnotownedbyroot. 最佳答案 我在终端上使用了这个命令:sudochownroot/Applications/Xcode.app/Co

ios - Swift不支持SDK 'iPhoneSimulator8.4.sdk'

刚刚更新到Xcode7.0.1,在禁用SIP的ElCapitan(GM)上运行。现在每次我尝试编译一个Swift项目时,我都会收到这个错误;:0:error:SwiftdoesnotsupporttheSDK'iPhoneSimulator8.4.sdk'Command/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/swiftcfailedwithexitcode1我也尝试过为实际设备编译并得到::0:error:SwiftdoesnotsupporttheSD