Skip to content

m1芯片,报错for architecture arm64 #8

@imtiantian

Description

@imtiantian

你的运行环境

  • 插件版本:
    *平台 IOS:
  • Cordova version (10.0.0):
  • Cordova platform version (ios 6.0.0):

电脑:macbook pro (M1芯片)

复现

在M1芯片的电脑上运行xcode,在xcode中使用ios模拟器运行项目。

期望效果

能正常使用

实际效果

报错

ld: in /Users/xuzhiwen/Documents/project/xxcig/platforms/ios/新兴际华供应链/Plugins/cordova-plugin-jcore/jcore-ios-2.6.2.a(JCommonLocationController.o), building for iOS Simulator, but linking in object file built for iOS, file '/Users/xuzhiwen/Documents/project/xxcig/platforms/ios/新兴际华供应链/Plugins/cordova-plugin-jcore/jcore-ios-2.6.2.a' for architecture arm64
clang: error: linker command failed with exit code 1 (use -v to see invocation)

** BUILD FAILED **

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions