Giter Site home page Giter Site logo

idevicelocation's People

Contributors

jongabilondoangulo avatar munimkazia avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

idevicelocation's Issues

Altitude is never set

When simulating the location, altitude is never set. Is there a way to pass com.dt.simulatelocation a value for altitude which could be handled by this tool?

Could not start com.apple.dt.simulatelocation!

I use idevicelocation command to change the location .but it report error :
pi@raspberrypi:~ $ idevicelocation 23 24
Could not start com.apple.dt.simulatelocation!
Do you know how to resolve it ?
Thanks .

brew install --HEAD libimobiledevice ----- error: Package requirements (libimobiledevice-glue-1.0 >= 1.0.0) were not met

$ brew install --HEAD usbmuxd

==> Cloning https://github.com/libimobiledevice/libusbmuxd.git
Updating /Users/xxxxxxxxxxxa/Library/Caches/Homebrew/libusbmuxd--git
==> Checking out branch master
Already on 'master'
Your branch is up to date with 'origin/master'.
HEAD is now at 2ec5354 [github-actions] macOS: build for arm64 too
==> ./autogen.sh
Last 15 lines from /Users/xxxxxxxxxxxxa/Library/Logs/Homebrew/libusbmuxd/01.autogen.sh:
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/Homebrew/Library/Homebrew/shims/mac/super/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libplist-2.0 >= 2.2.0... yes
checking for libimobiledevice-glue-1.0 >= 1.0.0... no
configure: error: Package requirements (libimobiledevice-glue-1.0 >= 1.0.0) were not met:

No package 'libimobiledevice-glue-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables limd_glue_CFLAGS
and limd_glue_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

READ THIS: https://docs.brew.sh/Troubleshooting

Please create pull requests instead of asking for help on Homebrew's GitHub,
Twitter or any other official channels.

Run this command and got what issue.

Got the same issue with. $ brew install --HEAD libimobiledevice

[q] routes?

Hi, how could we use this to simulate a route? i.e. from a gpx file?

Unexplained error when running idevicelocation

Description: I've been spoofing my location on a real device all day. About 20 minutes ago I started receiving this error: "Could not start com.apple.dt.simulatelocation!"

Right before I started receiving this error I restarted my device. I did not stop idevicelocation before restarting my device. I'm wondering if this caused an issue?

Any help would be great.
Thanks.

Can't set the location on device

I try to set location on a real device but I get an error message:
selenium.common.exceptions.WebDriverException: Message: An unknown server-side error occurred while processing the command. Original error: Can't set the location on device '14f9e52e7fc70b46d723c********'. Original error: Command 'idevicelocation -u 14f9e52e7fc70b46d723c******** 32.367327 34.9129022' exited with code null
On Android it's works perfet for me
Appium version: 1.10.1
OS: MACOS
Xcode version: 10.1

via terminal:
$ idevicelocation -u 14f9e52e7fc70b46d723c28********* 32.36732761840638 34.912902299649886

get Abort trap: 6

No longer working as of iOS 12.2?

I just updated my iPhone 7 to iOS 12.2, and idevicelocation no longer works on it. It was working fine previously, and still working with a 12.1.4 iPhone X that I just checked.

Are others seeing the same thing?

I keep getting this error on linux

I keep on getting this error when compiling on both debian linux and ubuntu mate. I get it when i try to execute ./autogen.sh

Error:
./configure: line 13004: syntax error near unexpected token `GLOBAL_CFLAGS,'

./configure: line 13004: `AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Werror -g")'

Thanks!

Does this tool work with devices connected over WiFi?

Hi there!

This is the great tool, but I wounding to know if is there any way to pass mock GPS location to devices connected over WiFi?

I have found:
instruments sees devices connected over WiFi
idevice_id -l - does not see any devices
idevicesyslog - works over WiFi

It would be nice to get any help.
Thank you!

stop spoofing.

Hi there, really useful app here. I would like to stop spoofingmy device without rebooting. So I made some research and below solution seems working. I am not good at c# or ios api at all, so it may not be the best way but seems works

added to device_tab:
private void stop_Spoof_Click(object sender, RoutedEventArgs e)
{

        location_service.GetInstance(this).stop_service(location_service.GetInstance(this).Devices[0]);
    }

added to device_con:
public void stop_service(DeviceModel itm)
{
var size = BitConverter.GetBytes(1u);
Array.Reverse(size);
var num = 1u;
iDevice.idevice_new(out var device, itm.UDID);

        var ret_handshake = lockdown.lockdownd_client_new_with_handshake(device, out var client,
            "devicelocation");

        if (ret_handshake != 0)
        {
            return;
        }

        var ret_start_service = lockdown.lockdownd_start_service(client,

"com.apple.dt.simulatelocation", out var service2);
if (ret_start_service != 0)
{
return;
}

        var se = service.service_client_new(device, service2, out var client2);
        if (se != 0)
        {
            return;
        }

        se = service.service_send(client2, size, 4u, ref num);
        if (se != 0)
        {
            return;
        }

    }

added MainWindow:

Could not start com.apple.dt.simulation

The ideviceinfo is working correctly.
However when i tried the command
'''
idevicelocation 0 0
'''
It returns could not start com.apple.dt.simulatelocation.

os:macos 10.14.4

seems -s option not work for me

when i run idevicelocation -s, the simulated location dosen't stop unless i reboot my iphone.
Just like when i run simulate location on xcode then unplug the cable.

ld: symbol(s) not found for architecture x86_64

I try to compile this on MacOS High Sierra 10.13.2 and already went past the as-compiler-flag.m4 issue. That means autogen.sh finishes successfully.

When I run make I get the following error:

/Applications/Xcode.app/Contents/Developer/usr/bin/make  all-recursive
Making all in src
  CC       idevicelocation-idevicelocation.o  
  CCLD     idevicelocation  
Undefined symbols for architecture x86_64:  
  "_idevice_free", referenced from:  
      _main in idevicelocation-idevicelocation.o  
  "_idevice_new", referenced from:  
      _main in idevicelocation-idevicelocation.o
  "_idevice_set_debug_level", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_lockdownd_client_free", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_lockdownd_client_new_with_handshake", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_lockdownd_service_descriptor_free", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_lockdownd_start_service", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_service_client_free", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_service_client_new", referenced from:
      _main in idevicelocation-idevicelocation.o
  "_service_send", referenced from:
      _main in idevicelocation-idevicelocation.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [idevicelocation] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

I installed and use the latest gcc-7 compiler but that only changes clang: error: linker command failed with exit code 1 (use -v to see invocation) to collect2: error: ld returned 1 exit status.

I'm stuck with this at the moment.

Error libimobiledevice-1.0 >= 1.2.0

checking for libimobiledevice-1.0 >= 1.2.0... no
configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met:

I can't seem to find a way to install version greater than 1.2.0, where can I find it?

Output of:$ brew list --versions
autoconf 2.69
automake 1.16.1
cmake 3.11.0
gdbm 1.14.1_1
icu4c 61.1
ideviceinstaller 1.1.0_4 HEAD-58d359f_4
ios-webkit-debug-proxy 1.8
libimobiledevice HEAD-f37b592_2
libplist 2.0.0
libtasn1 4.13
libtool 2.4.6_1
libusb 1.0.22
libxml2 2.9.7
libzip 1.5.1
makedepend 1.0.5
node 9.11.1
openssl 1.0.2o_1
pkg-config 0.29.2
python@2 2.7.14_3
readline 7.0.3_1
sphinx-doc 1.7.2
sqlite 3.23.1
usbmuxd 1.0.10_1

No package 'libplist' found

Hello,

I'm trying to compile idevicelocation but keep getting hung up on "No package 'libplist' found":

checking for libplist >= 0.15... no
configure: error: Package requirements (libplist >= 0.15) were not met:

No package 'libplist' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

I've monkeyed around with PKG_CONFIG_PATH with no success. It's currently:

echo $PKG_CONFIG_PATH
/usr/local/Cellar/libplist:/usr/local/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig

Any assistance is appreciated.

Regards,

Don

Entire ./autogen.sh output is as follows:

glibtoolize: putting auxiliary files in '.'.
glibtoolize: linking file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: linking file 'm4/libtool.m4'
glibtoolize: linking file 'm4/ltoptions.m4'
glibtoolize: linking file 'm4/ltsugar.m4'
glibtoolize: linking file 'm4/ltversion.m4'
glibtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:13: installing './compile'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
configure.ac:15: warning: The macro AC_PROG_LIBTOOL' is obsolete. configure.ac:15: You should run autoupdate. m4/libtool.m4:99: AC_PROG_LIBTOOL is expanded from... configure.ac:15: the top level configure.ac:23: warning: The macro AC_HEADER_STDC' is obsolete.
configure.ac:23: You should run autoupdate.
./lib/autoconf/headers.m4:704: AC_HEADER_STDC is expanded from...
configure.ac:23: the top level
configure.ac:42: warning: The macro AC_TRY_LINK' is obsolete. configure.ac:42: You should run autoupdate. ./lib/autoconf/general.m4:2920: AC_TRY_LINK is expanded from... configure.ac:42: the top level configure.ac:58: warning: The macro AC_TRY_COMPILE' is obsolete.
configure.ac:58: You should run autoupdate.
./lib/autoconf/general.m4:2847: AC_TRY_COMPILE is expanded from...
m4/as-compiler-flag.m4:37: AS_COMPILER_FLAGS is expanded from...
configure.ac:58: the top level
configure.ac:63: warning: AC_OUTPUT should be used without arguments.
configure.ac:63: You should run autoupdate.
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a race-free mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C... yes
checking whether gcc accepts -g... yes
checking for gcc option to enable C11 features... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin20.6.0
checking host system type... x86_64-apple-darwin20.6.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 786432
checking how to convert x86_64-apple-darwin20.6.0 file names to x86_64-apple-darwin20.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin20.6.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking for stdio.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for strings.h... yes
checking for sys/stat.h... yes
checking for sys/types.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin20.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice-1.0 >= 1.2.0... yes
checking for libplist >= 0.15... no
configure: error: Package requirements (libplist >= 0.15) were not met:

No package 'libplist' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libplist_CFLAGS
and libplist_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Coding disable person help...

Can someone tell me how to install it? I try but it's too much for me.

  1. no such file or directory: ./autogen.sh
  2. autoheader? how to install?

configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met: Package 'openssl', required by 'libimobiledevice-1.0', not found

when I installed idevicelocation, I got this:
configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met: Package 'openssl', required by 'libimobiledevice-1.0', not found

then I tried to install libimobiledevice-1.2.0, it tells:
checking consistency of all components of python development environment... yes
checking for openssl... no
configure: error: OpenSSL support explicitly requested but OpenSSL could not be found

but I had already installed openssl :
wangdarens-MacBook-Pro:libimobiledevice-1.2.0 2 greatman$ brew upgrade openssl
Error: openssl 1.0.2r already installed

then I tried to use gnutls instead of openssl, it tells:
idevice.c:629:172: error: unknown type name 'gnutls_retr_st'; did you mean
'gnutls_retr2_st'?
...* sign_algos, int sign_algos_length, gnutls_retr_st * st)
^~~~~~~~~~~~~~
gnutls_retr2_st
/usr/local/Cellar/gnutls/3.6.7.1/include/gnutls/gnutls.h:2613:3: note:
'gnutls_retr2_st' declared here
} gnutls_retr2_st;
^
idevice.c:637:8: error: no member named 'type' in 'struct gnutls_retr2_st'
st->type = type;
~~ ^
idevice.c:746:2: warning: implicit declaration of function
'gnutls_certificate_client_set_retrieve_function' is invalid in C99
[-Wimplicit-function-declaration]
gnutls_certificate_client_set_retrieve_function(ssl_data_loc->ce...
^
1 warning and 2 errors generated.
make[2]: *** [idevice.lo] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

what's wrong?

system version:
macOS Mojave 10.14.3

Package requirements (libplist >= 0.15) were not met

./autogen.sh
glibtoolize: putting auxiliary files in '.'.
glibtoolize: linking file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: linking file 'm4/libtool.m4'
glibtoolize: linking file 'm4/ltoptions.m4'
glibtoolize: linking file 'm4/ltsugar.m4'
glibtoolize: linking file 'm4/ltversion.m4'
glibtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:13: installing './compile'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin19.6.0
checking host system type... x86_64-apple-darwin19.6.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Users/xxxxx/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Users/xxxxx/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin19.6.0 file names to x86_64-apple-darwin19.6.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin19.6.0 file names to toolchain format... func_convert_file_noop
checking for /Users/xxxxx/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Users/xxxxx/Downloads/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin19.6.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice-1.0 >= 1.2.0... yes
checking for libplist >= 0.15... no
configure: error: Package requirements (libplist >= 0.15) were not met:

No package 'libplist' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libplist_CFLAGS
and libplist_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

Heading

Any way to send a heading to the device?

Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met

Description: When running autogen.sh in the idevicelocation folder I get this error:

configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met:

Package 'openssl', required by 'libimobiledevice-1.0', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Any help would be great.

./autogen.sh
glibtoolize: putting auxiliary files in '.'.
glibtoolize: linking file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: linking file 'm4/libtool.m4'
glibtoolize: linking file 'm4/ltoptions.m4'
glibtoolize: linking file 'm4/ltsugar.m4'
glibtoolize: linking file 'm4/ltversion.m4'
glibtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:13: installing './compile'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... ./install-sh -c -d
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking whether make supports the include directive... yes (GNU style)
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin18.2.0
checking host system type... x86_64-apple-darwin18.2.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin18.2.0 file names to x86_64-apple-darwin18.2.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin18.2.0 file names to toolchain format... func_convert_file_noop
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin18.2.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice-1.0 >= 1.2.0... no
configure: error: Package requirements (libimobiledevice-1.0 >= 1.2.0) were not met:

Package 'openssl', required by 'libimobiledevice-1.0', not found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables libimobiledevice_CFLAGS
and libimobiledevice_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

export PKG_CONFIG_PATH=/usr/local/lib/pkgconfig

Error when running ./autogen.sh on OSX Sierra

Description: When running autogen.sh in the idevicelocation folder I get this error:

./configure: line 12976: syntax error near unexpected token GLOBAL_CFLAGS,' ./configure: line 12976: AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Werror -g")'

Any help would be great.

Full output:
./autogen.sh
glibtoolize: putting auxiliary files in '.'.
glibtoolize: linking file './ltmain.sh'
glibtoolize: putting macros in AC_CONFIG_MACRO_DIRS, 'm4'.
glibtoolize: linking file 'm4/libtool.m4'
glibtoolize: linking file 'm4/ltoptions.m4'
glibtoolize: linking file 'm4/ltsugar.m4'
glibtoolize: linking file 'm4/ltversion.m4'
glibtoolize: linking file 'm4/lt~obsolete.m4'
configure.ac:13: installing './compile'
configure.ac:15: installing './config.guess'
configure.ac:15: installing './config.sub'
configure.ac:6: installing './install-sh'
configure.ac:6: installing './missing'
src/Makefile.am: installing './depcomp'
configure.ac:58: error: possibly undefined macro: AS_COMPILER_FLAGS
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
checking for a BSD-compatible install... /usr/local/bin/ginstall -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /usr/local/bin/gmkdir -p
checking for gawk... no
checking for mawk... no
checking for nawk... no
checking for awk... awk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking for style of include used by make... GNU
checking dependency style of gcc... gcc3
checking build system type... x86_64-apple-darwin16.7.0
checking host system type... x86_64-apple-darwin16.7.0
checking how to print strings... printf
checking for a sed that does not truncate output... /usr/bin/sed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for fgrep... /usr/bin/grep -F
checking for ld used by gcc... /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld
checking if the linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) is GNU ld... no
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 196608
checking how to convert x86_64-apple-darwin16.7.0 file names to x86_64-apple-darwin16.7.0 format... func_convert_file_noop
checking how to convert x86_64-apple-darwin16.7.0 file names to toolchain format... func_convert_file_noop
checking for /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld option to reload object files... -r
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for ar... ar
checking for archiver @file support... no
checking for strip... strip
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for sysroot... no
checking for a working dd... /bin/dd
checking how to truncate binary pipes... /bin/dd bs=4096 count=1
checking for mt... no
checking if : is a manifest tool... no
checking for dsymutil... dsymutil
checking for nmedit... nmedit
checking for lipo... lipo
checking for otool... otool
checking for otool64... no
checking for -single_module linker flag... yes
checking for -exported_symbols_list linker flag... yes
checking for -force_load linker flag... yes
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common -DPIC
checking if gcc PIC flag -fno-common -DPIC works... yes
checking if gcc static flag -static works... no
checking if gcc supports -c -o file.o... yes
checking if gcc supports -c -o file.o... (cached) yes
checking whether the gcc linker (/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin16.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for pkg-config... /usr/local/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libimobiledevice-1.0 >= 1.2.0... yes
checking for libplist >= 0.15... yes
checking for libzip >= 0.10... yes
checking for ANSI C header files... (cached) yes
checking for stdint.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking for an ANSI C-conforming const... yes
checking for size_t... yes
checking for ssize_t... yes
checking for uint16_t... yes
checking for uint32_t... yes
checking for uint8_t... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible malloc... yes
checking for stdlib.h... (cached) yes
checking for GNU libc compatible realloc... yes
checking for strcasecmp... yes
checking for strdup... yes
checking for strerror... yes
checking for strndup... yes
checking whether lstat is available... yes
./configure: line 12976: syntax error near unexpected token GLOBAL_CFLAGS,' ./configure: line 12976: AS_COMPILER_FLAGS(GLOBAL_CFLAGS, "-Wall -Wextra -Wmissing-declarations -Wredundant-decls -Wshadow -Wpointer-arith -Wwrite-strings -Wswitch-default -Wno-unused-parameter -Werror -g")'

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.