mirror of
https://github.com/webadderallorg/Recordly.git
synced 2026-09-24 23:05:49 +00:00
Merge pull request #29 from paramientos/fix-swift-helper-issue
fix(macos): add explicit target architecture to Swift helper builds
This commit is contained in:
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Generated
+3
-3
@@ -1,12 +1,13 @@
|
||||
{
|
||||
"name": "recordly",
|
||||
"version": "1.1.3",
|
||||
"version": "1.0.0",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "recordly",
|
||||
"version": "1.1.3",
|
||||
"version": "1.0.0",
|
||||
"hasInstallScript": true,
|
||||
"dependencies": {
|
||||
"@fix-webm-duration/fix": "^1.0.1",
|
||||
"@pixi/filter-drop-shadow": "^5.2.0",
|
||||
@@ -14118,4 +14119,3 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -44,7 +44,12 @@ for (const helper of helpers) {
|
||||
const sourcePath = path.join(nativeRoot, helper.source);
|
||||
const outputPath = path.join(outputDir, helper.output);
|
||||
|
||||
const result = spawnSync('swiftc', ['-O', sourcePath, '-o', outputPath], {
|
||||
const result = spawnSync('swiftc', [
|
||||
'-O',
|
||||
'-target', process.arch === 'arm64' ? 'arm64-apple-macos14.0' : 'x86_64-apple-macos14.0',
|
||||
sourcePath,
|
||||
'-o', outputPath
|
||||
], {
|
||||
encoding: 'utf8',
|
||||
timeout: 120000,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user