[Interest] import sitecustomize fails 5.12.4, OSX
Jason H
jhihn at gmx.com
Tue Oct 8 17:39:11 CEST 2019
I'm stuck in XCode hell. I upgraded XCode because I needed to work with a iPhone 11 (iOS 13), which required me to install XCode 11, which created issues. I started a new project and got:
11:27:26: Starting: "/usr/bin/make" clean -j4
'import sitecustomize' failed; use -v for traceback
Traceback (most recent call last):
File "/Users/jhihn/Qt/5.12.4/ios/mkspecs/features/uikit/devices.py", line 78, in <module>
if is_suitable_runtime(runtimes, runtime_name, args.platform, args.minimum_deployment_target):
File "/Users/jhihn/Qt/5.12.4/ios/mkspecs/features/uikit/devices.py", line 53, in is_suitable_runtime
and "unavailable" not in runtime["availability"] \
KeyError: 'availability'
Not sure if 5.12.5 or 5.13 will fix?
Curiously, my old legacy app is still working though. But compilation does not stop and it gets through many of my own files until finally bombing out at:
In file included from /Users/jhihn/Projects/ios_mobile_app/ios/platformshim_ios.mm:1:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIScreen.h:12:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UITraitCollection.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIInterface.h:11:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/UIKit.framework/Headers/UIColor.h:13:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CoreImage.h:15:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/CoreImage.framework/Headers/CIImage.h:10:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CoreVideo.h:29:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBuffer.h:462:
In file included from /Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/CoreVideo.framework/Headers/CVPixelBufferIOSurface.h:26:
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS13.0.sdk/System/Library/Frameworks/IOSurface.framework/Headers/IOSurfaceRef.h:15:96: error: expected ';' after top level declarator
line 1 of platformshim_ios.mm is:
#import <UIKit/UIScreen.h>
And yes, I added the framework to LIBS
Any help is appreciated.
More information about the Interest
mailing list