Re: pyobjc for ios

"Diez B. Roggisch" <[email protected]> Mon, 7 Oct 2019 16:36:35 +0200
Newsgroups gmane.comp.python.pyobjc.devel
Message-ID <[email protected]>
--===============4128527280276890069==
Content-Type: multipart/signed;
	boundary="Apple-Mail=_259AAB82-49DF-4634-B632-CAC6D5DA4DFB";
	protocol="application/pkcs7-signature";
	micalg=sha1


--Apple-Mail=_259AAB82-49DF-4634-B632-CAC6D5DA4DFB
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_FA5EFF41-32C4-4646-94FA-BDF4C28CA22B"


--Apple-Mail=_FA5EFF41-32C4-4646-94FA-BDF4C28CA22B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

There is the Pythonista App. It appears to have a simple solution - no =
idea if the developer is interested in sharing it:

 =
http://omz-software.com/pythonista/docs/ios/objc_util.html#module-objc_uti=
l =
<http://omz-software.com/pythonista/docs/ios/objc_util.html#module-objc_ut=
il>

Cheers,

Diez

> On 4. Oct 2019, at 16:04, Ronald Oussoren via Pyobjc-dev =
<[email protected]> wrote:
>=20
> PyObjC only works on macOS at this time. I know there are ports (of =
older versions) to iOS, but those are not part of the main project.
>=20
> A major reason for not supporting iOS is that I=E2=80=99m pretty sure =
that PyObjC does things (such as dynamically generating native code) =
that won=E2=80=99t be accepted by App Store review.
>=20
> Ronald
> =E2=80=94
>=20
> Twitter: @ronaldoussoren
> Blog: https://blog.ronaldoussoren.net/ =
<https://blog.ronaldoussoren.net/>
>=20
>> On 2 Oct 2019, at 00:42, Rami Jiossy <[email protected] =
<mailto:[email protected]>> wrote:
>>=20
>> I've got python on iOS. I wonder what it takes to get pyobjc =
installing there?=20
>> I imagine i would need to cross compile pyobjc on macos using an iOS =
sdk instead of macOS sdk (which is currently the default) and then =
install it as a module on device.
>>=20
>> Any pointers or ideas where to start?
>>=20
>> Sent from my iPhone
>>=20
>> _______________________________________________
>> Pyobjc-dev mailing list
>> [email protected] =
<mailto:[email protected]>
>> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev
>=20
> _______________________________________________
> Pyobjc-dev mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/pyobjc-dev


--Apple-Mail=_FA5EFF41-32C4-4646-94FA-BDF4C28CA22B
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html; =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; line-break: after-white-space;" class=3D"">There=
 is the Pythonista App. It appears to have a simple solution - no idea =
if the developer is interested in sharing it:<div class=3D""><br =
class=3D""></div><div class=3D"">&nbsp;<a =
href=3D"http://omz-software.com/pythonista/docs/ios/objc_util.html#module-=
objc_util" =
class=3D"">http://omz-software.com/pythonista/docs/ios/objc_util.html#modu=
le-objc_util</a></div><div class=3D""><br class=3D""></div><div =
class=3D"">Cheers,</div><div class=3D""><br class=3D""></div><div =
class=3D"">Diez<br class=3D""><div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D"">On 4. Oct 2019, at 16:04, =
Ronald Oussoren via Pyobjc-dev &lt;<a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a>&gt; wrote:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"auto" =
style=3D"word-wrap: break-word; -webkit-nbsp-mode: space; line-break: =
after-white-space;" class=3D""><meta http-equiv=3D"Content-Type" =
content=3D"text/html; charset=3Dutf-8" class=3D""><div style=3D"word-wrap:=
 break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" =
class=3D"">PyObjC only works on macOS at this time. I know there are =
ports (of older versions) to iOS, but those are not part of the main =
project.<div class=3D""><br class=3D""></div><div class=3D"">A major =
reason for not supporting iOS is that I=E2=80=99m pretty sure that =
PyObjC does things (such as dynamically generating native code) that =
won=E2=80=99t be accepted by App Store review.<br class=3D""><div =
class=3D""><br class=3D""></div><div class=3D"">Ronald<br class=3D""><div =
class=3D"">
<div style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration: =
none;" class=3D"">=E2=80=94</div><div style=3D"caret-color: rgb(0, 0, =
0); font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D""><br class=3D""></div><div =
style=3D"caret-color: rgb(0, 0, 0); font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant-caps: normal; font-weight: =
normal; letter-spacing: normal; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; word-spacing: 0px; =
-webkit-text-stroke-width: 0px; text-decoration: none;" =
class=3D"">Twitter: @ronaldoussoren</div><div style=3D"caret-color: =
rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: =
normal; font-variant-caps: normal; font-weight: normal; letter-spacing: =
normal; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
text-decoration: none;" class=3D"">Blog: <a =
href=3D"https://blog.ronaldoussoren.net/" =
class=3D"">https://blog.ronaldoussoren.net/</a></div>
</div>
<div class=3D""><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">On 2 Oct 2019, at 00:42, Rami Jiossy &lt;<a =
href=3D"mailto:[email protected]" class=3D"">[email protected]</a>&gt; =
wrote:</div><br class=3D"Apple-interchange-newline"><div class=3D""><div =
class=3D"">I've got python on iOS. I wonder what it takes to get pyobjc =
installing there? <br class=3D"">I imagine i would need to cross compile =
pyobjc on macos using an iOS sdk instead of macOS sdk (which is =
currently the default) and then install it as a module on device.<br =
class=3D""><br class=3D"">Any pointers or ideas where to start?<br =
class=3D""><br class=3D"">Sent from my iPhone<br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">Pyobjc-dev mailing list<br class=3D""><a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a><br class=3D""><a =
href=3D"https://lists.sourceforge.net/lists/listinfo/pyobjc-dev" =
class=3D"">https://lists.sourceforge.net/lists/listinfo/pyobjc-dev</a><br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></div></div></div>
_______________________________________________<br class=3D"">Pyobjc-dev =
mailing list<br class=3D""><a =
href=3D"mailto:[email protected]" =
class=3D"">[email protected]</a><br =
class=3D"">https://lists.sourceforge.net/lists/listinfo/pyobjc-dev<br =
class=3D""></div></blockquote></div><br class=3D""></div></body></html>=

--Apple-Mail=_FA5EFF41-32C4-4646-94FA-BDF4C28CA22B--

--Apple-Mail=_259AAB82-49DF-4634-B632-CAC6D5DA4DFB
Content-Disposition: attachment;
	filename=smime.p7s
Content-Type: application/pkcs7-signature;
	name=smime.p7s
Content-Transfer-Encoding: base64

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIJ1zCCBNMw
ggO7oAMCAQICEGba7wPbhGGRayW6g/sXThMwDQYJKoZIhvcNAQELBQAwfjELMAkGA1UEBhMCUEwx
IjAgBgNVBAoTGVVuaXpldG8gVGVjaG5vbG9naWVzIFMuQS4xJzAlBgNVBAsTHkNlcnR1bSBDZXJ0
aWZpY2F0aW9uIEF1dGhvcml0eTEiMCAGA1UEAxMZQ2VydHVtIFRydXN0ZWQgTmV0d29yayBDQTAe
Fw0xNTA0MjExMjQ1MjZaFw0yNzA2MDkxMjQ1MjZaMIGKMQswCQYDVQQGEwJQTDEiMCAGA1UECgwZ
VW5pemV0byBUZWNobm9sb2dpZXMgUy5BLjEnMCUGA1UECwweQ2VydHVtIENlcnRpZmljYXRpb24g
QXV0aG9yaXR5MS4wLAYDVQQDDCVDZXJ0dW0gRGlnaXRhbCBJZGVudGlmaWNhdGlvbiBDQSBTSEEy
MII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Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline


--===============4128527280276890069==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Pyobjc-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pyobjc-dev

--===============4128527280276890069==--