1

我在 xcode 5 中创建了一个空项目。当我进行适当的构建时,它给了我这个错误

'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''。错误:错误域 = NSCocoaErrorDomain 代码 = 260 “文件“sharkAppDelegate.d”无法打开,因为没有这样的文件。” UserInfo=0x7fbabd9be8a0 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d, NSUnderlyingError=0x7fbabd9bd520“操作无法完成。没有这样的文件或目录”} . 用户信息:{ NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpa1EIp5/TARGET_TEMP_DIR/Objects-normal/armv7/sharkAppDelegate.d"; NSUnderlyingError = "错误域=NSPOSIXErrorDomain Code=2 \"操作无法\U2019t 完成。没有这样的文件或目录\””; }。功能:strong, F) [F = ] Thread: {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''。错误:错误域=NSCocoaErrorDomain Code=260“无法打开文件“androidshark-Prefix.pch.d”,因为没有这样的文件。” 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操作无法完成。没有这样的文件或目录”}。用户信息:{ NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/C/com.apple.DeveloperTools/5.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''。错误:错误域 = 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 Code=2 \"操作无法\U2019t 完成。没有这样的文件或目录\””; }。功能: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''。错误:错误域 = NSCocoaErrorDomain 代码 = 260 “无法打开文件“androidsharkTests.d”,因为没有这样的文件。” UserInfo=0x7fd1941b5050 {NSFilePath=/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d, NSUnderlyingError=0x7fd1941bc7c0“操作无法完成。没有这样的文件或目录. 用户信息:{ NSFilePath = "/var/folders/nc/m2ds8dw113l80bkf79bcfqg40000gn/T/tmpLcA0vT/TARGET_TEMP_DIR/Objects-normal/armv7/androidsharkTests.d"; NSUnderlyingError = "错误域=NSPOSIXErrorDomain Code=2 \"操作无法\U2019t 完成。没有这样的文件或目录\””; }。功能:http://bugreport.apple.com带有此警告消息以及您可以提供的任何有用信息。2013-09-27 13:18:43,231 - 构建 - 错误 - 无法生成构建参数 Traceback(最后一次调用):文件“/Users/apple/.apportable/SDK/site_scons/build/__init.py”,第 481 行,在 App 中生成,generated_pa​​th,main_module = xcode.GenerateBuildParams(env) 文件“/Users/apple/.apportable/SDK/site_scons/build/xcode.py”,第 140 行,在 GenerateBuildParams for lib 中selected_target_generated['libs']: TypeError: 'NoneType' object is not subscriptable Traceback (last last最近调用): File "/Users/apple/.apportable/SDK/bin/apportable", line 782, in run(env) File “/Users/apple/.apportable/SDK/bin/apportable”,第 723 行,在运行结果中 = actionsargs.action 文件“/Users/apple/.apportable/SDK/bin/apportable”,第 86 行,在 LoadAction 中返回 env .LoadApp(site_init.BuildApplication(env, env['BUILD_TARGET'])) 文件“/Users/apple/.apportable/SDK/site_scons/site_init.py”,第 388 行,在 BuildApplication 返回构建。应用程序(环境,app_sconscript)文件“/Users/apple/.apportable/SDK/site_scons/build/init .py”,第 481 行,在 App 生成中,generated_pa​​th,main_module = xcode.GenerateBuildParams(env) 文件“/Users/apple/.apportable/SDK/site_scons/build/xcode.py”,第 140 行,在 GenerateBuildParams for lib在 selected_target_generated['libs']: TypeError: 'NoneType' object is not subscriptable'

4

3 回答 3

2

正如 Philippe Hausler 在他们的支持论坛上所说

我们仍在努力修复,希望它应该在下周准备好。

我个人将我的 Xcode 4 存储在 /Applications/Xcode4.app 和 Xcode 5 存储在 /Applications/Xcode5.app 以构建我必须通过此切换的当前内容:

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

这是论坛 URL https://groups.google.com/forum/#!forum/apportable-discuss值得每天查看。

干杯,休伯特

于 2013-09-27T07:45:20.307 回答
0

我忘了补充说我尝试了一个空项目,因为我在其他项目中遇到了非常相似的错误,这些错误列表更大。

我得到了最新版本 1.024

我以前用 Xcode 4.61 编译过东西。我不知道现在发生了什么。

于 2013-09-27T06:02:28.893 回答
0

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

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

于 2013-10-09T16:16:15.080 回答