[TIMOB-20504] iOS Module: Create universal binary failed when there are multiple binaries from the same architectures
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Medium |
Status | Open |
Resolution | Unresolved |
Affected Version/s | n/a |
Fix Version/s | n/a |
Components | iOS, Tooling |
Labels | n/a |
Reporter | Feon Sua Xin Miao |
Assignee | Unknown |
Created | 2016-03-03T01:09:32.000+0000 |
Updated | 2018-02-28T19:55:23.000+0000 |
Description
Unearth this while reviewing TIMOB-20489, not an regression.
Test module: https://github.com/timanrebel/HockeyApp/tree/master/iphone/platform/iphone
When there are multiple binaries for the same architectures,
lipo
spills out error
fatal error: ../HockeyApp/iphone/build/Release-iphoneos/libNlRebelicHockeyapp.a and ../HockeyApp/iphone/build/ios.build/Release-iphoneos/ios.build/Objects-normal/armv7/libNlRebelicHockeyapp.a have the same architectures (armv7) and can't be in the same fat output file
// list of binaries under build:
[ '../HockeyApp/iphone/build/Release-iphoneos/libNlRebelicHockeyapp.a',
'..//HockeyApp/iphone/build/Release-iphonesimulator/libNlRebelicHockeyapp.a',
'../HockeyApp/iphone/build/ios.build/Release-iphoneos/ios.build/Objects-normal/arm64/libNlRebelicHockeyapp.a',
'../HockeyApp/iphone/build/ios.build/Release-iphoneos/ios.build/Objects-normal/armv7/libNlRebelicHockeyapp.a',
'../HockeyApp/iphone/build/ios.build/Release-iphonesimulator/ios.build/Objects-normal/i386/libNlRebelicHockeyapp.a',
'../HockeyApp/iphone/build/ios.build/Release-iphonesimulator/ios.build/Objects-normal/x86_64/libNlRebelicHockeyapp.a' ]
No comments