As of the latest Xcode (11.4), the framework is no longer rebuilding properly after adding or removing the simulator from the list of targeted architectures.
To reproduce: build an app with the FraudForce framework linked per instructions for either the simulator or for distribution. Then change the target so that the simulator is added or removed from the target architectures. Trying to rebuild again (even after a clean) will fail with the message "Building for iOS Simulator, but the linked and embedded framework 'FraudForce.framework' was built for iOS." (Or vice-versa if you are moving from simulator to distribution.)
This appears to be new behavior as of 11.4, as it is not presenting for coworkers who have not yet updated. The workaround for now is to delete the contents of the Frameworks-build folder, which will correctly cause the framework to be rebuilt with the proper architectures.
As of the latest Xcode (11.4), the framework is no longer rebuilding properly after adding or removing the simulator from the list of targeted architectures.
To reproduce: build an app with the FraudForce framework linked per instructions for either the simulator or for distribution. Then change the target so that the simulator is added or removed from the target architectures. Trying to rebuild again (even after a clean) will fail with the message "Building for iOS Simulator, but the linked and embedded framework 'FraudForce.framework' was built for iOS." (Or vice-versa if you are moving from simulator to distribution.)
This appears to be new behavior as of 11.4, as it is not presenting for coworkers who have not yet updated. The workaround for now is to delete the contents of the Frameworks-build folder, which will correctly cause the framework to be rebuilt with the proper architectures.