File tree Expand file tree Collapse file tree 3 files changed +2
-5
lines changed
packages/host/src/node/cli Expand file tree Collapse file tree 3 files changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -19,10 +19,9 @@ const ANDROID_ARCHITECTURES = [
1919export async function linkAndroidDir ( {
2020 modulePath,
2121 naming,
22- platform,
2322} : LinkModuleOptions ) : Promise < LinkModuleResult > {
2423 const libraryName = getLibraryName ( modulePath , naming ) ;
25- const outputPath = getLinkedModuleOutputPath ( platform , modulePath , naming ) ;
24+ const outputPath = getLinkedModuleOutputPath ( "android" , modulePath , naming ) ;
2625
2726 await fs . promises . rm ( outputPath , { recursive : true , force : true } ) ;
2827 await fs . promises . cp ( modulePath , outputPath , { recursive : true } ) ;
Original file line number Diff line number Diff line change @@ -458,7 +458,6 @@ export function determineFrameworkSlice(): {
458458}
459459
460460export async function linkXcframework ( {
461- platform,
462461 modulePath,
463462 naming,
464463 outputPath : outputParentPath ,
Original file line number Diff line number Diff line change @@ -30,7 +30,7 @@ export type LinkModulesOptions = {
3030
3131export type LinkModuleOptions = Omit <
3232 LinkModulesOptions ,
33- "fromPath" | "linker"
33+ "fromPath" | "linker" | "platform"
3434> & {
3535 modulePath : string ;
3636} ;
@@ -95,7 +95,6 @@ export async function linkModules({
9595 return await linker ( {
9696 modulePath : originalPath ,
9797 naming,
98- platform,
9998 } ) ;
10099 } catch ( error ) {
101100 if ( error instanceof SpawnFailure ) {
You can’t perform that action at this time.
0 commit comments