Thursday, 24 October 2019

Framework Not available in Simulator - Make Dummy Framework

I have a framework which is not available in simulator, So not able to run in simulator. Im getting below error.

Could not find module 'Framework' for target 'x86_64-apple-ios-simulator'; found: arm64, armv7-apple-ios, arm64-apple-ios, arm, armv7

How can i create a dummy framework or is there any way to make it run on simulator. Just like simulator is handling camera like functionalities.

Tried below code: But how to define the else condition.

#if (arch(x86_64)) && os(iOS)
  import Framework
#else

#endif


from Framework Not available in Simulator - Make Dummy Framework

No comments:

Post a Comment