[Interest] import sitecustomize fails 5.12.4, OSX

Jason H jhihn at gmx.com
Tue Oct 8 18:38:02 CEST 2019


This part is still true:
> 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?


But this part is not an issue, was due to a bad include path, ignore this part!!:
> 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



More information about the Interest mailing list