OWASP/iGoat-Swift

Building for iOS Simulator, but the embedded framework 'Realm.framework' was built for iOS + iOS Simulator.

bbakbbak2 opened this issue · 5 comments

Hi, 2020
I have trouble building on simulator.
"Building for iOS Simulator, but the embedded framework 'Realm.framework' was built for iOS + iOS Simulator."

Who know about this issue?

My environment are

  • Xcode 12.3
  • Big sur 11.0.1
z0x0z commented

facing the same above issue ..
My environment are
Xcode 12.3
Big sur 11.1

Hello,
Same problem here on Big Sur 11.1... Can someone know how to bypass this error ?

i am also facing the same issue
xcode 12.4
Catalina 10.15.7

It is possible to bypass this issue setting Validate Workspace to Yes in the Build Settings tab, as stated here: https://stackoverflow.com/questions/63267897/building-for-ios-simulator-but-the-linked-framework-framework-was-built. However, after that it started showing some architecture errors, and no configuration allows the build to work.

Two ways to solve this issue -

  1. Use the Legacy Build System (as shown in the screenshot)
    iGoat

  2. Clone from the new branch - https://github.com/OWASP/iGoat-Swift/tree/tech/dependency-update