beeware / Python-Apple-support

A meta-package for building a version of Python that can be embedded into a macOS, iOS, tvOS or watchOS project.
MIT License
1.11k stars 160 forks source link

I can run on my iPhone but can't successfully compiled on the simulator. #115

Closed SilverMQL closed 3 years ago

SilverMQL commented 3 years ago

Describe the bug See above.

To Reproduce 1、Download the tag 3.9-b1 —— Python-3.9-iOS-support.b1.tar.gz 2、Create a demo project , drag the unzipped files into the project, select create folder references 3、Add the necessary libraries 4、Run.

Screenshots

截屏2021-03-03 20 25 32

Environment: Xcode 12

freakboy3742 commented 3 years ago

If you're getting errors about "CoreFoundation" and "UIKit" there's something fundamentally wrong with your project. Those are base iOS libraries; they're not "modules" to be built.

I'm not sure what "Create a demo project" entails; but I suspect the issue lies there, not the support package. The Briefcase template project, for example, works fine with the published 3.9-b1 support package.

Closing on the basis that the issue appears to be in user-space, not with the support package.