Open psvdwal opened 1 year ago
Hi
The linker (ld64.exe) needs to be updated for this, we've got a version that you can download from the below link: https://transfer.harman.com/link/Brh2YO2NAELPL99TZbgimo If you unzip that and copy the files over the ones in the AIR SDK "lib/aot/bin/ld64" folder it should then work..
thanks
Hi Andrew,
That solved the problem. Thanks!
Best,
Piet
From: Andrew Frost @.> Sent: Tuesday, October 24, 2023 6:14 PM To: airsdk/Adobe-Runtime-Support @.> Cc: Piet van der Wal @.>; Author @.> Subject: Re: [airsdk/Adobe-Runtime-Support] platform_version error when compiling for iOS using SDK 50.2.3.6 (Issue #2885)
Hi
The linker (ld64.exe) needs to be updated for this, we've got a version that you can download from the below link: https://transfer.harman.com/link/Brh2YO2NAELPL99TZbgimo If you unzip that and copy the files over the ones in the AIR SDK "lib/aot/bin/ld64" folder it should then work..
thanks
— Reply to this email directly, view it on GitHub https://github.com/airsdk/Adobe-Runtime-Support/issues/2885#issuecomment-1777574005 , or unsubscribe https://github.com/notifications/unsubscribe-auth/ABZ3S3ETESO436BQITP3CCLYA7SMVAVCNFSM6AAAAAA6N3YAMOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONZXGU3TIMBQGU . You are receiving this because you authored the thread. https://github.com/notifications/beacon/ABZ3S3GRH7W3KT7BGN4RWLTYA7SMVA5CNFSM6AAAAAA6N3YAMOWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTJ6OQHK.gif Message ID: @. @.> >
Hi Andrew,
I've updated the ld64 using your package (working successfully, but I still need to select the specific -platformsdk for iOS to make it work). However, checking the debug logs, when the lb64 is invoked, it's targeting an older 16.4 platform_version like this "-platform_version ios 14.0 16.4". Can this be updated? Can any parameter in the application descriptor or ADT be passed?
Best
but I still need to select the specific -platformsdk for iOS to make it work
Ah, I think on iOS the ADT tool is still using the default system ld
command which would be why you get problems with Xcode 15 unless using the direct iPhoneOS SDK... that will change soon!
The commands passed to the linker are based on the ADT settings, and the build set-up that we used for the release (see section 2.2.3 in the release notes). So for that version:
I think the better way would for us to change the SDK version if it's not using our stubs, so that it just picked up the details from the -platformsdk
path. If that's actually possible, we would have to check (although you may have seen a warning if you're using an SDK that doesn't end in the version code, so we maybe could use that same mechanism..)
There may be some odd effects though if we allowed completely free reign over whatever values were going to be passed in there..
@ajwfrost
The linker (ld64.exe) needs to be updated for this, we've got a version that you can download from the below link:
https://transfer.harman.com/link/Brh2YO2NAELPL99TZbgimo
Does it mean that I can continue build .ipa releases on my Windows PC?
Yes, with this new linker, you can continue with IPA creation on Windows even with libraries that were created using Xcode 14. With a lot of thanks to the clever people at LLVM!
I tried to compile an existing actionscript project for iOS, using AIR SDK version 50.2.3.6 and got the error message: "Error creating files. Id: Unknown option: -platform_version. Compilation failed while executing: Id64."
The same actionscript project compiles successfully when using AIR SDK version 50.2.2.2 for iOS.
I use no external ane's. Just plain actionscript code.
Any suggestion what's wrong? Kind regards, Piet van der Wal