Skip to content
This repository was archived by the owner on Dec 21, 2019. It is now read-only.
This repository was archived by the owner on Dec 21, 2019. It is now read-only.

Problem importing PyObjC in app_packages #29

@AnissaHum

Description

@AnissaHum

I am currently using the library and the associated template in an iOS app mainly written in Obj-C.
I've achieved, thanks to the template, to call Python methods from Obj-C files.
I am now trying to do the other way around : calling Obj-C functions from Python code.
I tried to use Rubicon but it doesn't seem compatible : I failed to install it with pip in app_packages folder.
Then, I tried to use PyObjc. I've successfully installed PyObjC module in app_packages thanks to pip install -t [ProjectFolder]/[ProjectName]/app_packages objc .
However, when I am trying to launch, I get the following error : ImportError: No module named _objc. Though, the library named _objc.so is available in the app_packages folder.

Is there any path to configure when using modules installed in app_packages ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions