Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-20504] iOS Module: Create universal binary failed when there are multiple binaries from the same architectures

GitHub Issuen/a
TypeBug
PriorityMedium
StatusOpen
ResolutionUnresolved
Affected Version/sn/a
Fix Version/sn/a
ComponentsiOS, Tooling
Labelsn/a
ReporterFeon Sua Xin Miao
AssigneeUnknown
Created2016-03-03T01:09:32.000+0000
Updated2018-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' ]

Comments

No comments

JSON Source