问题描述
我在xcode 5中创建了一个空项目.当我进行适当的构建时,它给了我这个错误
i have an created an empty project in xcode 5. It gave me this error when I did apportable build
'androidshark apple $可分配负载使用TARGET_ARCH_ABI:armeabi ARM_NEON:False构建构建到/Users/apple/.apportable/SDK/Build/android-armeabi-debug正在更新配置参数...正在构建Xcode项目/android/shark2/androidshark/androidshark扫描目标androidshark的构建配置2013-09-27 13:18:38.657 xcodebuild [83681:313] DVTAssertions:/SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78中的警告详细信息:无法从/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fiixcbwreansxzhkosqdeekvvhit/androidshark-Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file androidshark-Prefix.pch.d couldn’t be opened because there is no such file." UserInfo=0x7fbabd831650 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fiixcbwreansxzhkosqdeekvvhit/androidshark-Prefix.pch.d, NSUnderlyingError=0x7fbabd87f080 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fiixcbwreansxzhkosqdeekvvhit/androidshark-Prefix.pch.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fbabd8c0a30>{name = (null), num = 6}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:38.699 xcodebuild[83681:4403] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d中加载依赖项输出内容.错误:错误Domain = NSCocoaErrorDomain代码= 260由于没有这样的文件,因此无法打开文件"sharkAppDelegate.d"." UserInfo = 0x7fbabd9be8a0 {NSFilePath =/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d,NSUnderlyinging错误= 0x7tbabd9n"已完成. .用户信息: { NSFilePath ="/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d"; NSUnderlyingError =错误域= NSPOSIXErrorDomain代码= 2 \"无法完成该操作.没有这样的文件或目录\"";}.函数:void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString * strong,F)[F =]线程:{name =(null),num = 7}请通过 http://bugreport.apple.com 提交错误,并提供此警告消息以及您可以提供的任何有用信息.2013-09-27 13:18:38.745 xcodebuild [83681:232b] DVTAssertions:/SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78中的警告详细信息:无法从/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/main.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file main.d couldn’t be opened because there is no such file." UserInfo=0x7fbabda275e0 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/main.d, NSUnderlyingError=0x7fbabda24bf0 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/main.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fbabda25cc0>{name = (null), num = 8}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.Scanning build configuration for target androidsharkTests2013-09-27 13:18:42.845 xcodebuild[83701:2813] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwywyichschs.phs.phd.com中加载依赖项输出内容. ".错误:错误Domain = NSCocoaErrorDomain代码= 260由于没有这样的文件,因此无法打开文件"androidshark-Prefix.pch.d"." UserInfo = 0x7fd1941b5760 {NSFilePath =/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwy1pdch1p.bf0bd1b.swp1b.swp1b.swp1b.bs.com操作无法完成.没有这样的文件或目录}.用户信息: { NSFilePath ="/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwybriufsgphs/androidshark-Prefix.pch. NSUnderlyingError =错误域= NSPOSIXErrorDomain代码= 2 \"无法完成该操作.没有这样的文件或目录\"";}.函数:void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString * __ strong,F)[F =]线程:{name =(null),num = 6}请通过 http://bugreport.apple.com 提交错误,并提供此警告消息以及您可以提供的任何有用信息.2013-09-27 13:18:42.887 xcodebuild [83701:2813] DVTAssertions:/SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78中的警告详细信息:无法从/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file sharkAppDelegate.d couldn’t be opened because there is no such file." UserInfo=0x7fd1941bec80 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d, NSUnderlyingError=0x7fd1941b4a00 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fd1941ebf10>{name = (null), num = 6}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:42.922 xcodebuild[83701:1703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d加载依赖项输出内容.错误:错误Domain = NSCocoaErrorDomain代码= 260无法打开文件"main.d",因为没有这样的文件." UserInfo = 0x7fd1941f5a30 {NSFilePath =/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d,NSUnderlyingError = 0x7fd1941f59a0无法完成目录" .用户信息: { NSFilePath ="/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d"; NSUnderlyingError =错误域= NSPOSIXErrorDomain代码= 2 \"无法完成该操作.没有这样的文件或目录\"";}.函数:void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString * __ strong,F)[F =]线程:{name =(null),num = 7}请通过 http://bugreport.apple.com 提交错误,并提供此警告消息以及您可以提供的任何有用信息.2013-09-27 13:18:43.116 xcodebuild [83701:1703] DVTAssertions:/SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78中的警告详细信息:无法从/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-gbnbvpzwmdufkrfybjovaydtncti/androidshark-Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file androidshark-Prefix.pch.d couldn’t be opened because there is no such file." UserInfo=0x7fd1941b6650 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-gbnbvpzwmdufkrfybjovaydtncti/androidshark-Prefix.pch.d, NSUnderlyingError=0x7fd1936c0d40 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-gbnbvpzwmdufkrfybjovaydtncti/androidshark-Prefix.pch.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fd1941b4a00>{name = (null), num = 7}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:43.158 xcodebuild[83701:1703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d中加载依赖项输出内容.错误:错误Domain = NSCocoaErrorDomain代码= 260由于没有这样的文件,因此无法打开文件"androidsharkTests.d"." UserInfo = 0x7fd1941b5050 {NSFilePath =/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d,NSUnderlyingError = 0"无法完成文件".用户信息: { NSFilePath ="/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d"; NSUnderlyingError =错误域= NSPOSIXErrorDomain代码= 2 \"无法完成该操作.没有这样的文件或目录\"";}.函数:void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString * __ strong,F)[F =]线程:{name =(null),num = 7}请通过 http://bugreport.apple.com 提交错误,并提供此警告消息以及您可以提供的任何有用信息.2013-09-27 13:18:43,231-构建-错误-无法生成构建参数追溯(最近一次通话): 在应用程序中,文件"/Users/apple/.apportable/SDK/site_scons/build/__init.py",第481行 生成,生成路径,main_module = xcode.GenerateBuildParams(env) GenerateBuildParams中的文件"/Users/apple/.apportable/SDK/site_scons/build/xcode.py",第140行 对于selected_target_genic ['libs']中的lib:TypeError:"NoneType"对象不可下标追溯(最近一次通话): 文件"/Users/apple/.apportable/SDK/bin/apportable",第782行,在 运行(env) 运行中的文件"/Users/apple/.apportable/SDK/bin/apportable",行723 结果= actionsargs.action LoadAction中的文件"/Users/apple/.apportable/SDK/bin/apportable",行86 返回env.LoadApp(site_init.BuildApplication(env,env ['BUILD_TARGET'])) BuildApplication中的文件"/Users/apple/.apportable/SDK/site_scons/site_init.py",行388 返回build.App(env,app_sconscript) 在应用程序中,文件"/Users/apple/.apportable/SDK/site_scons/build/init.py",第481行 生成,生成路径,main_module = xcode.GenerateBuildParams(env) GenerateBuildParams中的文件"/Users/apple/.apportable/SDK/site_scons/build/xcode.py",第140行 对于selected_target_genic ['libs']中的lib:TypeError:"NoneType"对象不可下标"
'androidshark apple$ apportable loadBuilding with TARGET_ARCH_ABI:armeabi ARM_NEON:FalseBuilding to /Users/apple/.apportable/SDK/Build/android-armeabi-debugUpdating configuration parameters... Building Xcode project /android/shark2/androidshark/androidsharkScanning build configuration for target androidshark2013-09-27 13:18:38.657 xcodebuild[83681:313] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fiixcbwreansxzhkosqdeekvvhit/androidshark-Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "androidshark-Prefix.pch.d" couldn’t be opened because there is no such file." UserInfo=0x7fbabd831650 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fiixcbwreansxzhkosqdeekvvhit/androidshark-Prefix.pch.d, NSUnderlyingError=0x7fbabd87f080 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fiixcbwreansxzhkosqdeekvvhit/androidshark-Prefix.pch.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fbabd8c0a30>{name = (null), num = 6}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:38.699 xcodebuild[83681:4403] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "sharkAppDelegate.d" couldn’t be opened because there is no such file." UserInfo=0x7fbabd9be8a0 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d, NSUnderlyingError=0x7fbabd9bd520 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *strong, F) [F = ]Thread: {name = (null), num = 7}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:38.745 xcodebuild[83681:232b] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/main.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "main.d" couldn’t be opened because there is no such file." UserInfo=0x7fbabda275e0 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/main.d, NSUnderlyingError=0x7fbabda24bf0 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/main.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fbabda25cc0>{name = (null), num = 8}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.Scanning build configuration for target androidsharkTests2013-09-27 13:18:42.845 xcodebuild[83701:2813] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwybriufsgphs/androidshark-Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "androidshark-Prefix.pch.d" couldn’t be opened because there is no such file." UserInfo=0x7fd1941b5760 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwybriufsgphs/androidshark-Prefix.pch.d, NSUnderlyingError=0x7fd1941b60f0 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwybriufsgphs/androidshark-Prefix.pch.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = ]Thread: {name = (null), num = 6}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:42.887 xcodebuild[83701:2813] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "sharkAppDelegate.d" couldn’t be opened because there is no such file." UserInfo=0x7fd1941bec80 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d, NSUnderlyingError=0x7fd1941b4a00 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fd1941ebf10>{name = (null), num = 6}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:42.922 xcodebuild[83701:1703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "main.d" couldn’t be opened because there is no such file." UserInfo=0x7fd1941f5a30 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d, NSUnderlyingError=0x7fd1941f59a0 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = ]Thread: {name = (null), num = 7}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:43.116 xcodebuild[83701:1703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-gbnbvpzwmdufkrfybjovaydtncti/androidshark-Prefix.pch.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "androidshark-Prefix.pch.d" couldn’t be opened because there is no such file." UserInfo=0x7fd1941b6650 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-gbnbvpzwmdufkrfybjovaydtncti/androidshark-Prefix.pch.d, NSUnderlyingError=0x7fd1936c0d40 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-gbnbvpzwmdufkrfybjovaydtncti/androidshark-Prefix.pch.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = <lambda at /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:168:73>]Thread: <NSThread: 0x7fd1941b4a00>{name = (null), num = 7}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:43.158 xcodebuild[83701:1703] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78Details: Failed to load dependencies output contents from
/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d''. Error: Error Domain=NSCocoaErrorDomain Code=260 "The file "androidsharkTests.d" couldn’t be opened because there is no such file." UserInfo=0x7fd1941b5050 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d, NSUnderlyingError=0x7fd1941bc7c0 "The operation couldn’t be completed. No such file or directory"}. User info: { NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d"; NSUnderlyingError = "Error Domain=NSPOSIXErrorDomain Code=2 \"The operation couldn\U2019t be completed. No such file or directory\"";}.Function: void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString *__strong, F) [F = ]Thread: {name = (null), num = 7}Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.2013-09-27 13:18:43,231 - build - ERROR - Could not generate build parametersTraceback (most recent call last): File "/Users/apple/.apportable/SDK/site_scons/build/__init.py", line 481, in App generated, generated_path, main_module = xcode.GenerateBuildParams(env) File "/Users/apple/.apportable/SDK/site_scons/build/xcode.py", line 140, in GenerateBuildParams for lib in selected_target_generated['libs']:TypeError: 'NoneType' object is not subscriptableTraceback (most recent call last): File "/Users/apple/.apportable/SDK/bin/apportable", line 782, in run(env) File "/Users/apple/.apportable/SDK/bin/apportable", line 723, in run results = actionsargs.action File "/Users/apple/.apportable/SDK/bin/apportable", line 86, in LoadAction return env.LoadApp(site_init.BuildApplication(env, env['BUILD_TARGET'])) File "/Users/apple/.apportable/SDK/site_scons/site_init.py", line 388, in BuildApplication return build.App(env, app_sconscript) File "/Users/apple/.apportable/SDK/site_scons/build/init.py", line 481, in App generated, generated_path, main_module = xcode.GenerateBuildParams(env) File "/Users/apple/.apportable/SDK/site_scons/build/xcode.py", line 140, in GenerateBuildParams for lib in selected_target_generated['libs']:TypeError: 'NoneType' object is not subscriptable'
推荐答案
正如Philippe Hausler在其支持论坛中所说的
As Philippe Hausler said in their support forum
我个人的Xcode 4存储在/Applications/Xcode4.app,Xcode 5存储在/Applications/Xcode5.app 用当前的东西进行构建,我必须通过以下方法进行切换:
I personally have my Xcode 4 stored at /Applications/Xcode4.app and Xcode 5 stored at /Applications/Xcode5.app to build with current stuff I have to switch via this:
sudo xcode-select --switch/Applications/Xcode4.app/Contents/Developer
sudo xcode-select --switch /Applications/Xcode4.app/Contents/Developer
这里是论坛网址 https://groups.google.com/forum/#!forum/apportable-discuss 值得每天检查.
Here is forum URL https://groups.google.com/forum/#!forum/apportable-discuss worth to check on a daily basis.
干杯,休伯特
这篇关于适当的Xcode 5空项目编译错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!