简体   繁体   中英

While compile on simulator the cordova code in Xcode 12.2 with MFP getting error for arm64

I have a project cordova with the MFP plugin & while compile or build on the simulator the Xcode project in Xcode ver 12.2 getting below error.

Building for iOS Simulator, but linking in dylib built for iOS, file '.../Frameworks/IBMMobileFirstPlatformFoundation.framework/IBMMobileFirstPlatformFoundation' for architecture arm64

Go to the Build Settings of the project, locate the VALID_ARCHS property of User-Defined, and add x86_64. As shown below.

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM