Apportable Xcode 5空项目编译错误

时间:2013-09-27 05:34:32

标签: apportable

我在xcode 5中创建了一个空项目。当我做了apportable build时,它给了我这个错误

&#39; androidshark apple $ apportable load 使用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:78 Details: Failed to load dependencies output contents from / var / folders / nc / m2ds8dw113l80bkf79bcfqg40000gn / T / tmpa1EIp5 / TARGET_TEMP_DIR / Objects-normal / armv7 / sharkAppDelegate.d&#39;&#39;加载依赖项输出内容。错误:错误域= NSCocoaErrorDomain代码= 260&#34;无法打开文件“sharkAppDelegate.d”,因为没有这样的文件。&#34; UserInfo = 0x7fbabd9be8a0 {NSFilePath = / var / folders / nc / m2ds8dw113l80bkf79bcfqg40000gn / T / tmpa1EIp5 / TARGET_TEMP_DIR / Objects-normal / armv7 / sharkAppDelegate.d,NSUnderlyingError = 0x7fbabd9bd520&#34;操作无法完成。没有这样的文件或目录&#34;}。用户信息: {     NSFilePath =&#34; /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d" ;;     NSUnderlyingError =&#34;错误域= NSPOSIXErrorDomain代码= 2 \&#34;操作无法完成。没有这样的文件或目录\&#34;&#34 ;; }。 功能: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 androidsharkTests 2013-09-27 13:18:42.845 xcodebuild[83701:2813] DVTAssertions: Warning in /SourceCache/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-3564/Xcode3Sources/XcodeIDE/Frameworks/DevToolsBase/pbxcore/SpecificationTypes/XCGccMakefileDependencies.m:78 Details: 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&#39;&#39 ;.错误:错误域= NSCocoaErrorDomain代码= 260&#34;由于没有此类文件,无法打开文件“androidshark-Prefix.pch.d”。&#34; 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&# 34;操作无法完成。没有这样的文件或目录&#34;}。用户信息: {     NSFilePath =&#34; /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.0-5A1412/Xcode/SharedPrecompiledHeaders/androidshark-Prefix-fofkyioslmjpdibzwybriufsgphs/androidshark-Prefix.pch.d" ;;     NSUnderlyingError =&#34;错误域= NSPOSIXErrorDomain代码= 2 \&#34;操作无法完成。没有这样的文件或目录\&#34;&#34 ;; }。 功能: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:78 Details: Failed to load dependencies output contents from / var / folders / nc / m2ds8dw113l80bkf79bcfqg40000gn / T / tmpLcA0vT / TARGET_TEMP_DIR / Objects-normal / armv7 / main.d&#39;&#39;加载依赖项输出内容。错误:错误域= NSCocoaErrorDomain代码= 260&#34;由于没有此类文件,无法打开文件“main.d”。&#34; UserInfo = 0x7fd1941f5a30 {NSFilePath = / var / folders / nc / m2ds8dw113l80bkf79bcfqg40000gn / T / tmpLcA0vT / TARGET_TEMP_DIR / Objects-normal / armv7 / main.d,NSUnderlyingError = 0x7fd1941f59a0&#34;操作无法完成。没有这样的文件或目录&#34;}。用户信息: {     NSFilePath =&#34; /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/main.d" ;;     NSUnderlyingError =&#34;错误域= NSPOSIXErrorDomain代码= 2 \&#34;操作无法完成。没有这样的文件或目录\&#34;&#34 ;; }。 功能: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:78 Details: Failed to load dependencies output contents from / var / folders / nc / m2ds8dw113l80bkf79bcfqg40000gn / T / tmpLcA0vT / TARGET_TEMP_DIR / Objects-normal / armv7 / androidsharkTests.d&#39;&#39;加载依赖项输出内容。错误:错误域= NSCocoaErrorDomain代码= 260&#34;无法打开文件“androidsharkTests.d”,因为没有这样的文件。&#34; UserInfo = 0x7fd1941b5050 {NSFilePath = / var / folders / nc / m2ds8dw113l80bkf79bcfqg40000gn / T / tmpLcA0vT / TARGET_TEMP_DIR / Objects-normal / armv7 / androidsharkTests.d,NSUnderlyingError = 0x7fd1941bc7c0&#34;操作无法完成。没有这样的文件或目录&#34;}。用户信息: {     NSFilePath =&#34; /var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d" ;;     NSUnderlyingError =&#34;错误域= NSPOSIXErrorDomain代码= 2 \&#34;操作无法完成。没有这样的文件或目录\&#34;&#34 ;; }。 功能:void XCGccMakefileDependenciesParsePathsFromRuleFile(NSString * __ strong,F)[F =] 线程:{name =(null),num = 7} 请在http://bugreport.apple.com上提交此警告消息以及您可以提供的任何有用信息。 2013-09-27 13:18:43,431 - build - ERROR - 无法生成构建参数 Traceback(最近一次调用最后一次):   文件&#34; /Users/apple/.apportable/SDK/site_scons/build / __ init .py&#34;,第481行,在App中     generated,generated_pa​​th,main_module = xcode.GenerateBuildParams(env)   文件&#34; /Users/apple/.apportable/SDK/site_scons/build/xcode.py",第140行,在GenerateBuildParams中     对于selected_target_generated中的lib [&#39; libs&#39;]: TypeError:&#39; NoneType&#39;对象不可订阅 Traceback(最近一次调用最后一次):   File&#34; /Users/apple/.apportable/SDK/bin/apportable" ;,第782行,在     运行(ENV)   文件&#34; /Users/apple/.apportable/SDK/bin/apportable" ;,第723行,在运行中     results = actionsargs.action   文件&#34; /Users/apple/.apportable/SDK/bin/apportable",第86行,在LoadAction中     return env.LoadApp(site_init.BuildApplication(env,env [&#39; BUILD_TARGET&#39;]))   在BuildApplication中的文件&#34; /Users/apple/.apportable/SDK/site_scons/site_init.py",第388行     return build.App(env,app_sconscript)   文件&#34; /Users/apple/.apportable/SDK/site_scons/build/ init .py&#34;,第481行,在App中     generated,generated_pa​​th,main_module = xcode.GenerateBuildParams(env)   文件&#34; /Users/apple/.apportable/SDK/site_scons/build/xcode.py",第140行,在GenerateBuildParams中     对于selected_target_generated中的lib [&#39; libs&#39;]: TypeError:&#39; NoneType&#39;对象不是可订阅的&#39;

3 个答案:

答案 0 :(得分:2)

正如Philippe Hausler在他们的支持论坛中所说的那样

  

我们正在努力解决问题,希望它能在下周准备好。

     

我个人将我的Xcode 4存储在/Applications/Xcode4.app中,Xcode 5存储在/Applications/Xcode5.app   用当前的东西构建我必须通过这个来切换:

     

sudo xcode-select --switch /Applications/Xcode4.app/Contents/Developer

以下是论坛网址https://groups.google.com/forum/#!forum/apportable-discuss,值得每天查看。

干杯, 休伯特

答案 1 :(得分:0)

我忘了补充说我尝试了一个空项目,因为我的其他项目出现了非常类似的错误,这些项目的错误列表更大。

我得到了最新版本1.024

我之前使用Xcode 4.61编译了一些东西。我不知道现在开心的是什么。

答案 2 :(得分:0)

今天发布的1.0.26 SDK初始支持Xcode 5。

运行apportable update以更新您的安装。