My Oracle Support Banner

IOS Workspace Build Failed With Swift Compile Error In Xcode 12.4 (Doc ID 2754758.1)

Last updated on FEBRUARY 23, 2021

Applies to:

Oracle Banking Digital Experience - Version 20.1.0.0.0 to 20.1.0.0.0 [Release 20]
Information in this document applies to any platform.

Symptoms

When attempting to build the ios workspace,
the following error occurs.

ERROR
-----------------------
1.Target Integrity – Building for iOS simulator, but the linked and embedded framework ‘FBSDK*Login/Core/Share*Kit.framework’ was built for iOS + iOS Simulator.
  This error is appearing even after deleting and copying 4 frameworks from installer/simulator to zigbank\platforms\ios directory . But after changing validate workspace under build settings from No  Yes, getting below error.
2.Uncategorized – Command CompileSwift failed with a nonzero exit code.
Swift Compile Error – Module compiled with Swift 5.3 cannot be imported by the Swift 5.3.2 compiler.


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Setup the workspace in Xcode.
2. Clean and build the application.

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.