Could not find module for target 'x86_64-apple-ios-simulator'

前端 未结 6 3104
小鲜肉
小鲜肉 2020-12-13 09:59

I have my custom framework and it works properly in XCode 10. I rebuild it in XCode 11 beta 3, then integrated into the app, and get the following error:

Could not f

6条回答
  •  被撕碎了的回忆
    2020-12-13 10:27

    Swift 5.0-5.1, Xcode 11
    Open Xcode, , Build Settings, Build Active Architecture Only and change to for Debug and Release. Architectures set/leave in Standard Architecture -$(ARCHS_STANDARD), important is next step:
    Valid Architecture: armv7, armv7s, arm64, arm64e, ADD here x86_64 and if you need add i386 for Debug and Release. (String: armv7, armv7s, arm64, arm64e, x86_64)

    Choose any simulator in your simulator list and BUILT IT. DONE. 

    I hope it is works for you.


    Description of Architecture:

    armv64: iPhoneX, iPhone 5s-8, iPad Air — iPad Pro

    armv7 : iPhone3Gs-5c, iPad WIFI(4th gen)

    armv6 : iPhone — iPhone3G

    -the above if for real devices

    i386 : 32-bit simulator

    x86_64 : 64-bit simulator

提交回复
热议问题