IPA is not valid doesnt include payload directory

Getting into LiveCode for iOS? Ask your questions here.

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

IPA is not valid doesnt include payload directory

Post by trags3 » Sun Jun 23, 2019 2:12 am

I get this error when I try to upload the App package to the App Store.
IPA is not valid. It doesn't include payload directory
What's up?
Tom

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Sun Jun 23, 2019 3:18 pm

I am using a macBook Air macOS Mojave 10.14.5
LC 9.0.4 build 15303
Xcode 10.1
Tom

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: IPA is not valid doesnt include payload directory

Post by richmond62 » Sun Jun 23, 2019 3:37 pm

beer.jpg
beer.jpg (3.4 KiB) Viewed 9642 times
-
Notwithstanding, your message is slightly opaque.

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Sun Jun 23, 2019 5:33 pm

Thank You Richmond,
I could use a case of those right now. I have been chasing this error message for about 5 days with little to no help from this forum, StackOverflow or Apple.

richmond62
Livecode Opensource Backer
Livecode Opensource Backer
Posts: 9249
Joined: Fri Feb 19, 2010 10:17 am
Location: Bulgaria

Re: IPA is not valid doesnt include payload directory

Post by richmond62 » Sun Jun 23, 2019 5:53 pm

Well . . . 2 ticks after reading your message I put "IPA is not valid" into Ecosia

https://www.ecosia.org/

and got this at the top of the list:

(StackOverflow, no less!)

https://stackoverflow.com/questions/267 ... -issue-ios

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Sun Jun 23, 2019 10:10 pm

Sorry Richmond,
That doesn't work either.
I built the file, Copied the info.plist to the desktop, edited the info.plist file to include the Appplication requires iPhone environment statement. I then built the app again insuring that before it was signed the corrected info.plist file was added to the package.
Same error message upon upload attempt.

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Sun Jun 23, 2019 10:36 pm

Here is my info.plist file copied from the delivery package.
Had to take screenshots.
Attachments
Screen Shot 2019-06-23 at 2.24.55 PM.png
Screen Shot 2019-06-23 at 2.25.57 PM.png

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

Re: IPA is not valid doesnt include payload directory

Post by LiveCode_Panos » Mon Jun 24, 2019 11:37 am

Hello Tom,

How did you create the .ipa file?

And what does it contain?

(you can rename the .ipa to .zip and extract the .zip to see its contents)

Kind regards,
Panos
--

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Mon Jun 24, 2019 11:44 am

Hi Panos,
With finder I located the "The Other 50.app" built by LC. Right clicked and selected "Compress", Right clicked the Zip file and clicked rename. Renamed to "The Other 50.app.zip.ipa"

Tom

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Mon Jun 24, 2019 12:06 pm

Hi Panos, Her is the contents of the zip file package.

CodeSignature Folder containing CodeResources

The ApplIcons
Assets
Attachments
Screen Shot 2019-06-24 at 3.57.52 AM.png
Screen Shot 2019-06-24 at 3.57.52 AM.png (63.6 KiB) Viewed 9551 times

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Mon Jun 24, 2019 12:10 pm

Hi Panos, here are my Standalone Settings
Attachments
Screen Shot 2019-06-24 at 4.09.00 AM.png
Screen Shot 2019-06-24 at 4.08.26 AM.png

jmburnod
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 2718
Joined: Sat Dec 22, 2007 5:35 pm
Location: Genève
Contact:

Re: IPA is not valid doesnt include payload directory

Post by jmburnod » Mon Jun 24, 2019 12:37 pm

Hi Tom,
I use AirLaunch to make an .ipa file but you may try "The Other 50.ipa" for your file name.
Best regards
Jean-Marc
https://alternatic.ch

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Mon Jun 24, 2019 12:45 pm

Hi Jean-Marc
Please tell me where to find Airlaunch.
I'll try it.
Thank Tom

trags3
Posts: 418
Joined: Wed Apr 09, 2014 1:58 am
Location: Las Vegas, NV

Re: IPA is not valid doesnt include payload directory

Post by trags3 » Mon Jun 24, 2019 12:53 pm

Tried the "The Other 50.ipa" again and get the same error message.
Thanks

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

Re: IPA is not valid doesnt include payload directory

Post by LiveCode_Panos » Mon Jun 24, 2019 1:46 pm

Hello Tom,

I do not think that creating an .ipa as you described will work.

Please follow the instructions in this lesson for creating the ipa file:

http://lessons.livecode.com/m/4069/l/33 ... -app-store

Kind regards,
Panos
--

Post Reply

Return to “iOS Deployment”