Iphone sdk 3.0 xcodebuild+;iPhone在ssh下失败,无法';t加载插件';com.apple.Xcode.iPhoneSupport';
我正在尝试从ssh编译我的iPhone应用程序。这是我在另一台机器上运行的构建工具 基本sdk是iPhone设备3.0 错误是:“无法加载插件'com.apple.Xcode.iPhoneSupport'” 但是,从常规终端执行时运行ok。也可以直接从xcode 这是日志:Iphone sdk 3.0 xcodebuild+;iPhone在ssh下失败,无法';t加载插件';com.apple.Xcode.iPhoneSupport';,iphone-sdk-3.0,xcodebuild,Iphone Sdk 3.0,Xcodebuild,我正在尝试从ssh编译我的iPhone应用程序。这是我在另一台机器上运行的构建工具 基本sdk是iPhone设备3.0 错误是:“无法加载插件'com.apple.Xcode.iPhoneSupport'” 但是,从常规终端执行时运行ok。也可以直接从xcode 这是日志: [trtrrtrtr@mac-pro-de-trtrr-trtr ~/mamcx/projects/JhonSell/iPhone]$ xcodebuild -target BestSeller -configuration
[trtrrtrtr@mac-pro-de-trtrr-trtr ~/mamcx/projects/JhonSell/iPhone]$ xcodebuild -target BestSeller -configuration Debug=== BUILDING NATIVE TARGET Three20 OF PROJECT Three20 WITH CONFIGURATION Debug ===
Checking Dependencies...
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv6, VALID_ARCHS=i386).
2010-04-27 16:16:50.369 xcodebuild[1168:4b1b] Error loading /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/MacOS/iPhoneRemoteDevice: dlopen(/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/MacOS/iPhoneRemoteDevice, 265): no suitable image found. Did find:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/MacOS/iPhoneRemoteDevice: GC capability mismatch
2010-04-27 16:16:50.371 xcodebuild[1168:4b1b] Exception caught: Couldn't load plug-in 'com.apple.Xcode.iPhoneSupport'
2010-04-27 16:16:50.373 xcodebuild[1168:4b1b] Error loading /Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/MacOS/iPhoneRemoteDevice: dlopen(/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/MacOS/iPhoneRemoteDevice, 265): no suitable image found. Did find:
/Developer/Platforms/iPhoneOS.platform/Developer/Library/Xcode/Plug-ins/iPhoneRemoteDevice.xcodeplugin/Contents/MacOS/iPhoneRemoteDevice: GC capability mismatch
2010-04-27 16:16:50.373 xcodebuild[1168:4b1b] Exception caught: Couldn't load plug-in 'com.apple.Xcode.iPhoneSupport'
** BUILD FAILED **
如果它在同一台机器上的Xcode和terminal下运行良好,那么可能是ssh中的用户权限问题 这似乎是XCode项目中的一个问题。见下一行:
No architectures to compile for (ONLY_ACTIVE_ARCH=YES, active arch=armv6, VALID_ARCHS=i386).
它表明:
- 您在“畅销书”目标中启用了“仅构建活动体系结构”复选框
- 您只有“armv6”作为活动体系结构,而唯一有效的体系结构是“i386”
- 在XCode GUI下执行构建
- 在命令行上执行生成
- 在本地计算机上,使用ssh连接并在命令行上执行构建
- 在远程计算机上,使用ssh连接并在命令行上执行构建