The iosphone build fails on Xcode 12
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)
-
reporter -
reporter Addresses
#342. Corrected comment in cmake.→ <<cset 6187bf17dc41>>
-
reporter Addresses
#342. Use old xcode build system→ <<cset caafdc3a017a>>
-
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.
-
reporter Addresses
#342. Use Xcode generator from cmake.→ <<cset 83ba6194681e>>
-
reporter Addresses
#342. Updated documentation→ <<cset 10fb1c9f5ae9>>
-
reporter Addresses
#342. Updated appveyor.yml→ <<cset 7b65a17b359f>>
-
reporter Addresses
#342. Cannot check for default uidgenerator==nullptr when also objc tests are running.→ <<cset 16ac62baff14>>
-
reporter Addresses
#342. Corrected path to cmakelists.txt in appveyor.→ <<cset 53f70744ccbc>>
-
reporter Addresses
#342. Fixed ios simulator build.→ <<cset 3405fc8018e2>>
-
reporter Addresses
#342. LIPO should not be used to pack ios and simulator builds, a framework should be used.→ <<cset 437e6b5dee80>>
-
reporter Addresses
#342. Removed lipo from appveyor.→ <<cset dca4f93a5af9>>
-
reporter - changed title to The iosphone build on Xcode 12
-
reporter Addresses
#342. Fixed indentation in documentation regarding compilation for ios.→ <<cset a2798c809fb6>>
-
reporter Addresses
#342. Updated changes log.→ <<cset d452f6e605f0>>
-
reporter Addresses
#342. Fixed indentation in documentation regarding compilation for swift.→ <<cset b7ef41e1441d>>
-
reporter - changed title to The iosphone build fails on Xcode 12
-
reporter - changed status to resolved
Resolves
#342(The iosphone build fails on Xcode 12) as per SOP FIXBUG/2.→ <<cset a26979ebefdc>>
- Log in to comment
Addresses
#342. CMake manual recommend setting cmake_osx_sysroot before setting the project.→ <<cset 960727b39c30>>