ideviceinstaller icon indicating copy to clipboard operation
ideviceinstaller copied to clipboard

The warning about iTunesMetadata.plist

Open Xwoder opened this issue 7 years ago • 3 comments

After I typed $ ideviceinstaller -i xxx_adhoc.ipa, the output is

WARNING: could not locate iTunesMetadata.plist in archive!
WARNING: could not locate Payload/RingDiyClient.app/SC_Info/RingDiyClient.sinf in archive!
Copying 'Kuyinlingsheng_adhoc_1.0.55.01.ipa' to device... DONE.
Installing 'com.mflsmb.mflsmb'
Install: CreatingStagingDirectory (5%)
Install: ExtractingPackage (15%)
Install: InspectingPackage (20%)
Install: TakingInstallLock (20%)
Install: PreflightingApplication (30%)
Install: InstallingEmbeddedProfile (30%)
Install: VerifyingApplication (40%)
Install: CreatingContainer (50%)
Install: InstallingApplication (60%)
Install: PostflightingApplication (70%)
Install: SandboxingApplication (80%)
Install: GeneratingApplicationMap (90%)
Install: Complete

There were some warning

WARNING: could not locate iTunesMetadata.plist in archive!
WARNING: could not locate Payload/RingDiyClient.app/SC_Info/RingDiyClient.sinf in archive!

How did that happpen, and how to avoid them. Thanks!

Xwoder avatar Apr 06 '17 08:04 Xwoder

I get the same errors. Did you have any success in resolving them?

andrewmarmion avatar Jun 14 '18 15:06 andrewmarmion

I ran in to this today when I tried to use ideviceinstaller to install an ipa from iMazing's library.

It worked after I exported the ipa from the library, and imported that.

Unfortunately this is not the solution to my problem of wanting to script the install of iOS apps, but it likely means this issue can be closed.

Joshfindit avatar Aug 10 '20 21:08 Joshfindit

Hi, I get these same two warnings. The ipa installs correctly and runs fine. From looking at the code, it looks like it just always checks for these two files if you pass it a pre-built ipa zip file, but I don't think these files are required (anymore), so it seems like it should be possible to avoid this warning?

https://github.com/libimobiledevice/ideviceinstaller/blob/3909271599917bc4a3a996f99bdd3f88c49577fa/src/ideviceinstaller.c#L1058

https://github.com/libimobiledevice/ideviceinstaller/blob/3909271599917bc4a3a996f99bdd3f88c49577fa/src/ideviceinstaller.c#L1137

It would be nice to either a) know if I'm missing something actually important, or b) be able to quiet these warnings so they don't spam my build log every time.

Thanks, Chris

chrishecker avatar Dec 12 '22 06:12 chrishecker