无法使用葫芦 ios 10 和 xcode8 启动应用程序

Posted

技术标签:

【中文标题】无法使用葫芦 ios 10 和 xcode8 启动应用程序【英文标题】:Unable to launch app using calabash ios 10 and xcode8 【发布时间】:2016-10-05 16:27:55 【问题描述】:

我正在尝试在 ios 10 设备中使用 calabash 0.20.0 版本启动该应用程序..但出现错误..

我已更新列出的完整设置和错误详细信息:

我们目前的工作环境:


宝石环境


RubyGems 环境: - 红宝石版本:2.5.1 - 红宝石版本:2.3.1(2016-04-26 补丁级别 112)[x86_64-darwin15] - 安装目录:/Users/bsachi001c/.rvm/gems/ruby-2.3.1@tvx-mobile-automation - 用户安装目录:/Users/bsachi001c/.gem/ruby/2.3.0 - 红宝石可执行文件:/Users/bsachi001c/.rvm/rubies/ruby-2.3.1/bin/ruby - 可执行目录:/Users/bsachi001c/.rvm/gems/ruby-2.3.1@tvx-mobile-automation/bin - 规格缓存目录:/Users/bsachi001c/.gem/specs - 系统配置目录:/Users/bsachi001c/.rvm/rubies/ruby-2.3.1/etc - 红宝石平台: - 红宝石 - x86_64-darwin-15 - 宝石路径: - /Users/bsachi001c/.rvm/gems/ruby-2.3.1@tvx-mobile-automation - /Users/bsachi001c/.rvm/gems/ruby-2.3.1@global - 宝石配置: - :update_sources => 真 - :详细 => 真 - :回溯 => 假 - :bulk_threshold => 1000 - 远程资源: - https://rubygems.org/ - 外壳路径: - /Users/bsachi001c/.rvm/gems/ruby-2.3.1@tvx-mobile-automation/bin - /Users/bsachi001c/.rvm/gems/ruby-2.3.1@global/bin - /Users/bsachi001c/.rvm/rubies/ruby-2.3.1/bin - /用户/bsachi001c/.rvm/bin - /Users/bsachi001c/Documents/android-sdk-macosx/platform-tools - /Users/bsachi001c/Documents/android-sdk-macosx/tools - /Library/Frameworks/Python.framework/Versions/2.7/bin - /usr/local/bin - /usr/bin - /斌 - /usr/sbin - /sbin

宝石清单:


* 本地宝石 *

ansi (1.5.0) 真棒打印(1.7.0) 大十进制 (1.2.8) 野蔷薇 (2.0.4) 建设者(3.2.2) 捆绑器 (1.13.2) 捆绑器卸载 (1.0.2) 葫芦机器人 (0.8.2) 葫芦黄瓜 (0.20.0) CFPropertyList (2.3.3) 剪贴板 (1.1.1) 码雷 (1.1.1) command_runner_ng (0.1.0) 黄瓜 (2.4.0) 黄瓜核(1.5.0) 黄瓜丝 (0.0.1) 去序化(0.0.3) did_you_mean (1.0.0) diff-lcs (1.2.5) 域名 (0.5.20160826) dotenv (2.1.1) edn (1.1.1) 逃脱 (0.0.4) 可执行挂钩 (1.3.2) 宝石包装器 (1.2.7) 地理编码器(1.4.0) 小黄瓜 (4.0.0) http-cookie (1.0.3) httpclient (2.8.2.4) i18n (0.7.0) io 控制台 (0.4.5) json (1.8.3) 丝瓜 (2.0.0) 方法源(0.8.2) 哑剧类型 (3.1, 2.99.3) 哑剧类型数据 (3.2016.0521) mini_portile2 (2.1.0) 迷你测试(5.8.3) multi_json (1.12.1) 多测试(0.1.2) 网络远程登录 (0.1.1) netrc (0.11.0) nokogiri (1.6.8) 包配置(1.1.7) power_assert (0.2.6) 撬 (0.10.1) 心理 (2.0.17) 彩虹 (2.1.0) 耙子 (10.4.2) rbx-require-relative (0.0.9) rdoc (4.2.1) 休息客户端(2.0.0) 可重试(2.0.2) rspec (3.5.0) rspec 核心 (3.5.4) rspec-expectations (3.5.0) rspec 模拟 (3.5.0) rspec 支持 (3.5.0) 红宝石 (1.2.12) rubygems 捆绑器 (1.4.4) rubyzip (1.2.0) run_loop (2.2.1) 转速 (1.11.3.9) 斜坡 (3.6.0) slowhandcuke (0.0.3) 电子表格 (1.0.3) 测试单元(3.1.5) 雷神(0.19.1) unf (0.1.4) unf_ext (0.0.7.2) xamarin 测试云 (2.0.2) yajl-ruby (1.2.1)

红宝石-v


ruby 2.3.1p112(2016-04-26 修订版 54768)[x86_64-darwin15]

Xcode、iOS 和 MAC 版本:


Mac OSX:10.11.6 iOS版本:10.0.2 Xcode版本:8.0

xcrun security find-identity -v -p code signing ====> 找到 4 个有效身份(都是自动化团队的账户)

我们收到了来自开发团队的 ipa 文件,他们已将 ipa 文件与 calabash_framework 0.20.0 相关联 导出 APP=/Users/bsc/Documents/workspace/mobile-automation/iOS/tablets/master_Debug.ipa CODE_SIGN_IDENTITY="iPhone 开发者:xxxxxx@gmail.com (W95FEZS38E)" DEVICE_TARGET="9ef528263f678e344c12a2eb922653c217e34177" DEVICE_ENDPOINT=http://x.x.71.43:37265 bundle exec cucumber 下面的错误消息我们得到它..

无法安装 /Users/bsachi001c/.rvm/gems/ruby-2.3.1@tvx-mobile-automation/gems/run_loop-2.2.1/lib/run_loop/device_agent/ipa/DeviceAgent-Runner.app。 iOSDeviceManager 说:

2016-10-05 10:26:37.412 iOSDeviceManager[12863:237303] MobileDevice:从 /System/Library/PrivateFrameworks/MobileDevice.framework 加载 2016-10-05 10:26:37.415 iOSDeviceManager[12863:237303] MobileDevice:成功加载 2016-10-05 10:26:37.415 iOSDeviceManager[12863:237303] 加载所有私有框架 [MobileDevice] 2016-10-05 10:26:37.599 iOSDeviceManager[12863:237303] DTXConnectionServices:从 /Applications/Xcode.app/Contents/SharedFrameworks/DTXConnectionServices.framework 加载 2016-10-05 10:26:37.600 iOSDeviceManager[12863:237303] DTXConnectionServices:成功加载 2016-10-05 10:26:37.600 iOSDeviceManager [12863:237303] DTXConnectionServices:DTXConnection 具有正确的 /Applications/Xcode.app 路径 2016-10-05 10:26:37.600 iOSDeviceManager [12863:237303] DTXConnectionServices:DTXRemoteInvocationReceipt 具有正确的 /Applications/Xcode.app 路径 2016-10-05 10:26:37.600 iOSDeviceManager [12863:237303] DVTFoundation:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTFoundation.framework 加载 2016-10-05 10:26:37.616 iOSDeviceManager[12863:237303] DVTFoundation:成功加载 2016-10-05 10:26:37.617 iOSDeviceManager[12863:237303] DVTFoundation: DVTDevice 有正确的路径 /Applications/Xcode.app 2016-10-05 10:26:37.617 iOSDeviceManager [12863:237303] IDEFoundation:从 /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework 加载 2016-10-05 10:26:37.620 iOSDeviceManager [12863:237303] IDEFoundation:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.620 iOSDeviceManager[12863:237303] 尝试加载缺少的框架 DVTAnalytics.framework 2016-10-05 10:26:37.620 iOSDeviceManager [12863:237303] DVTAnalytics.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.620 iOSDeviceManager [12863:237303] DVTAnalytics:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework 加载 2016-10-05 10:26:37.621 iOSDeviceManager [12863:237303] DVTAnalytics:无法从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework 加载捆绑包,试图查找框架名称 2016-10-05 10:26:37.621 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 DVTServices.framework 2016-10-05 10:26:37.621 iOSDeviceManager[12863:237303] DVTServices.framework 无法从备用目录/Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.621 iOSDeviceManager [12863:237303] DVTServices:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTServices.framework 加载 2016-10-05 10:26:37.623 iOSDeviceManager[12863:237303] DVTServices:成功加载 2016-10-05 10:26:37.623 iOSDeviceManager [12863:237303] DVTServices.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 DVTAnalytics 2016-10-05 10:26:37.624 iOSDeviceManager [12863:237303] DVTAnalytics:无法从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalytics.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.624 iOSDeviceManager[12863:237303] 尝试加载缺少的框架 DVTAnalyticsClient.framework 2016-10-05 10:26:37.624 iOSDeviceManager [12863:237303] DVTAnalyticsClient.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.624 iOSDeviceManager [12863:237303] DVTAnalyticsClient:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTAnalyticsClient.framework 加载 2016-10-05 10:26:37.625 iOSDeviceManager[12863:237303] DVTAnalyticsClient:成功加载 2016-10-05 10:26:37.625 iOSDeviceManager [12863:237303] DVTAnalyticsClient.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 DVTAnalytics 2016-10-05 10:26:37.626 iOSDeviceManager[12863:237303] DVTAnalytics:成功加载 2016-10-05 10:26:37.626 iOSDeviceManager[12863:237303] DVTAnalytics.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEFoundation 2016-10-05 10:26:37.627 iOSDeviceManager [12863:237303] IDEFoundation:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.628 iOSDeviceManager[12863:237303] 尝试加载缺少的框架 DVTPortal.framework 2016-10-05 10:26:37.628 iOSDeviceManager[12863:237303] DVTPortal.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.628 iOSDeviceManager [12863:237303] DVTPortal:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTPortal.framework 加载 2016-10-05 10:26:37.629 iOSDeviceManager[12863:237303] DVTPortal:成功加载 2016-10-05 10:26:37.629 iOSDeviceManager[12863:237303] DVTPortal.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEFoundation 2016-10-05 10:26:37.631 iOSDeviceManager [12863:237303] IDEFoundation:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.631 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 DVTSourceControl.framework 2016-10-05 10:26:37.631 iOSDeviceManager [12863:237303] DVTSourceControl.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.631 iOSDeviceManager [12863:237303] DVTSourceControl:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTSourceControl.framework 加载 2016-10-05 10:26:37.647 iOSDeviceManager[12863:237303] DVTSourceControl:成功加载 2016-10-05 10:26:37.647 iOSDeviceManager[12863:237303] DVTSourceControl.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEFoundation 2016-10-05 10:26:37.649 iOSDeviceManager [12863:237303] IDEFoundation:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEFoundation.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.649 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 SourceKit.framework 2016-10-05 10:26:37.650 iOSDeviceManager [12863:237303] SourceKit.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.650 iOSDeviceManager [12863:237303] SourceKit:从 /Applications/Xcode.app/Contents/SharedFrameworks/SourceKit.framework 加载 2016-10-05 10:26:37.653 iOSDeviceManager[12863:237303] SourceKit:成功加载 2016-10-05 10:26:37.653 iOSDeviceManager[12863:237303] SourceKit.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEFoundation 2016-10-05 10:26:37.665 iOSDeviceManager [12863:237303] IDEFoundation:成功加载 2016-10-05 10:26:37.665 iOSDeviceManager [12863:237303] IDEFoundation:IDEFoundationTestInitializer 具有正确的 /Applications/Xcode.app 路径 2016-10-05 10:26:37.665 iOSDeviceManager [12863:237303] DevToolsFoundation:从 /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/Frameworks/DevToolsFoundation.framework 加载 2016-10-05 10:26:37.667 iOSDeviceManager[12863:237303] DevToolsFoundation:成功加载 2016-10-05 10:26:37.667 iOSDeviceManager [12863:237303] DevToolsSupport:从 /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/Frameworks/DevToolsSupport.framework 加载 2016-10-05 10:26:37.669 iOSDeviceManager[12863:237303] DevToolsSupport:成功加载 2016-10-05 10:26:37.669 iOSDeviceManager [12863:237303] DevToolsCore:从 /Applications/Xcode.app/Contents/PlugIns/Xcode3Core.ideplugin/Contents/Frameworks/DevToolsCore.framework 加载 2016-10-05 10:26:37.674 iOSDeviceManager[12863:237303] DevToolsCore:成功加载 2016-10-05 10:26:37.674 iOSDeviceManager [12863:237303] IDEiOSSupportCore:从 /Applications/Xcode.app/Contents/PlugIns/IDEiOSSupportCore.ideplugin 加载 2016-10-05 10:26:37.683 iOSDeviceManager [12863:237303] IDEiOSSupportCore:成功加载 2016-10-05 10:26:37.684 iOSDeviceManager[12863:237303] IDEiOSSupportCore:DVTiPhoneSimulator 具有正确的 /Applications/Xcode.app 路径 2016-10-05 10:26:37.684 iOSDeviceManager [12863:237303] IBAutolayoutFoundation:从 /Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework 加载 2016-10-05 10:26:37.686 iOSDeviceManager [12863:237303] IBAutolayoutFoundation:无法从 /Applications/Xcode.app/Contents/Frameworks/IBAutolayoutFoundation.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.686 iOSDeviceManager[12863:237303] 尝试加载缺少的框架 IBFoundation.framework 2016-10-05 10:26:37.686 iOSDeviceManager [12863:237303] IBFoundation:从 /Applications/Xcode.app/Contents/Frameworks/IBFoundation.framework 加载 2016-10-05 10:26:37.694 iOSDeviceManager[12863:237303] IBFoundation:成功加载 2016-10-05 10:26:37.694 iOSDeviceManager[12863:237303] IBFoundation.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../Frameworks”加载,重新尝试加载 IBAutolayoutFoundation 2016-10-05 10:26:37.696 iOSDeviceManager[12863:237303] IBAutolayoutFoundation:成功加载 2016-10-05 10:26:37.696 iOSDeviceManager [12863:237303] IDEKit:从 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework 加载 2016-10-05 10:26:37.699 iOSDeviceManager [12863:237303] IDEKit:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.699 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 DVTProducts.framework 2016-10-05 10:26:37.699 iOSDeviceManager[12863:237303] DVTProducts.framework 无法从后备目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.699 iOSDeviceManager [12863:237303] DVTProducts:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTProducts.framework 加载 2016-10-05 10:26:37.701 iOSDeviceManager[12863:237303] DVTProducts:成功加载 2016-10-05 10:26:37.701 iOSDeviceManager[12863:237303] DVTProducts.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEKit 2016-10-05 10:26:37.702 iOSDeviceManager [12863:237303] IDEKit:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.702 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 DADocSetManagement.framework 2016-10-05 10:26:37.702 iOSDeviceManager [12863:237303] DADocSetManagement.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.702 iOSDeviceManager [12863:237303] DADocSetManagement:从 /Applications/Xcode.app/Contents/SharedFrameworks/DADocSetManagement.framework 加载 2016-10-05 10:26:37.703 iOSDeviceManager [12863:237303] DADocSetManagement:无法从 /Applications/Xcode.app/Contents/SharedFrameworks/DADocSetManagement.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.703 iOSDeviceManager[12863:237303] 尝试加载缺少的框架 DVTKit.framework 2016-10-05 10:26:37.704 iOSDeviceManager [12863:237303] DVTKit.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.704 iOSDeviceManager [12863:237303] DVTKit:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework 加载 2016-10-05 10:26:37.715 iOSDeviceManager[12863:237303] DVTKit:成功加载 2016-10-05 10:26:37.715 iOSDeviceManager[12863:237303] DVTKit.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 DADocSetManagement 2016-10-05 10:26:37.716 iOSDeviceManager [12863:237303] DADocSetManagement:无法从 /Applications/Xcode.app/Contents/SharedFrameworks/DADocSetManagement.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.716 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 DADocSetAccess.framework 2016-10-05 10:26:37.716 iOSDeviceManager [12863:237303] DADocSetAccess.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.717 iOSDeviceManager [12863:237303] DADocSetAccess:从 /Applications/Xcode.app/Contents/SharedFrameworks/DADocSetAccess.framework 加载 2016-10-05 10:26:37.722 iOSDeviceManager[12863:237303] DADocSetAccess:成功加载 2016-10-05 10:26:37.722 iOSDeviceManager [12863:237303] DADocSetAccess.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 DADocSetManagement 2016-10-05 10:26:37.723 iOSDeviceManager[12863:237303] DADocSetManagement:成功加载 2016-10-05 10:26:37.723 iOSDeviceManager[12863:237303] DADocSetManagement.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEKit 2016-10-05 10:26:37.725 iOSDeviceManager [12863:237303] IDEKit:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.725 iOSDeviceManager [12863:237303] 尝试加载缺少的框架 DVTDeveloperModeHelper.framework 2016-10-05 10:26:37.725 iOSDeviceManager [12863:237303] DVTDeveloperModeHelper.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.725 iOSDeviceManager [12863:237303] DVTDeveloperModeHelper:从 /Applications/Xcode.app/Contents/SharedFrameworks/DVTDeveloperModeHelper.framework 加载 2016-10-05 10:26:37.726 iOSDeviceManager[12863:237303] DVTDeveloperModeHelper:成功加载 2016-10-05 10:26:37.726 iOSDeviceManager[12863:237303] DVTDeveloperModeHelper.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEKit 2016-10-05 10:26:37.727 iOSDeviceManager [12863:237303] IDEKit:无法从 /Applications/Xcode.app/Contents/Frameworks/IDEKit.framework 加载捆绑包,尝试查找框架名称 2016-10-05 10:26:37.727 iOSDeviceManager[12863:237303] 尝试加载缺少的框架 DTGraphKit.framework 2016-10-05 10:26:37.727 iOSDeviceManager [12863:237303] DTGraphKit.framework 无法从备用目录 /Applications/Xcode.app/Contents/Developer/../Frameworks 加载 2016-10-05 10:26:37.727 iOSDeviceManager [12863:237303] DTGraphKit:从 /Applications/Xcode.app/Contents/SharedFrameworks/DTGraphKit.framework 加载 2016-10-05 10:26:37.729 iOSDeviceManager [12863:237303] DTGraphKit:成功加载 2016-10-05 10:26:37.729 iOSDeviceManager[12863:237303] DTGraphKit.framework 已从备用目录“/Applications/Xcode.app/Contents/Developer/../SharedFrameworks”加载,重新尝试加载 IDEKit 2016-10-05 10:26:37.740 iOSDeviceManager [12863:237303] IDEKit:成功加载 2016-10-05 10:26:37.740 iOSDeviceManager [12863:237303] IDESourceEditor:从 /Applications/Xcode.app/Contents/PlugIns/IDESourceEditor.ideplugin 加载 2016-10-05 10:26:37.744 iOSDeviceManager[12863:237303] IDESourceEditor:成功加载 2016-10-05 10:26:37.745 iOSDeviceManager[12863:237303] 加载所有私有框架 [DTXConnectionServices, DVTFoundation, IDEFoundation, IDEiOSSupportCore, IBAutolayoutFoundation, IDEKit, IDESourceEditor] 2016-10-05 10:26:43.018 iOSDeviceManager[12863:237303] 执行:/usr/bin/xcrun security find-identity -v -p 代码签名 2016-10-05 10:26:43.083 iOSDeviceManager[12863:237322] EXEC:/usr/bin/xcrun security cms -D -i /Users/bsachi001c/Library/MobileDevice/Provisioning Profiles/f26bd0d7-3ab7-42da-a2e6- a9b0b499dfe7.mobileprovision -o /var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/A4AD339C-98A1-456B-ADEE-E7462B2A3545-12863-000012B54576FF96.plist 2016-10-05 10:26:43.083 iOSDeviceManager[12863:237312] EXEC:/usr/bin/xcrun security cms -D -i /Users/bsachi001c/Library/MobileDevice/Provisioning Profiles/b105019a-d9b1-4035-afb2- 16dd50689191.mobileprovision -o /var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/4A8622E7-E2FB-4A1B-9BC5-B43A99FB15CF-12863-000012B545768D63.plist 2016-10-05 10:26:43.083 iOSDeviceManager[12863:237303] 执行:/usr/bin/xcrun security cms -D -i /Users/bsachi001c/Library/MobileDevice/Provisioning Profiles/1961aa1f-efdb-444e-98da- f39a48b65e27.mobileprovision -o /var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/89C9D99D-1E49-45A9-AC79-DC392E320D44-12863-000012B5457668ED.plist 2016-10-05 10:26:43.153 iOSDeviceManager[12863:237303] 执行:/usr/bin/xcrun security cms -D -i /var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/4ADB341C-5CC4-43C7-BF55B-F16AE1 -12863-000012B5333F73A5/DeviceAgent-Runner.app/embedded.mobileprovision -o /var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/B9C55E92-65FC-4336-8732-A9220BB9440D-12863-D500D-12863-0E1列表 2016-10-05 10:26:43.190 iOSDeviceManager[12863:237303] 执行:/usr/bin/xcrun codesign -d --entitlements:-/var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/4ADB341C-5CC4-43C7-BF5B -F16A1E082537-12863-000012B5333F73A5/DeviceAgent-Runner.app 2016-10-05 10:26:43.214 iOSDeviceManager[12863:237303] ( ) 2016-10-05 10:26:43.214 iOSDeviceManager [12863:237303] 错误:找不到任何适合辞职的配置文件 2016-10-05 10:26:43.214 iOSDeviceManager [12863:237303] 错误:身份:# 2016-10-05 10:26:43.214 iOSDeviceManager [12863:237303] 错误:设备 UDID:9ef528263f678e344c12a2eb922653c217e34177 2016-10-05 10:26:43.214 iosdeviceManager [12863:237303]错误:应用程序:/var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/t/4aadb341c-5cc4-43c7-0037-12863-000012b5333f73a537-12863-000012b5333f73a537-12863 -000012b5333f73a5.app 2016-10-05 10:26:43.214 IOSDeviceManager [12863:237303]错误创建产品捆绑/ var /文件夹/ h2 / q9ywrcbs6w327h78fljhbv280_​​x7vl / t / 4adb341c-5cc4-43c7-bf5b-f16a1e082537-12863-000012B5333F73A5 / Deviceagent-Runner。应用程序:错误域 = com.facebook.XCTestBootstrap 代码 = 0“无法共同设计 /var/folders/h2/q9ywrcbs6w327h78fljhbv280_​​x7vl/T/4ADB341C-5CC4-43C7-BF5B-F16A1E082537-12863-000012B5333F73A5/DeviceAgent-RunnerInfo=.app” NSLocalizedDescription =无法协同设计/var/folders/h2/q9ywrcbs6w327h78fljhbv280_x7vl/T/4ADB341C-5CC4-43C7-BF5B-F16A1E082537-12863-000012B5333F73A5/DeviceAgent-Runner.app,NSUnderlyingError = 0x7fc47548d9a0 错误域= sh.calaba.iOSDeviceManger代码=5 "Could not resign with the given arguments" UserInfo=NSLocalizedDescription=无法使用给定的参数辞职,NSLocalizedFailureReason=设备UDID和代码签名身份由于某种原因无效。请检查日志。

    install
            -u,--update-app <true-or-false> [OPTIONAL]      When true, will reinstall the app if the device contains an older version than the bundle specified     DEFAULT=1
            -c,--codesign-identity  <codesign-identity> [OPTIONAL]  Identity used to codesign app bundle [device only]      DEFAULT=
            -a,--app-bundle <path/to/app-bundle.app>        Path .app bundle (for .ipas, unzip and look inside of 'Payload')
            -d,--device-id  <device-identifier>     iOS Simulator GUID or 40-digit physical device ID

(运行时错误) ./features/support/01_launch.rb:27:in `之前'

【问题讨论】:

看起来几乎所有的框架都不见了。 @Linus G :请您详细说明您的 cmets。如果您能提示要做什么,我将不胜感激 多次表示ThisAndThatFramework.framework could not be loaded。也许将所有这些框架添加到您的项目中会有所帮助,例如shown here。此外,您设备的 UDID 无效,如最后一行所述。检查this。 请为您的代码块使用 Stack Overflow 降价格式。并阅读错误信息。在我这边,我会尝试改进错误消息。 【参考方案1】:
ERROR: Could not find any Provisioning Profiles suitable for resigning   
ERROR:   identity: iPhone Developer: xxxxxx@gmail.com (W95FEZS38E)
ERROR:   device UDID: 9ef528263f678e344c12a2eb922653c217e34177 

正如错误所说,您的计算机上没有安装有效的配置文件来退出 DeviceAgent-Runner 应用程序。

    您可能拥有有效的配置文件,但该设备不在配置文件中。 手机上可能未安装配置文件。 可能没有与您提供的证书匹配的配置文件 (W95FEZS38E) 辞职代码中可能存在错误。

我建议在您的开发者帐户中生成通配符配置文件并使用 W95FEZS38E 证书对其进行签名。然后下载并安装该配置文件。

【讨论】:

以上是关于无法使用葫芦 ios 10 和 xcode8 启动应用程序的主要内容,如果未能解决你的问题,请参考以下文章

Xcode 8 Beta 6 不支持 iOS 10 Beta 7 sdk

iOS:Xcode8以下真机测试iOS10.0和iOS10.1配置包

发布版本 Xcode8 在 iOS 9 设备上崩溃

[issue] [iOS 10] 升级后无法真机测试 Could not find Developer Disk Image

UITableView indexPathForCell:在iOS10中使用Xcode8(Swift2.3)返回nil

是否可以在带有 Xcode 7 的 iOS 10 设备上运行 Calabash?