Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OS X 10.11.6] Can't compile master branch #55

Closed
lukaville opened this issue Sep 15, 2016 · 6 comments
Closed

[OS X 10.11.6] Can't compile master branch #55

lukaville opened this issue Sep 15, 2016 · 6 comments

Comments

@lukaville
Copy link

lukaville commented Sep 15, 2016

➜  ideviceinstaller git:(master) make
/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
  CC       ideviceinstaller-ideviceinstaller.o
ideviceinstaller.c:928:73: error: format specifies type 'long long' but the argument has type 'ssize_t' (aka 'long') [-Werror,-Wformat]
                                                                fprintf(stderr, "Error: wrote only %d of %" PRIi64 "\n", total, amount);
                                                                                                         ~~~                    ^~~~~~
ideviceinstaller.c:910:20: error: comparison of integers of different signs: 'off_t' (aka 'long long') and 'zip_uint64_t' (aka 'unsigned long long') [-Werror,-Wsign-compare]
                                        while (zfsize < zs.size) {
                                               ~~~~~~ ^ ~~~~~~~
2 errors generated.
make[2]: *** [ideviceinstaller-ideviceinstaller.o] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I tried to comment line 928 and change line 910 to
while (zfsize < (unsigned) zs.size) {,

but now I am getting this error when I trying to install IPA:

ERROR: Install failed. Got error "ApplicationVerificationFailed" with code 0xe8008001: Failed to verify code signature of /private/var/installd/Library/Caches/com.apple.mobile.installd.staging/temp.DJ3jjb/extracted/Payload/PlexMobile.app : 0xe8008001 (An unknown error has occurred.)

@nikias
Copy link
Member

nikias commented Sep 16, 2016

The error you're getting is from the device. You can't install IPAs with invalid/missing/expired code signature.

@nonpafos
Copy link

I'm having the same issue

@myqqai
Copy link

myqqai commented Sep 19, 2016

the same issue

@wangzi1325
Copy link

the same issue
can't compile

@Teketel
Copy link

Teketel commented Mar 9, 2017

I've made a quick fix for this issue.
clone my forked repo git clone https://github.com/Teketel/ideviceinstaller.git

paulvojta added a commit to paulvojta/ideviceinstaller that referenced this issue Nov 7, 2017
The reason for this is that these lines are only useful for very old versions
of libzip, but those versions are now disallowed by the configure script.

This fixes issues libimobiledevice#43, libimobiledevice#50, libimobiledevice#66, and (probably) libimobiledevice#55.
nikias pushed a commit that referenced this issue Mar 23, 2018
The reason for this is that these lines are only useful for very old versions
of libzip, but those versions are now disallowed by the configure script.

This fixes issues #43, #50, #66, and (probably) #55.
@nikias
Copy link
Member

nikias commented Mar 23, 2018

Compilation issue fixed with #85. Rest is out of scope of this project (invalid signature).

@nikias nikias closed this as completed Mar 23, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants