临时分发Swift iOS应用程序
发布时间:2020-12-14 05:30:58 所属栏目:百科 来源:网络整理
导读:我有两个空的iOS单视图应用程序通过 Xcode 6 beta 2编译为IPA.一个是Objective-C,第二个是 Swift.它们都具有完全相同的代码签名设置. 在使用测试飞行或曲棍球分发ad hoc时,Objective-C版本安装没有问题. Swift的一个错误是“当前无法下载应用程序”. 我在它
我有两个空的iOS单视图应用程序通过
Xcode 6 beta 2编译为IPA.一个是Objective-C,第二个是
Swift.它们都具有完全相同的代码签名设置.
在使用测试飞行或曲棍球分发ad hoc时,Objective-C版本安装没有问题. Swift的一个错误是“当前无法下载应用程序”. 我在它上面运行了iPhone配置实用程序日志,这就是我得到的: Jun 24 17:36:27 installd[3555] <Notice>: 0x2c1000 handle_install_for_ls: Install of "/var/mobile/Media/Downloads/-6680582027007079892/1462391056366119034" requested by itunesstored Jun 24 17:36:29 installd[3555] <Notice>: 0x2c1000 MobileInstallationInstall_Server: Installing app com.MyApp.sTest Jun 24 17:36:29 installd[3555] <Error>: 0x2c1000 verify_signer_identity: MISValidateSignatureAndCopyInfo failed for /var/tmp/install_staging.HEsTZS/foo_extracted/Payload/sTest.app/sTest: 0xe8008017 Jun 24 17:36:29 installd[3555] <Error>: 0x2c1000 do_preflight_verification: Could not verify executable at /var/tmp/install_staging.HEsTZS/foo_extracted/Payload/sTest.app Jun 24 17:36:29 itunesstored[94] <Error>: 0x1ef7000 MobileInstallationInstallForLaunchServices: failed with -1 Jun 24 17:36:29 itunesstored[94] <Warning>: ERROR: MobileInstallationInstallForLaunchServices returned nil Jun 24 17:36:29 lsd[3554] <Warning>: LaunchServices: installation failed for app com.MyApp.sTest Jun 24 17:36:29 itunesstored[94] <Warning>: LaunchServices: installPhaseFinishedForProgress: com.MyApp.sTest.Installing - <NSProgress: phase=Installing; state=Failed; fractionCompleted=0.000000> called,removing progress from cache Jun 24 17:36:30 installd[3555] <Error>: 0x2c1000 install_application: Could not preflight application install Jun 24 17:36:30 installd[3555] <Error>: 0x2c1000 handle_install_for_ls: API failed Jun 24 17:36:31 lsd[3554] <Warning>: LaunchServices: installation ended for app com.MyApp.sTest 任何人都知道我可能做错了什么? 谢谢
我找到了解决方案.这似乎是Xcode 6 beta的已知问题(17283374).
https://devforums.apple.com/message/984530#984530 对我有用的修复是解压缩并重新打包ipa,剥离导致问题的扩展属性: ditto -xk /path/to/file.ipa /tmp/my_extract_path ditto -ck --norsrc /tmp/my_extract_path /path/to/new_file.ipa rm -r /tmp/my_extract_path (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- oracle insert all 复合表插入
- ReactiveCocoa Tutorial – The Definitive Introduction:
- nandflash下通过supervivi命令行实现挂载root_qtopia的NFS挂
- 跨域解决方案之二---jsonp
- swift – 使用SKNode在点周围进行恒速轨道运动
- ruby-on-rails – 没有路由匹配GET / sign_up,但我可以访问
- react-native – 如何在React Native android应用程序中使用
- c# – 将文本附加到文件Windows存储应用程序(Windows RT)
- 日常小结-xml编程(CRUD)
- c# – Winforms多线程UI操作的随机跨线程操作异常