Skip to content

Commit

Permalink
Merge pull request #123 from janvennemann/TIMOB-24057-fix
Browse files Browse the repository at this point in the history
[TIMOB-24057] Always build pods for all archs
  • Loading branch information
hansemannn committed Mar 2, 2017
2 parents dc2c957 + 70069c1 commit b0bce20
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions metabase/ios/lib/metabase.js
Original file line number Diff line number Diff line change
Expand Up @@ -540,13 +540,9 @@ function runCocoaPodsBuild (basedir, builder, callback) {
'-alltargets',
'IPHONEOS_DEPLOYMENT_TARGET=' + minSDKVersion,
'-sdk', sdk,
'SYMROOT=' + productsDirectory
'SYMROOT=' + productsDirectory,
'ONLY_ACTIVE_ARCH=NO'
];
if (builder.simHandle) {
// Manually set the arch for simulator builds since we cannot use -destination
// because the Pods project has no scheme.
args.push('-arch', process.arch === 'x64' ? 'x86_64' : 'i386');
}
var buildOutDir = path.join(productsDirectory, buildConfigurationName + '-' + sdkType),
runDir = path.join(basedir, 'Pods'),
child = spawn(xcodesettings.xcodebuild, args, {cwd:runDir});
Expand Down

0 comments on commit b0bce20

Please sign in to comment.