[Scummvm-tracker] [ScummVM :: Bugs] #12647: iOS port compiling incorrectly

ScummVM :: Bugs trac at scummvm.org
Thu Aug 12 00:10:23 UTC 2021


#12647: iOS port compiling incorrectly
----------------------------+------------------------
Reporter:  thevolumeremote  |       Owner:  (none)
    Type:  defect           |      Status:  new
Priority:  normal           |   Component:  Port: iOS
 Version:                   |  Resolution:
Keywords:  iOS              |        Game:
----------------------------+------------------------
Comment (by criezy):

 I tried building ScummVM for iOS with Xcode today, and while the
 compilation worked, it indeed failed to install it. It was complaining
 that it could not find the executable.

 I tracked the issue to https://github.com/scummvm/scummvm/commit/0ff00cca2
 I tested that in my case if I change back the `CFBundleExecutable` from
 `ScummVM` to `$(EXECUTABLE_NAME)` I can then generate a working build with
 Xcode.

 I suspect that it would work if I used `scummvm` (all lower case) as well.
 Indeed when compiling with Xcode the executable generated is `scummvm`
 (all lower case).

 When compiling with the command line however (for example the daily builds
 on https://buildbot.scummvm.org), the executable is renamed to ScummVM. So
 I cannot just blindly change the `Info.plist`. And I guess there was a
 reason to not use `$(EXECUTABLE_NAME)` (I am guessing it doesn't work when
 compiling on the command line).

 I will experiment a bit but I think one solution will be to generate a all
 lower case `scummvm` executable both with Xcode and the command line, and
 change the `Info.plist` to use also lower case `scummvm`.

 @thevolumeremote can you please try changing the Info.plist to add back
 `$(EXECUTABLE_NAME)` (partial revert of the changed I linked above) to
 confirm that the issue you see is the same one I found?
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/12647#comment:3>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list