Distributing Swift iOS applications ad-hoc -
Distributing Swift iOS applications ad-hoc -
i have 2 empty ios single view apps compiled ipa through xcode 6 beta 2. 1 objective-c, sec 1 swift. both of them have same code signing settings. when distributing advertisement hoc test flight or hockey, objective-c version installs without problem. swift 1 errors out 'unable download app moment'.
i ran iphone configuration utility logs on , :
jun 24 17:36:27 installd[3555] <notice>: 0x2c1000 handle_install_for_ls: install of "/var/mobile/media/downloads/-6680582027007079892/1462391056366119034" requested 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 /var/tmp/install_staging.hestzs/foo_extracted/payload/stest.app/stest: 0xe8008017 jun 24 17:36:29 installd[3555] <error>: 0x2c1000 do_preflight_verification: not verify executable @ /var/tmp/install_staging.hestzs/foo_extracted/payload/stest.app jun 24 17:36:29 itunesstored[94] <error>: 0x1ef7000 mobileinstallationinstallforlaunchservices: failed -1 jun 24 17:36:29 itunesstored[94] <warning>: error: mobileinstallationinstallforlaunchservices returned nil jun 24 17:36:29 lsd[3554] <warning>: launchservices: installation failed 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 cache jun 24 17:36:30 installd[3555] <error>: 0x2c1000 install_application: 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 app com.myapp.stest
anybody has thought might doing wrong?
thanks
i found solution. seems known issue (17283374) xcode 6 beta.
https://devforums.apple.com/message/984530#984530
fix worked me unpack , re-pack ipa, stripping extended attributes causing problems:
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
ios swift provisioning-profile adhoc xcode6
Comments
Post a Comment