从 Xcode 6 安装失败:“存在内部 API 错误”

2024-05-11

我尝试在 ipad (ios 7.1.2) 上运行一个在我的手机 (ios 8.4.1) 上运行良好的应用程序。 Xcode 提示“存在内部 API 错误”,仅此而已。

我不确定如何解释日志。怎么了?我该如何解决?

ipad日志:

Aug 29 17:39:23 Esters-iPad lockdownd[52] <Notice>: 00201000 set_response_error: handle_get_value GetProhibited
Aug 29 17:39:23 Esters-iPad lockdownd[52] <Notice>: 01a88000 set_response_error: handle_get_value GetProhibited
Aug 29 17:39:24 Esters-iPad mobile_installation_proxy[2054] <Warning>: LaunchServices: installing app for existing placeholder LSApplicationProxy: aka-strax
Aug 29 17:39:24 Esters-iPad mobile_installation_proxy[2054] <Warning>: LaunchServices: Not creating progress for LSApplicationProxy: aka-strax since it is not a placeholder.
Aug 29 17:39:24 Esters-iPad installd[1988] <Notice>: 0x2c7000 handle_install_for_ls: Install of "/var/mobile/Media/PublicStaging/Åka Strax.app" requested by mobile_installation_proxy
Aug 29 17:39:24 Esters-iPad installd[1988] <Error>: 0x2c7000 init_pack_state: Can't stat /var/mobile/Media/PublicStaging/AÃäka Strax.app: No such file or directory
Aug 29 17:39:24 Esters-iPad installd[1988] <Error>: 0x2c7000 MobileInstallationInstall_Server: Could not initialize package state
Aug 29 17:39:24 Esters-iPad installd[1988] <Error>: 0x2c7000 handle_install_for_ls: API failed
Aug 29 17:39:24 Esters-iPad mobile_installation_proxy[2054] <Error>: 0x305000 MobileInstallationInstallForLaunchServices: failed with -1
Aug 29 17:39:24 Esters-iPad mobile_installation_proxy[2054] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil
Aug 29 17:39:24 Esters-iPad mobile_installation_proxy[2054] <Error>: 0x305000 handle_install: Installation failed: Error Domain=LaunchServicesError Code=0 "The operation couldn’t be completed. (LaunchServicesError error 0.)" UserInfo=0x16d28710 {Error=APIInternalError}

这是 OSX 系统日志:

2015-08-29 17:39:22,511 Xcode[432]: AMDeviceSecureInstallApplicationBundle (thread 0x127be6000): ENTRY, options: {
    PackageType = Developer;
    ShadowParentKey = "file:///var/folders/vh/z7jrdtc16mv_ml4rdf3c_yf40000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/";
}
2015-08-29 17:39:22,522 Xcode[432]: copy_string_value_from_device (thread 0x127be6000): AMDeviceCopyValueWithError: 0xe8000016
2015-08-29 17:39:22,522 Xcode[432]: AMDeviceSecureInstallApplicationBundle (thread 0x127be6000): device os is at least 7.0
2015-08-29 17:39:22,522 Xcode[432]: createShadowPath (thread 0x127be6000): ENTRY bundle: /Users/andreas/Library/Developer/Xcode/DerivedData/Aka_Strax-elchrqyqzidfakebtddarrtffemg/Build/Products/Debug-iphoneos/AÃäka Strax.app
2015-08-29 17:39:22,523 Xcode[432]: create_shadow_dir_path (thread 0x127be6000): bundle: /Users/andreas/Library/Developer/Xcode/DerivedData/Aka_Strax-elchrqyqzidfakebtddarrtffemg/Build/Products/Debug-iphoneos/AÃäka Strax.app
2015-08-29 17:39:22,523 Xcode[432]: createShadowPath (thread 0x127be6000): returning: /var/folders/vh/z7jrdtc16mv_ml4rdf3c_yf40000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/93b97a6a8fc08d7d84994efa7c4f96fb/6f5103ee7f37d220cf45535ea8fb76a2de87a5e4/AÃäka Strax.app
2015-08-29 17:39:22,523 Xcode[432]: createSiblingInPath (thread 0x127be6000): returning: /var/folders/vh/z7jrdtc16mv_ml4rdf3c_yf40000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/93b97a6a8fc08d7d84994efa7c4f96fb/6f5103ee7f37d220cf45535ea8fb76a2de87a5e4/ManifestCache.plist
2015-08-29 17:39:22,569 Xcode[432]: _AMDeviceCopyInstalledAppInfo (thread 0x127be6000): no app info
2015-08-29 17:39:22,572 Xcode[432]: AMDeviceSecureInstallApplicationBundle (thread 0x127be6000): unable to get installed app info, falling back to old skool install
2015-08-29 17:39:22,572 Xcode[432]: AMDeviceSecureInstallApplicationBundle (thread 0x127be6000): Blasting the bundle over to the device in an old skool way
2015-08-29 17:39:22,572 Xcode[432]: AMDeviceSecureTransferPath (thread 0x127be6000): disableDelta: TRUE, unzipOnFly: TRUE, StagingPath: PublicStaging
2015-08-29 17:39:22,572 Xcode[432]: AMDeviceSecureTransferPath (thread 0x127be6000): Trying SZConduit for transfer
2015-08-29 17:39:22,613 Xcode[432]: copy_string_value_from_device (thread 0x127be6000): AMDeviceCopyValueWithError: 0xe8000016
2015-08-29 17:39:22,661 Xcode[432]: nuke_path (thread 0x127be6000): AFCRemovePath of 'PublicStaging/AÃäka Strax.app' returned 8
2015-08-29 17:39:22,662 Xcode[432]: AMDeviceSecureTransferPath (thread 0x127be6000): AMDeviceSecureTransferPath:1864 starting delta_transfer_directory, ref_afc: 0x0
2015-08-29 17:39:24,064 Xcode[432]: AMDeviceSecureTransferPath (thread 0x127be6000): AMDeviceSecureTransferPath:1867 finished delta_transfer_directory
2015-08-29 17:39:24,127 Xcode[432]: AMDErrorForMobileInstallationCallbackDict (thread 0x127be6000): GOT AN ERROR 0xe8000067
2015-08-29 17:39:24,127 Xcode[432]: perform_command (thread 0x127be6000): There was an error communicating with the service agent: 0xe8000067
2015-08-29 17:39:24,127 Xcode[432]: AMDeviceSecureInstallApplication (thread 0x127be6000): Old style install failed for (PublicStaging/Åka Strax.app)
2015-08-29 17:39:24,128 Xcode[432]: AMDeviceSecureInstallApplication (thread 0x127be6000): Could not install package on device: kAMDAPIInternalError
2015-08-29 17:39:24,128 Xcode[432]: _AMDeviceSecureInstallTheBundleAlready (thread 0x127be6000): AMDeviceSecureInstallApplication failed: 
2015-08-29 17:39:24,132 Xcode[432]: _AMDeviceTransferAndInstall (thread 0x127be6000): _AMDeviceSecureInstallTheBundleAlready failed: 0xe8000067
falling back to file delta
2015-08-29 17:39:24,134 Xcode[432]: writeDictToFile:1239 open failed for /var/folders/vh/z7jrdtc16mv_ml4rdf3c_yf40000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/93b97a6a8fc08d7d84994efa7c4f96fb/6f5103ee7f37d220cf45535ea8fb76a2de87a5e4/ManifestCache.plist : No such file or directory
2015-08-29 17:39:24,135 Xcode[432]: MDMCacheDirectoryManifest:1313 writeDictToFile failed to write to /var/folders/vh/z7jrdtc16mv_ml4rdf3c_yf40000gn/C/com.apple.DeveloperTools/6.4-6E35b/Xcode/93b97a6a8fc08d7d84994efa7c4f96fb/6f5103ee7f37d220cf45535ea8fb76a2de87a5e4/ManifestCache.plist : No such file or directory
2015-08-29 17:39:24,135 Xcode[432]: AMDeviceSecureInstallApplicationBundle (thread 0x127be6000): returning 0xe8000067
2015-08-29 17:42:46,372 Xcode[432]: <DYMobileDeviceTransport: 0x7fed3febc410>: read io failure: Broken pipe (32)
2015-08-29 17:42:46,373 Xcode[432]: CompanionProxy: _SocketReadCallback:128 (0x0x12786d000): Failed to receive response from AMDevice 0x7fed3feb40e0 {UDID = a84bc06ca4b54d9a575d111abe0a09d7a7b2377a, device ID = 8, FullServiceName = e0:66:78:c2:06:34@fe80::e266:78ff:fec2:634._apple-mobdev2._tcp.local.}: 0xe8000084
2015-08-29 17:42:46,374 Xcode[432]: CompanionProxy: _SocketReadCallback:200 (0x0x12786d000): Stopped listening for paired devices from AMDevice 0x7fed3feb40e0 {UDID = a84bc06ca4b54d9a575d111abe0a09d7a7b2377a, device ID = 8, FullServiceName = e0:66:78:c2:06:34@fe80::e266:78ff:fec2:634._apple-mobdev2._tcp.local.}: 0xe8000084

更新: 显然,这是与特殊字符有关的错误,但从我的角度来看,问题是:

  • 哪些项目属性用作文件名的基础?Product Name已经有人建议了——我不怀疑——但是有这方面的任何文档吗?我找不到该财产用途的任何官方描述。我什么didfind 将该属性描述为“面向用户”,这一定是不正确的。 iOS 7 中肯定没有面向用户的属性只允许 ASCII 吗?

我有同样的问题!您需要在 iOS 7 的构建设置下更改您的产品名称。iOS 7 设备不允许使用特殊字符 (Å卡斯特拉克斯)

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

从 Xcode 6 安装失败:“存在内部 API 错误” 的相关文章

  • 找不到导航对象。您的组件是否位于导航器屏幕内?

    在我下面的代码中 当我使用 useNavigation 时 它会给出像我的问题一样的错误 如何使用useNavigation 请任何人都可以解决此错误 错误 找不到导航对象 您的组件是否位于导航器屏幕内 我从这里跟踪了代码https rnf
  • iOS 上每个选项的带有图像的操作表

    有没有办法在 iOS 上将图像添加到操作表中 与苹果在应用程序商店或苹果音乐应用程序上所做的一样 我对苹果文档的基本搜索表明我没有在操作表中子类化或添加子视图 UIActionSheet 并非设计为子类化 也不应向其层次结构添加视图 苹果文
  • 安装 Ruby 后,MAC OS X 上的活动开发人员路径无效

    我收到此错误 xcrun 错误 无效的活动开发人员路径 Applications Xcode app 缺少 xcrun Applications Xcode app usr bin xcrun This solution https sta
  • 自动布局:Y 位置为两个值中的最大值

    我有一个按钮 play Button 和两个 UIView myView 1 和 myView 2 它们的位置在执行过程中可能会发生变化 我希望 playButton 的顶部比 UIView 1 的底部或 UIView 2 的底部低 10
  • Swift 3 '[UIApplicationLaunchOptionsKey:任意]?'无法转换为 '[String : NSString]'

    我有一个 TVOS 应用程序已从 Swift 2 转换为 Swift 3 但出现以下错误 我不确定如何让它安静下来 UIApplicationLaunchOptionsKey 任意 无法转换为 String NSString 它出现在这段代
  • 为什么单个 Vec4 乘法会大大减慢我的 ogl es 2 片段着色器的速度?

    我正在为 iOS 设备编写 2D OpenGL 游戏 现在 我正在研究 iPad 第一代 上的性能 该游戏有 ogl 1 1 和 2 0 的代码路径 我可以通过 define 使用 ogl 2 0 时 分析器告诉我 我的渲染器利用率 相当稳
  • 使用 JavaScript 从 URL 变量读取来加载不同的 CSS 样式表

    我试图在我的 WordPress 博客上使用两个不同的样式表 以便在通过 Web 访问页面时使用一个样式表 而在通过我们的 iOS 应用程序访问博客内容时使用另一个样式表 现在 我们将 app true 附加到来自 iOS 应用程序的 UR
  • 应用程序图标未刷新

    我更改了新版本应用程序中的图标图像 并且我在设备中安装了旧版本应用程序 然后我安装了新版本 它在 iOS 5 中运行良好 但在 iOS 6 中 图标没有刷新 它仍然显示旧版本图标 徽标 如果没有安装旧版本应用程序 该设备在 iOS 5 和
  • Swift 数组设置索引值不起作用

    我有一个方法 下面的内容 其中queue2只是一个 Int 我打印了很多东西 看看一切是否都正常 public func cool item Int println item println back queue2 insert item
  • iOS 4.2.1 丢失文件?

    这是我第一次使用最新的 xcode 3 2 5 和新的 iOS 4 2 1 当我在设备上运行应用程序时 我收到以下运行时错误 无法读取 Developer Platforms iPhoneOS platform DeviceSupport
  • iOS App布局错误,调用状态栏

    在主动通话和应用程序布局期间面临状态栏问题 我正在使用自动布局 当我运行应用程序 然后开始通话时 一切正常 UI 会随着状态栏的更改而正确缩放 但是 如果我首先开始通话 然后运行应用程序 应用程序屏幕会移动到底部 20pt 就像它们对新状态
  • 使用隐藏的 SFSafariViewController 获取 Safari cookie

    我正在阅读以下关于从移动网页到本机 iOS 9 应用程序对用户进行身份验证的文章 并且想知道如何最好地实现类似于下面讨论的隐藏控制器的隐藏 safari 视图控制器 https library launchkit io how ios 9
  • 在 Mac OS X Yosemite 10.10.1 上包含搜索路径

    我只是为了更改包含搜索路径顺序 我相信 I d like to change the include search path Especially I need usr local include first 但它不会因为重复而改变 我怎样
  • 在 iOS 中录制音频并永久保存

    我制作了 2 个 iPhone 应用程序 可以录制音频并将其保存到文件中并再次播放 其中之一使用 AVAudiorecorder 和 AVAudioplayer 第二个是苹果的在这里说话 http developer apple com l
  • iOS 内存警告

    我正在尝试使用从 Parse 数据库下载的图像填充集合视图 但我收到内存警告 然后偶尔崩溃 有谁知道其他应用程序如何设法呈现这么多图像而不崩溃 有人可以告诉我如何优化我已有的东西吗 这是所有相关代码 https gist github co
  • swift 中的负数模

    负数模如何在 swift 中工作 当我执行 1 3 时 它给出 1 但余数是 2 其中有什么问题 雨燕余数运算符 计算余数 整数除法 a b a a b b where 是截断整数除法 在你的情况下 1 3 1 1 3 3 1 0 3 1
  • 在 Swift 中检查一个数组是否包含另一个数组的所有元素

    我想为数组编写一个扩展来检查一个数组是否包含另一个数组的所有元素 在我的用例中它是字符串对象 但我一直得到 Cannot convert value of type T Generator Element to expected argum
  • 打印附加结构(swift 4)

    我有三个 textifled 用于将数据附加到结构中 如何打印我附加的内容 现在我收到一条错误消息 import UIKit class ViewController UIViewController IBOutlet var c UITe
  • 如何在 Xcode 4 中通过一个操作归档多个目标

    我有一个包含多个目标的项目 这些目标都适用于不同的 iOS 应用程序 例如 一个用于精简版的目标 另一个用于专业版的目标 我想立即构建并归档我的所有应用程序 目前 我对每个目标都有一个方案 我用它来独立归档每个应用程序 但现在我必须开始归档
  • 如何在ios中以编程方式添加水平间距和垂直间距?

    我在 ios 8 中创建了一个应用程序 因为我有 4 个可垂直使用的标签 它应该在某些条件下更改位置 所以我已禁用自动布局并以编程方式设置约束 现在的问题是 我可以设置水平和垂直位置 宽度和高度的约束 但我找不到任何方法来添加标签之间的水平

随机推荐

  • 如何为 Visual Studio 代码设置 boost

    所以我基本上构建了整个boost库并将它们放在C boost include boost 1 73中 但我有一种感觉 在使用这个库之前我必须包含更多步骤 我一直遵循本指南 直到将其设置为 Visual Studio 代码 所以现在我正在互联
  • Spring MVC 中 ApplicationContext 和 WebApplicationContext 有什么区别?

    应用程序上下文和 Web 应用程序上下文有什么区别 我知道WebApplicationContext用于面向Spring MVC架构的应用程序 我想知道有什么用ApplicationContext在 MVC 应用程序中 以及定义了什么样的b
  • mongodb - 检索数组子集

    看似简单的任务对我来说是一个挑战 我有以下 mongodb 结构 services TCP80 data status 1 delay 3 87 ts 1308056460 status 1 delay 2 83 ts 1308058080
  • 具有 JPA、PostgreSQL 和 NULL 值的 JodaTime

    我试图将 JPA 的 JodaTime DateTime 字段保留到 PostgreSQL 但遇到了指向数据库 NULL 值的空指针的问题 我正在使用 NetBeans 7 beta 2 IDE 持久性实现是 EclipseLink 2 2
  • WPF应用程序,在打开窗口之前运行异步任务

    我遇到了一个问题 我需要在主窗口打开并显示之前运行异步任务 IE STAThread static void Main string args MainWindow window new MainWindow SplashScreen Sh
  • 在模态上自动滚动引导模态('show')

    我有一个用于评论的引导模式 评论表格附加在评论列表的底部 我希望此模式在打开时滚动到列表底部 如果有超过 2 或 3 条评论 我已经安装了这个幻灯片插件 http jesseprice com jquery slide to plugin
  • Android中的OpenGL用于视频显示

    是否可以使用 OpenGL 来显示视频并能够在运行时调整视图大小 是的 它的工作原理是通过 glTexSubImage2D 将每个帧作为纹理上传 我已经测试了基于 FFmpeg 的解码器的输出 效果很好
  • C++ 压缩字节数组

    大家好 我加载一组图像并生成体积数据 我将此体积数据保存在 无符号字符 体积 array 现在我想将此数组保存在文件中并检索 但在保存之前我想压缩字节数组 因为卷数据很大 这方面有什么建议吗 提前致谢 volume在你的例子中不是一个数组
  • Android studio 模拟器中运行的WebView无法访问互联网,但Chrome可以?

    我安装了 Android studio 1 0 1 并按照此页面操作https developer chrome com multidevice webview gettingstarted https developer chrome c
  • 使用DockerOperator时如何同时使用xcom_push=True和auto_remove=True?

    Problem 跑步时DockerOperator with xcom push True xcom all True and auto remove True 任务会引发错误 就好像容器在读取其内容之前被删除一样STDOUT Exampl
  • flutter - SliverList / SliverChildBuilderDelegate 提供初始索引或允许负索引

    我目前正在 Flutter 中使用 SliverList 和 SliverChildBuilderDelegate 构建日历视图 这样我就不必一次渲染日历中的每个项目 第一个日期是纪元时间 即 1970 年 1 月 1 日 最后一个日期是在
  • Python子类方法从超类方法继承装饰器

    我有一个具有retrieve 方法的超类 并且它的子类每个都实现自己的retrieve 方法 我希望每个retrieve 方法都被装饰为在收到相同参数时缓存返回值 而不必在每个子类中装饰该方法 装饰器似乎不能被继承 我可能可以调用超类的方法
  • 可以memmap pandas系列。数据框怎么样?

    看来我可以通过创建 mmap d ndarray 并使用它来初始化系列来对 python 系列的底层数据进行内存映射 def assert readonly iloc try iloc 0 999 Should be non editabl
  • 解析 PHP 多维数组

    这里 下面给出 是我正在做的一些非常简单的 php 解析多维数组的事情 我只是搜索 突出显示 键 然后将一些键值对存储在另一个数组中 有没有更好的方法来实现这一点 我的意思是关于性能 而不是有 n 个 foreach 循环来达到你想要的效果
  • C++完美转发的问题

    这个问题还在继续question https stackoverflow com questions 40831580 perfect forwarding not working in c 40831709 40831709 我不想让这个
  • 我们可以在打字稿中访问另一个类中的私有变量吗

    class Animal private name string public Firstname string constructor theName string this name theName this Firstname the
  • 为什么 sizeof(Derived4) 是 8 字节?我认为应该是5个字节

    这是给定程序的输出 sizeof Empty 1 sizeof Derived1 1 sizeof Derived2 4 sizeof Derived3 1 sizeof Derived4 8 sizeof Dummy 1 这是程序 inc
  • 删除所有(子)片段的正确方法

    我在父级片段线性布局 fragmentContainer 中动态加载一堆子级片段 然后当用户单击按钮时 我需要将它们全部删除并添加新的 我不知道每次会添加多少碎片 这是我一次性删除所有碎片的方法 LinearLayout ll Linear
  • 使用VS2019创建WebService

    我想使用 Visual Studio 2019 使用 C 在现有 NET 项目中创建 WebService 在互联网上搜索 我能找到的只是旧 VS 版本的教程 如何创建它 使用 Visual Studio 2019 接收 POST 数据的最
  • 从 Xcode 6 安装失败:“存在内部 API 错误”

    我尝试在 ipad ios 7 1 2 上运行一个在我的手机 ios 8 4 1 上运行良好的应用程序 Xcode 提示 存在内部 API 错误 仅此而已 我不确定如何解释日志 怎么了 我该如何解决 ipad日志 Aug 29 17 39