gstf / libspatialite-ios

libspatialite compiled for iOS
55 stars 47 forks source link

make fails after upgrading to xcode 7 #14

Closed hallahan closed 9 years ago

hallahan commented 9 years ago

I upgraded to XCode 7, and now the make fails:

# Make fat libraries for all architectures
for file in build/armv7/lib/*.a; \
        do name=`basename $file .a`; \
        /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo -create \
            -arch armv7 build/armv7/lib/$name.a \
            -arch armv7s build/armv7s/lib/$name.a \
            -arch arm64 build/arm64/lib/$name.a \
            -arch i386 build/i386/lib/$name.a \
            -arch x86_64 build/x86_64/lib/$name.a \
            -output lib/$name.a \
        ; \
        done;
/bin/sh: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: No such file or directory
/bin/sh: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: No such file or directory
/bin/sh: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: No such file or directory
/bin/sh: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: No such file or directory
/bin/sh: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: No such file or directory
/bin/sh: /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/lipo: No such file or directory
make: *** [lib/libspatialite.a] Error 127

Any ideas?

hallahan commented 9 years ago

Ah, if we just use the standard system installed lipo in the makefile, it works.

/usr/bin/lipo