Skip to content

Instantly share code, notes, and snippets.

@alloy
Created July 16, 2014 17:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save alloy/feaa107fa9463f29ef7b to your computer and use it in GitHub Desktop.
Save alloy/feaa107fa9463f29ef7b to your computer and use it in GitHub Desktop.
Duplicate object files in arch slices of Realm.framework
~/t/R/TestRealm » lipo -info vendor/Pods/Realm/realm-ios-0.80.0/Realm.framework/Realm
Architectures in the fat file: vendor/Pods/Realm/realm-ios-0.80.0/Realm.framework/Realm are: armv7 armv7s i386 x86_64 arm64
~/t/R/TestRealm » lipo -thin i386 vendor/Pods/Realm/realm-ios-0.80.0/Realm.framework/Realm -output libRealm-i386.a
~/t/R/TestRealm » ar -t libRealm-i386.a
__.SYMDEF
RLMArray.o
RLMArrayLinkView.o
RLMProperty.o
RLMMigration.o
RLMObject.o
RLMObjectSchema.o
RLMAccessor.o
RLMConstants.o
RLMRealm.o
RLMQueryUtil.o
RLMObjectStore.o
RLMSchema.o
RLMArrayTableView.o
RLMUtil.o
terminate-iPhoneSimulator.o
string_buffer-iPhoneSimulator.o
memory_stream-iPhoneSimulator.o
thread-iPhoneSimulator.o
file-iPhoneSimulator.o
utilities-iPhoneSimulator.o
alloc-iPhoneSimulator.o
alloc_slab-iPhoneSimulator.o
array-iPhoneSimulator.o
array_string-iPhoneSimulator.o
array_string_long-iPhoneSimulator.o
array_binary-iPhoneSimulator.o
array_blob-iPhoneSimulator.o
array_blobs_big-iPhoneSimulator.o
column-iPhoneSimulator.o
column_string-iPhoneSimulator.o
column_string_enum-iPhoneSimulator.o
column_binary-iPhoneSimulator.o
column_table-iPhoneSimulator.o
column_mixed-iPhoneSimulator.o
column_link-iPhoneSimulator.o
column_linklist-iPhoneSimulator.o
column_backlink-iPhoneSimulator.o
link_view-iPhoneSimulator.o
spec-iPhoneSimulator.o
output_stream-iPhoneSimulator.o
table-iPhoneSimulator.o
table_view-iPhoneSimulator.o
row-iPhoneSimulator.o
descriptor-iPhoneSimulator.o
group-iPhoneSimulator.o
group_writer-iPhoneSimulator.o
group_shared-iPhoneSimulator.o
replication-iPhoneSimulator.o
index_string-iPhoneSimulator.o
query-iPhoneSimulator.o
lang_bind_helper-iPhoneSimulator.o
importer-iPhoneSimulator.o
commit_log-iPhoneSimulator.o
version-iPhoneSimulator.o
unicode-iPhoneSimulator.o
terminate-iPhoneSimulator.o
string_buffer-iPhoneSimulator.o
memory_stream-iPhoneSimulator.o
thread-iPhoneSimulator.o
file-iPhoneSimulator.o
utilities-iPhoneSimulator.o
alloc-iPhoneSimulator.o
alloc_slab-iPhoneSimulator.o
array-iPhoneSimulator.o
array_string-iPhoneSimulator.o
array_string_long-iPhoneSimulator.o
array_binary-iPhoneSimulator.o
array_blob-iPhoneSimulator.o
array_blobs_big-iPhoneSimulator.o
column-iPhoneSimulator.o
column_string-iPhoneSimulator.o
column_string_enum-iPhoneSimulator.o
column_binary-iPhoneSimulator.o
column_table-iPhoneSimulator.o
column_mixed-iPhoneSimulator.o
column_link-iPhoneSimulator.o
column_linklist-iPhoneSimulator.o
column_backlink-iPhoneSimulator.o
link_view-iPhoneSimulator.o
spec-iPhoneSimulator.o
output_stream-iPhoneSimulator.o
table-iPhoneSimulator.o
table_view-iPhoneSimulator.o
row-iPhoneSimulator.o
descriptor-iPhoneSimulator.o
group-iPhoneSimulator.o
group_writer-iPhoneSimulator.o
group_shared-iPhoneSimulator.o
replication-iPhoneSimulator.o
index_string-iPhoneSimulator.o
query-iPhoneSimulator.o
lang_bind_helper-iPhoneSimulator.o
importer-iPhoneSimulator.o
commit_log-iPhoneSimulator.o
version-iPhoneSimulator.o
unicode-iPhoneSimulator.o
~/t/R/TestRealm » mkdir libRealm-i386
~/t/R/TestRealm » cd libRealm-i386/
~/t/R/T/libRealm-i386 » ar -x ../libRealm-i386.a
~/t/R/T/libRealm-i386 » ls -l
total 17760
-rw-r--r-- 1 eloy staff 573944 Jul 16 19:16 RLMAccessor.o
-rw-r--r-- 1 eloy staff 355376 Jul 16 19:16 RLMArray.o
-rw-r--r-- 1 eloy staff 487752 Jul 16 19:16 RLMArrayLinkView.o
-rw-r--r-- 1 eloy staff 537064 Jul 16 19:16 RLMArrayTableView.o
-rw-r--r-- 1 eloy staff 3072 Jul 16 19:16 RLMConstants.o
-rw-r--r-- 1 eloy staff 432888 Jul 16 19:16 RLMMigration.o
-rw-r--r-- 1 eloy staff 467648 Jul 16 19:16 RLMObject.o
-rw-r--r-- 1 eloy staff 455080 Jul 16 19:16 RLMObjectSchema.o
-rw-r--r-- 1 eloy staff 504744 Jul 16 19:16 RLMObjectStore.o
-rw-r--r-- 1 eloy staff 33480 Jul 16 19:16 RLMProperty.o
-rw-r--r-- 1 eloy staff 1037400 Jul 16 19:16 RLMQueryUtil.o
-rw-r--r-- 1 eloy staff 603184 Jul 16 19:16 RLMRealm.o
-rw-r--r-- 1 eloy staff 456352 Jul 16 19:16 RLMSchema.o
-rw-r--r-- 1 eloy staff 345184 Jul 16 19:16 RLMUtil.o
-rw-r--r-- 1 eloy staff 535976 Jul 16 19:16 __.SYMDEF
-rw-r--r-- 1 eloy staff 3536 Jul 16 19:16 alloc-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 14280 Jul 16 19:16 alloc_slab-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 630768 Jul 16 19:16 array-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 12632 Jul 16 19:16 array_binary-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 976 Jul 16 19:16 array_blob-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 7064 Jul 16 19:16 array_blobs_big-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 9160 Jul 16 19:16 array_string-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 14600 Jul 16 19:16 array_string_long-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 40160 Jul 16 19:16 column-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 16784 Jul 16 19:16 column_backlink-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 33632 Jul 16 19:16 column_binary-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 3184 Jul 16 19:16 column_link-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 21928 Jul 16 19:16 column_linklist-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 42928 Jul 16 19:16 column_mixed-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 61912 Jul 16 19:16 column_string-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 19944 Jul 16 19:16 column_string_enum-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 34008 Jul 16 19:16 column_table-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 18680 Jul 16 19:16 commit_log-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 8240 Jul 16 19:16 descriptor-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 24792 Jul 16 19:16 file-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 58944 Jul 16 19:16 group-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 33224 Jul 16 19:16 group_shared-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 11216 Jul 16 19:16 group_writer-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 50840 Jul 16 19:16 importer-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 35368 Jul 16 19:16 index_string-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 1384 Jul 16 19:16 lang_bind_helper-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 6440 Jul 16 19:16 link_view-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 640 Jul 16 19:16 memory_stream-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 1928 Jul 16 19:16 output_stream-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 504392 Jul 16 19:16 query-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 35256 Jul 16 19:16 replication-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 2128 Jul 16 19:16 row-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 13032 Jul 16 19:16 spec-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 2768 Jul 16 19:16 string_buffer-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 232144 Jul 16 19:16 table-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 73808 Jul 16 19:16 table_view-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 5552 Jul 16 19:16 terminate-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 9552 Jul 16 19:16 thread-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 8784 Jul 16 19:16 unicode-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 2808 Jul 16 19:16 utilities-iPhoneSimulator.o
-rw-r--r-- 1 eloy staff 17968 Jul 16 19:16 version-iPhoneSimulator.o
~/t/R/T/libRealm-i386 » libtool -static *.o -o libRealm-i386-fixed.a
~/t/R/T/libRealm-i386 » ar -t libRealm-i386-fixed.a
__.SYMDEF
RLMAccessor.o
RLMArray.o
RLMArrayLinkView.o
RLMArrayTableView.o
RLMConstants.o
RLMMigration.o
RLMObject.o
RLMObjectSchema.o
RLMObjectStore.o
RLMProperty.o
RLMQueryUtil.o
RLMRealm.o
RLMSchema.o
RLMUtil.o
alloc-iPhoneSimulator.o
alloc_slab-iPhoneSimulator.o
array-iPhoneSimulator.o
array_binary-iPhoneSimulator.o
array_blob-iPhoneSimulator.o
array_blobs_big-iPhoneSimulator.o
array_string-iPhoneSimulator.o
array_string_long-iPhoneSimulator.o
column-iPhoneSimulator.o
column_backlink-iPhoneSimulator.o
column_binary-iPhoneSimulator.o
column_link-iPhoneSimulator.o
column_linklist-iPhoneSimulator.o
column_mixed-iPhoneSimulator.o
column_string-iPhoneSimulator.o
column_string_enum-iPhoneSimulator.o
column_table-iPhoneSimulator.o
commit_log-iPhoneSimulator.o
descriptor-iPhoneSimulator.o
file-iPhoneSimulator.o
group-iPhoneSimulator.o
group_shared-iPhoneSimulator.o
group_writer-iPhoneSimulator.o
importer-iPhoneSimulator.o
index_string-iPhoneSimulator.o
lang_bind_helper-iPhoneSimulator.o
link_view-iPhoneSimulator.o
memory_stream-iPhoneSimulator.o
output_stream-iPhoneSimulator.o
query-iPhoneSimulator.o
replication-iPhoneSimulator.o
row-iPhoneSimulator.o
spec-iPhoneSimulator.o
string_buffer-iPhoneSimulator.o
table-iPhoneSimulator.o
table_view-iPhoneSimulator.o
terminate-iPhoneSimulator.o
thread-iPhoneSimulator.o
unicode-iPhoneSimulator.o
utilities-iPhoneSimulator.o
version-iPhoneSimulator.o
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment