Has anyone successfully compiled python for iOS 11? I tried with 3.5.2 and 
3.6.2 and got the following errors:


turin:Python-3.6.2 patrick$ make
Makefile:9845: warning: overriding commands for target `.obj/_pickle.o'
Makefile:8855: warning: ignoring old commands for target `.obj/_pickle.o'
/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang
 -c -pipe -fwrapv -std=c99 -g -fPIC  -arch arm64  -arch x86_64 -Xarch_arm64 
-miphoneos-version-min=8.0 -Xarch_arm64 
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk
 -Xarch_x86_64 -mios-simulator-version-min=8.0 -Xarch_x86_64 
-isysroot/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator11.0.sdk
 -fobjc-nonfragile-abi -fobjc-legacy-dispatch -w -fembed-bitcode-marker 
-DQT_COMPILER_SUPPORTS_SSE2 -DNDEBUG -DPy_BUILD_CORE -DVERSION=\"3.6\" 
-DVPATH=\".\" -DPREFIX=\"/\" -DEXEC_PREFIX=\"/\" 
-DPYTHONPATH=\"/lib/python3.6\" -DPLATFORM=\"linux\" -I. 
-I../../../pyqt-sysroot-base/src/qt5/qtbase/mkspecs/common/uikit -I. -IInclude 
-I../../../pyqt-sysroot-base/src/qt5/qtbase/mkspecs/macx-ios-clang -o 
.obj/_scproxy.o Modules/_scproxy.c
Modules/_scproxy.c:65:17: error: 'SCDynamicStoreCopyProxies' is unavailable: 
not available on iOS
    proxyDict = SCDynamicStoreCopyProxies(NULL);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreCopySpecific.h:210:1:
 note: 
      'SCDynamicStoreCopyProxies' has been explicitly marked unavailable here
SCDynamicStoreCopyProxies               (
^
Modules/_scproxy.c:75:9: error: 'kSCPropNetProxiesExcludeSimpleHostnames' is 
unavailable: not available on iOS
        kSCPropNetProxiesExcludeSimpleHostnames);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1992:49:
 note: 
      expanded from macro 'kSCPropNetProxiesExcludeSimpleHostnames'
#define kSCPropNetProxiesExcludeSimpleHostnames 
kSCPropNetProxiesExcludeSimpleHostnames
                                                ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1991:26:
 note: 
      'kSCPropNetProxiesExcludeSimpleHostnames' has been explicitly marked 
unavailable here
extern const CFStringRef kSCPropNetProxiesExcludeSimpleHostnames            
__OSX_AVAILABLE_STARTING(__MAC_10_4,__IPHONE_NA);
                         ^
Modules/_scproxy.c:89:21: error: 'kSCPropNetProxiesExceptionsList' is 
unavailable: not available on iOS
                    kSCPropNetProxiesExceptionsList);
                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1985:41:
 note: 
      expanded from macro 'kSCPropNetProxiesExceptionsList'
#define kSCPropNetProxiesExceptionsList kSCPropNetProxiesExceptionsList
                                        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1984:26:
 note: 
      'kSCPropNetProxiesExceptionsList' has been explicitly marked unavailable 
here
extern const CFStringRef kSCPropNetProxiesExceptionsList                    
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:176:17: error: 'SCDynamicStoreCopyProxies' is unavailable: 
not available on iOS
    proxyDict = SCDynamicStoreCopyProxies(NULL);
                ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCDynamicStoreCopySpecific.h:210:1:
 note: 
      'SCDynamicStoreCopyProxies' has been explicitly marked unavailable here
SCDynamicStoreCopyProxies               (
^
Modules/_scproxy.c:185:9: error: 'kSCPropNetProxiesHTTPEnable' is unavailable: 
not available on iOS
        kSCPropNetProxiesHTTPEnable,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2048:37:
 note: 
      expanded from macro 'kSCPropNetProxiesHTTPEnable'
#define kSCPropNetProxiesHTTPEnable kSCPropNetProxiesHTTPEnable
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2047:26:
 note: 
      'kSCPropNetProxiesHTTPEnable' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesHTTPEnable                        
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:186:9: error: 'kSCPropNetProxiesHTTPProxy' is unavailable: 
not available on iOS
        kSCPropNetProxiesHTTPProxy,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2062:36:
 note: 
      expanded from macro 'kSCPropNetProxiesHTTPProxy'
#define kSCPropNetProxiesHTTPProxy kSCPropNetProxiesHTTPProxy
                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2061:26:
 note: 
      'kSCPropNetProxiesHTTPProxy' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesHTTPProxy                         
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:187:9: error: 'kSCPropNetProxiesHTTPPort' is unavailable: 
not available on iOS
        kSCPropNetProxiesHTTPPort);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2055:35:
 note: 
      expanded from macro 'kSCPropNetProxiesHTTPPort'
#define kSCPropNetProxiesHTTPPort kSCPropNetProxiesHTTPPort
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2054:26:
 note: 
      'kSCPropNetProxiesHTTPPort' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesHTTPPort                          
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:190:9: error: 'kSCPropNetProxiesHTTPSEnable' is unavailable: 
not available on iOS
        kSCPropNetProxiesHTTPSEnable,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2069:38:
 note: 
      expanded from macro 'kSCPropNetProxiesHTTPSEnable'
#define kSCPropNetProxiesHTTPSEnable kSCPropNetProxiesHTTPSEnable
                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2068:26:
 note: 
      'kSCPropNetProxiesHTTPSEnable' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesHTTPSEnable                       
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:191:9: error: 'kSCPropNetProxiesHTTPSProxy' is unavailable: 
not available on iOS
        kSCPropNetProxiesHTTPSProxy,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2083:37:
 note: 
      expanded from macro 'kSCPropNetProxiesHTTPSProxy'
#define kSCPropNetProxiesHTTPSProxy kSCPropNetProxiesHTTPSProxy
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2082:26:
 note: 
      'kSCPropNetProxiesHTTPSProxy' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesHTTPSProxy                        
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:192:9: error: 'kSCPropNetProxiesHTTPSPort' is unavailable: 
not available on iOS
        kSCPropNetProxiesHTTPSPort);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2076:36:
 note: 
      expanded from macro 'kSCPropNetProxiesHTTPSPort'
#define kSCPropNetProxiesHTTPSPort kSCPropNetProxiesHTTPSPort
                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2075:26:
 note: 
      'kSCPropNetProxiesHTTPSPort' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesHTTPSPort                         
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:195:9: error: 'kSCPropNetProxiesFTPEnable' is unavailable: 
not available on iOS
        kSCPropNetProxiesFTPEnable,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1999:36:
 note: 
      expanded from macro 'kSCPropNetProxiesFTPEnable'
#define kSCPropNetProxiesFTPEnable kSCPropNetProxiesFTPEnable
                                   ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:1998:26:
 note: 
      'kSCPropNetProxiesFTPEnable' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesFTPEnable                         
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:196:9: error: 'kSCPropNetProxiesFTPProxy' is unavailable: 
not available on iOS
        kSCPropNetProxiesFTPProxy,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2020:35:
 note: 
      expanded from macro 'kSCPropNetProxiesFTPProxy'
#define kSCPropNetProxiesFTPProxy kSCPropNetProxiesFTPProxy
                                  ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2019:26:
 note: 
      'kSCPropNetProxiesFTPProxy' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesFTPProxy                          
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:197:9: error: 'kSCPropNetProxiesFTPPort' is unavailable: not 
available on iOS
        kSCPropNetProxiesFTPPort);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2013:34:
 note: 
      expanded from macro 'kSCPropNetProxiesFTPPort'
#define kSCPropNetProxiesFTPPort kSCPropNetProxiesFTPPort
                                 ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2012:26:
 note: 
      'kSCPropNetProxiesFTPPort' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesFTPPort                           
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:200:9: error: 'kSCPropNetProxiesGopherEnable' is 
unavailable: not available on iOS
        kSCPropNetProxiesGopherEnable,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2027:39:
 note: 
      expanded from macro 'kSCPropNetProxiesGopherEnable'
#define kSCPropNetProxiesGopherEnable kSCPropNetProxiesGopherEnable
                                      ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2026:26:
 note: 
      'kSCPropNetProxiesGopherEnable' has been explicitly marked unavailable 
here
extern const CFStringRef kSCPropNetProxiesGopherEnable                      
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:201:9: error: 'kSCPropNetProxiesGopherProxy' is unavailable: 
not available on iOS
        kSCPropNetProxiesGopherProxy,
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2041:38:
 note: 
      expanded from macro 'kSCPropNetProxiesGopherProxy'
#define kSCPropNetProxiesGopherProxy kSCPropNetProxiesGopherProxy
                                     ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2040:26:
 note: 
      'kSCPropNetProxiesGopherProxy' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesGopherProxy                       
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
Modules/_scproxy.c:202:9: error: 'kSCPropNetProxiesGopherPort' is unavailable: 
not available on iOS
        kSCPropNetProxiesGopherPort);
        ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2034:37:
 note: 
      expanded from macro 'kSCPropNetProxiesGopherPort'
#define kSCPropNetProxiesGopherPort kSCPropNetProxiesGopherPort
                                    ^
/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.0.sdk/System/Library/Frameworks/SystemConfiguration.framework/Headers/SCSchemaDefinitions.h:2033:26:
 note: 
      'kSCPropNetProxiesGopherPort' has been explicitly marked unavailable here
extern const CFStringRef kSCPropNetProxiesGopherPort                        
__OSX_AVAILABLE_STARTING(__MAC_10_1,__IPHONE_NA);
                         ^
16 errors generated.
make: *** [.obj/_scproxy.o] Error 1
turin:Python-3.6.2 patrick$ 
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to