FloatingPanel icon indicating copy to clipboard operation
FloatingPanel copied to clipboard

Mac M1 Simulator issue

Open sergeydi opened this issue 2 years ago • 2 comments

Description

When try to execute application in Simulator I get error: Could not find module 'FloatingPanel' for target 'x86_64-apple-ios-simulator';

On real device everything works perfect. How to fix bug on simulator?

Environment

Library version 1.7.6

Installation method

  • Swift Package Manager

iOS version(s) 15.4

Xcode version 13.3.1

sergeydi avatar Apr 20 '22 09:04 sergeydi

Works fine for me, are you sure you aren't using Xcode in Rosetta?

jnwagstaff avatar May 25 '22 17:05 jnwagstaff

@sergeydi

If you haven't figured out the problem yet, I found a solution that worked in my case:

In Build Settings I had arm64 in Excluded Architectures for DEBUG and RELEASE schemes. After removing these architectures, the project built successfully for simulator.

Hope it helps.

Screenshot 2022-09-13 at 14 16 05

prokhorovxo avatar Sep 13 '22 11:09 prokhorovxo