Hi,
I am trying to build my Pythonista application as a native application using Xcode with a template I found in the forum: https://forum.omz-software.com/topic/5837/xcode-template
The application runs fine in the simulator, but when deploying to my iPhone and trying to run I get the following error:
dyld: Library not loaded: @rpath/Py3Kit.framework/Py3Kit
Referenced from: /private/var/containers/Bundle/Application/C3B68B84-724C-4384-8C42-25246D4698BD/Weather MQTT.app/Weather MQTT
Reason: no suitable image found. Did find:
/private/var/containers/Bundle/Application/C3B68B84-724C-4384-8C42-25246D4698BD/Weather MQTT.app/Frameworks/Py3Kit.framework/Py3Kit: code signature invalid for '/private/var/containers/Bundle/Application/C3B68B84-724C-4384-8C42-25246D4698BD/Weather MQTT.app/Frameworks/Py3Kit.framework/Py3Kit'
/private/var/containers/Bundle/Application/C3B68B84-724C-4384-8C42-25246D4698BD/Weather MQTT.app/Frameworks/Py3Kit.framework/Py3Kit: stat() failed with errno=25
In Xcode I have under Build Phases > Link Binary With Libraries the Py3Kit.framework and i also have it under Build Phases > Embed with a destination value of Frameworks.
Does anyone have any ideas why it is complaining on the path or the code signature?
Thanks