Skip to content

ios-deploy fails verification when IPA contains files with unicode chars (e.g. copyright logo) #410

Open
@kodayashi

Description

@kodayashi

MUST READ BEFORE YOU FILE (DELETE THIS SECTION BEFORE FILING)

Include the command line arguments you used for ios-deploy.

Don't forget to check out the El Capitan section of the README before filing this issue.

Expected behavior

ios-deploy can install an app that has files with special characters (e.g. "Some JSON file with ®.json")

ios-deploy --id MYUDID --bundle '/var/folders/vr/21x7yy7113z99g5vc1cq9ym1g087mz/T/2019819-48435-u683n2.sxfo/Payload/MYAPP.app'

Actual behavior.

ios-deploy fails code validation. Note that Xcode can install the exact same IPA file on my phone perfectly fine.

Steps to reproduce the problem

Try to install an IPA file that contains files with unicode chars. It will fail:

[ 52%] CreatingStagingDirectory
[ 57%] ExtractingPackage
[ 60%] InspectingPackage
[ 60%] TakingInstallLock
[ 65%] PreflightingApplication
[ 65%] InstallingEmbeddedProfile
[ 65%] InstallingEmbeddedProfile
[ 70%] VerifyingApplication
2019-09-19 16:34:24.421 ios-deploy[52238:40393627] [ !! ] Error 0xe8008017: A signed resource has been added, modified, or deleted. AMDeviceSecureInstallApplication(0, device, url, options, install_callback, 0)

If I remove the special characters from the filenames and re-sign, then ios-deploy works fine.

System Specs

Please run the commands below in your Terminal.app and include it in the issue. Check when done and include results below.

  • 1. system_profiler SPSoftwareDataType

Software:

System Software Overview:

  System Version: macOS 10.14.5 (18F132)
  Kernel Version: Darwin 18.6.0
  Boot Volume: Macintosh HD
  Boot Mode: Normal
  Computer Name: Redacted
  User Name: Redacted
  Secure Virtual Memory: Enabled
  System Integrity Protection: Enabled
  Time since boot: 45 days 8 minutes
  • 2. ios-deploy -V

1.9.4

  • 3. xcodebuild -version

Xcode 10.3
Build version 10G8

  • 4. xcode-select --print-path

/Applications/Xcode.app/Contents/Developer

  • 5. gcc --version

Configured with: --prefix=/Applications/Xcode.app/Contents/Developer/usr --with-gxx-include-dir=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include/c++/4.2.1
Apple LLVM version 10.0.1 (clang-1001.0.46.4)
Target: x86_64-apple-darwin18.6.0
Thread model: posix
InstalledDir: /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin

  • 6. lldb --version

lldb-1001.0.13.3
Swift-5.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions