Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to install app build to iOS 9 created using jenkins. Error says Symlink has absolute path

I am creating an application. I created an adhoc build to test the app in my iPad. I have used proper code signing certificate and provisioning profile in the build. I have 2 iPads, 1 has iOS 8.3 and another has iOS9.5 beta.

When I tries to install the application in both iPads, iPad with iOS8.3 allows the app to be installed but in iOS 9.5 beta it fails.

I am using Xcode > Window > Devices and choose my iPad and drag-drop the build in installed application. It gives an error like: "App installation failed - Could not write to the device."

EDIT: the console has following error log:

  1. Invalid symlink:
  2. Stream extractor got error: Error Domain=SZExtractorErrorDomain Code=2 "Invalid symlink:
  3. __dispatch_source_read_socket_block_invoke_2:188: Failed to finish extraction: Error Domain=SZExtractorErrorDomain Code=3 "This extractor previously encountered an error and can no longer be used." UserInfo={NSLocalizedDescription=This extractor previously encountered an error and can no longer be used.}

Please help me with this.

like image 335
Kapil Choubisa Avatar asked Dec 25 '22 14:12

Kapil Choubisa


1 Answers

We had the same issue today and found a solution that seems to work.

If you're building with jenkins using the xcodebuild plugin, make sure you unselect the "Generate Archive" option in the general build settings enter image description here

This solved the install problem on iOS9 for us

like image 73
Eric Genet Avatar answered Jan 05 '23 17:01

Eric Genet