Asset validation failed (90502) - Solved

Got a LiveCode personal license? Are you a beginner, hobbyist or educator that's new to LiveCode? This forum is the place to go for help getting started. Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller

Post Reply
DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Asset validation failed (90502) - Solved

Post by DR White » Wed Apr 12, 2023 10:31 am

I have researched as best I can and I don't know what this means or how to fix it. It is the last error that is keeping me from publishing my app in the App Store. Any help will be appreciated.
Asset validation failed (90502)
Invalid Bundle. Your binary, 'com.DavidRwhite.PLCSim2', has a 64-bit architecture slice, so you must include the "arm64" value for the UIRequiredDeviceCapabilities key in your Xcode project. Learn more (https://developer.apple.com/library/con ... 009252-SW3). (ID: d011501b-b098-4033-8543-d47b64618d0a)
Thanks,

David
Last edited by DR White on Wed Apr 12, 2023 4:47 pm, edited 1 time in total.

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Asset validation failed (90502)

Post by LiveCode_Panos » Wed Apr 12, 2023 12:41 pm

Hello David,

Could you try setting the minimum version to "iOS 11 or later" in the iOS settings? This will hopefully fix the issue.

In the next release we will fix this for older minimum versions as well.

Kind regards,
Panos
--

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 1:01 pm

Panos,

Thank you for you assistance.

I set the build for 11.0 or latter, but I get the the error.

Thanks,

David

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Asset validation failed (90502)

Post by LiveCode_Panos » Wed Apr 12, 2023 1:27 pm

Hello David,

Are you using a custom plist in Copy Files? If yes, did you remove it before building the new standalone?

Could you send me the latest .ipa you submitted, which has the min version set to 11.0 but still causes the same error? (You can send it to panos.merakos@livecode.com)

Kind regards,
Panos
--

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 2:27 pm

Panos,

I don't know how to use a custom plist.

I will send you my .ipa with min version set to 11.0.

Thank you for your fast support,

David

Klaus
Posts: 14191
Joined: Sat Apr 08, 2006 8:41 am
Contact:

Re: Asset validation failed (90502)

Post by Klaus » Wed Apr 12, 2023 2:42 pm

Hi David,
DR White wrote:
Wed Apr 12, 2023 2:27 pm
...
I don't know how to use a custom plist.
...
Open your iOS app (right-click -> "show contents") and copy the Info.plist file to any folder,
preferrably the one containing your LC file you create the app from.

Modify that file to your needs with a text editor, I use BBEdit, I had to modify the reason why my app needs to use the camera.
Save it and add that modified file to your app via "Copy files..." in the Standalone Application Settings.
Then LC will use THIS modified file instead of the generic one that LC supplies when creating the runtime.

Hope that helps!

Best

Klaus

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Asset validation failed (90502)

Post by LiveCode_Panos » Wed Apr 12, 2023 2:53 pm

Dear David,

Thank you for the .ipa file.

I have inspected the plist of the app bundle and indeed, it does include the required key-value pair:

<key>UIRequiredDeviceCapabilities</key>
<dict>
<key>arm64</key><true/>
</dict>

So, you should not get this error. Are you sure you got the *same* error, as the one before setting the min iOS version to 11?

Kind regards,
Panos
--

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Asset validation failed (90502)

Post by LiveCode_Panos » Wed Apr 12, 2023 3:07 pm

Hello David,

Also, the .ipa you sent looks to be signed with a Dev provisioning profile, so Transporter would not allow you to upload it to the app store.

Could it be the case you accidentally tried to upload the "previous" .ipa again - and thus you got the same error?

Kind regards,
Panos
--

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 3:43 pm

I am sorry!!!

I forgot that I was testing with the Development Profile.

Let me change to Distribution Profile with 11.0 and transport it again.

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 4:01 pm

I sent DISTRIBUTION .ipa with min version set to 11.0 using macOS Ventura.

I got 4 errors.

Thank you for your help,

David

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 4:20 pm

Klaus,

Thank you for info on plist.

David
Last edited by DR White on Wed Apr 12, 2023 4:22 pm, edited 1 time in total.

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 4:22 pm

Panos,

I sent you the distribution .ipa using builder 11.0.

Thank you,

David

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Asset validation failed (90502)

Post by LiveCode_Panos » Wed Apr 12, 2023 4:22 pm

Hello David,

These 4 new errors seem to be related to missing icons. Have you added these icons in the iOS standalone settings? If yes, it might be worth removing them and re-adding them (as they may point to absolute paths that are no longer valid), and also make sure they have no accented characters anywhere in their filepath.

Kind regards,
Panos
--

DR White
Posts: 718
Joined: Fri Aug 23, 2013 12:29 pm

Re: Asset validation failed (90502)

Post by DR White » Wed Apr 12, 2023 4:47 pm

Panos,

WOW!!!! It worked!! :D
It's in the store!!

I reloaded all the icons and made another .ipa using 11.0 and this time
it went up to the Apple Store!!

I had just loaded the icons into LC Standalone section this morning.
I don't know why it didn't work this morning when you first asked me to
try 11.0.

I really was thinking that Ventura was incapable of making a successful ipa.

I am forever grateful for your time and helping me,

David

LiveCode_Panos
Livecode Staff Member
Livecode Staff Member
Posts: 864
Joined: Fri Feb 06, 2015 4:03 pm

Re: Asset validation failed (90502) - Solved

Post by LiveCode_Panos » Wed Apr 12, 2023 4:58 pm

Yay :)

Well done David, I am glad this helped.

Kind regards,
Panos
--

Post Reply