Build iOS fat static library for Unity and Xamarin #286

Closed
splhack wants to merge 1 commits from ios into master
splhack commented 2016-12-15 22:58:13 -08:00 (Migrated from github.com)
$ buck build //csharp:yoganet-ios
$ buck targets --show-output //csharp:yoganet-ios
//csharp:yoganet-ios buck-out/gen/csharp/yoganet-ios/libyoga.a

$ lipo -info buck-out/gen/csharp/yoganet-ios/libyoga.a
Architectures in the fat file: buck-out/gen/csharp/yoganet-ios/libyoga.a are: armv7 x86_64 arm64

$ nm buck-out/gen/csharp/yoganet-ios/libyoga.a|grep -e 'T _YGNodeNew' -e 'ygNode' -e 'T _YGInteropSetLogger'
0000000000000000 T _YGNodeNew
0000000000001070 t -[UIView(Yoga) ygNode]
0000000000000000 T _YGInteropSetLogger
$ buck build //csharp:yoganet-ios $ buck targets --show-output //csharp:yoganet-ios //csharp:yoganet-ios buck-out/gen/csharp/yoganet-ios/libyoga.a $ lipo -info buck-out/gen/csharp/yoganet-ios/libyoga.a Architectures in the fat file: buck-out/gen/csharp/yoganet-ios/libyoga.a are: armv7 x86_64 arm64 $ nm buck-out/gen/csharp/yoganet-ios/libyoga.a|grep -e 'T _YGNodeNew' -e 'ygNode' -e 'T _YGInteropSetLogger' 0000000000000000 T _YGNodeNew 0000000000001070 t -[UIView(Yoga) ygNode] 0000000000000000 T _YGInteropSetLogger
facebook-github-bot commented 2016-12-15 23:13:47 -08:00 (Migrated from github.com)

@splhack has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@splhack has imported this pull request. If you are a Facebook employee, you can view this diff [on Phabricator](https://phabricator.intern.facebook.com/D4338919).

Pull request closed

Sign in to join this conversation.
No description provided.