[TIMOB-24534] iOS: Failed to export Adhoc/Enterprise archive to ipa (No applicable devices found)
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | n/a |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS |
Labels | cb-tooling |
Reporter | Demostenes Garcia |
Assignee | Unknown |
Created | 2017-03-26T14:21:40.000+0000 |
Updated | 2020-01-31T20:52:19.000+0000 |
Description
If I try to export the project as an iOS Adhoc / Enterprise ipa, it gives the following error:
[ERROR] : Failed to export archive to ipa
[ERROR] : 2017-03-25 16:47:25.761 xcodebuild[29128:87514] [MT] IDEDistribution: -[IDEDistributionLogging _createLoggingBundleAtPath:]: Created bundle at path '/var/folders/fr/nqly_t5n1f13l_k9hbm9vzb80000gn/T/App_2017-03-25_16-47-25.759.xcdistributionlogs'.
[ERROR] : 1.2.840.113635.100.1.61
[ERROR] : 2017-03-25 16:47:26.196 xcodebuild[29128:87514] [MT] IDEDistribution: Step failed: <IDEDistributionThinningStep: 0x7f8e3cd349e0>: Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
[ERROR] : error: exportArchive: No applicable devices found.
[ERROR] :
[ERROR] : Error Domain=IDEDistributionErrorDomain Code=14 "No applicable devices found." UserInfo={NSLocalizedDescription=No applicable devices found.}
If I do the same over Xcode (by using the .xcodeproj file and archiving it), it works flawlessly. One thing to clarify is that I already added the device / certificates to the account/team and the computer, so that's not the issue.
Hey there! Do you use SDK 6.0.3.GA?
No, using 6.0.2.GA. I will download 6.0.3.GA and retry again. Will keep you posted once I try.
Tried to run it with 6.0.3.GA, but after setting 6.0.3.GA (and last build of 6.0.4) I get the following error:
Looks like a library is missing, so I went to
/6.0.4.v20170324115015/
and madenpm install node-ios-device
and it gives me the following error:The package is giving a 404 when trying to download it.
Node 7 is not officially supported so far, 4.7 is recommended I think. Also ensure to clear your build directory before.
I had the same error when I was using Ruby that was managed by rvm. Starting with 6.0.2, Adhoc builds now use "xcode archive", which requires system Ruby. Try typing "rvm use system" on the command line, and then try packaging in that same window.
still happening in 6.0.4. Don't have *rvm* installed on my system. How did you solve it in the end? (I have node 5.6.0 installed.)
I downloaded 6.0.3.GA and downgraded Node (as per recommendation) and the error disappeared.
ok! updating to Xcode 8.3.2 fixed this. Thank you