defold / defold

Defold is a completely free to use game engine for development of desktop, mobile and web games.
https://www.defold.com
Other
4.24k stars 300 forks source link

Make it possible to bundle for iOS platform on windows/linux machine skipping steps can't be done (like signing) #3331

Open britzl opened 5 years ago

britzl commented 5 years ago

There's no reason we cannot at least bundle the .ipa for our users. We cannot sign yet, but that's another ticket.

We need to be able to lipo the executables together though.

Also, we'd like to be able to skip code signing from the UI, but that's step 2 2018-11-16 17:58:32 (M.Westerdahl) Some info for building lipo: (LINK REMOVED) 2019-01-10 18:20:09 (M.Westerdahl) How I built the cross platform tools: [(LINK REMOVED)[(LINK REMOVED) 2019-01-11 12:23:00 (M.Westerdahl) If we can't get the "security" app on windows, perhaps we can use openssl:

Possibly use this repo to build these packages: (LINK REMOVED)

britzl commented 1 year ago

We need to be able to lipo the executables together though

Lipo alternative for macOS, Windows and Linux: https://github.com/konoui/lipo

If we can't get the "security" app on windows, perhaps we can use openssl

But this is only needed when we sign the IPA, isn't it? The security cms -D -i embedded.mobileprovision -o mobileprovision.plist command decodes the embedded.mobileprovision into plist/text format. And the decodedmobileprovision.plist is used when signing the app.

AGulev commented 1 year ago

Also apple tools https://github.com/apple-oss-distributions/cctools

JCash commented 1 year ago

Currently, we don't support more than 1 architecture, and the code itself already supports skipping signing (it has for a long time since 2019-04-23).

So we have two options I think. 1) Close this issue as it's no longer valid 2) Rename it to reflect what we want as a next step (lipo for all desktop platforms)

I vote #1, to keep them apart.

AGulev commented 1 year ago

This issue is mostly about an ability to build iOS IPA on Windows without signing (and then sign it on Mac for example). In this case it's not only Lipo, but also packing, and some other mac specific steps (I don't remember for sure, but there are a few macOS specific commands in the iOS bundler)

JCash commented 1 year ago

Then the task is still name a bit poorly, since the code signing already is optional.

I think this tasks should be renamed, and further specified as to what steps exactly are required to be done.

AGulev commented 1 year ago

@JCash I've just changed the task name