Skip to content

Instantly share code, notes, and snippets.

@gerald-kim
Created May 25, 2012 10:54
Show Gist options
  • Save gerald-kim/2787292 to your computer and use it in GitHub Desktop.
Save gerald-kim/2787292 to your computer and use it in GitHub Desktop.
Ad@m 라이브러리에 포함되어있는 Reachability.o 제거하기
libAdamPublisher-without-Reachability.a: libAdamPublisher.a
for arch in armv6 armv7 i386 ; do \
lipo -thin $${arch} libAdamPublisher.a -o $${arch}.a; \
ar -d $${arch}.a Reachability.o; \
done
lipo -create armv6.a armv7.a i386.a -o libAdamPublisher-without-Reachability.a
rm armv6.a armv7.a i386.a
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment