The iosphone build fails on Xcode 12

Issue #342 resolved
Paolo Brandoli repo owner created an issue

When building Imebra with Xcode 12 then the macOS build succeeds but both the iOS build fails for both the real hardware and the simulator with the following error:

In file included from /Applications/Xcode-12.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIImage.h:17:

/Applications/Xcode-12.3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator14.3.sdk/System/Library/Frameworks/UIKit.framework/Headers/NSItemProvider+UIKitAdditions.h:24:12:

Comments (18)

  1. Paolo Brandoli reporter

    Something is wrong in cmake.

    After changing the cmakelists.txt file, the iphone build succeeds only when cmake is launched twice, while the simulator build succeeds the first time.

    Check the difference in the cmake created files between the 1st and the 2nd run.

  2. Log in to comment