Xcode invalid zip file - xcode

I am uploading my Xcode .zip file to https://www.diawi.com and when I upload it, it says:
An error occurred:
4001003: Invalid .ipa file: content couldn't be read, doesn't seem to be a valid zip-compressed file (za9)
My zip file consists of:
Why is it invalid? (I compressed it by Ctrl-Click and compress)

My zip file consists of:
Well, that's wrong. They want your built .ipa file, not your source code.
I compressed it by Ctrl-Click and compress
An .ipa file is a zip-compressed file. You don't need to zip it again.

Related

Install not adding all Content files

I have some xml files I want to distribute with the project. The Build Action is set to Content and the Copy to Output Directory is set to Copy always. When I publish, I see all the xml files in my content folder; however, when I install using ClickOnce, these files are missing. What am I missing?
The problem was in the project settings->Publish->Application Files... the xml files under Publish Status must be changed from Data File(Auto) to Include.

Is it possible to convert a BAK type app to a APK type app on smartface?

An app I created using Smartface is a .bak type file.Is it possible to convert a .bak app to an .apk app so it can be tested as most mobile app testing sites don't allow a .bak type file app to be tested.
I've tried converting it to .bar and then converting it to .apk however it wasn't successful.
Thankyou
Actually Smartface creates .apk or .zip files as output. The .bak file you mentioned should be the backup file of the project itself.
When you open and modify a project in Smartface IDE it automatically creates .bak file of the project file.

How to put resources into ready .apk?

How to put resources into ready .apk ?
I created an apk program that read text from .txt file in res/raw.
And load image from assets.
When i open apk with winrar and replace images or .txt
, apk file not install.
Eclipse error : the file *.txt have not certificate.
I have the project of apk and cert key.
Now the question is :
What can i do that apk file install after change resources?
Just build apk again with resource included.
BTW, you file should be in assets folder.

How do you generate a Info.plist in Xcode since it is not able to find out?

How do you generate an Info.plist in Xcode because I am getting the following error when I build my project?
error: could not read data from '../dists/xcode/Info.plist': The file “Info.plist” couldn’t be opened because there is no such file.
What should I do?
Thanks!
Sounds like your Info.plist file is merely lost.
Search through your project to see if there is any file with the name "Info.plist", or has "Info.plist" as part of the name (e.g. "TopNotchCoderProjectInfo.plist").
Once you find it, you can either reset your project settings to use the correct Info.plist file -- the path to this specific file can be entered into the Project settings:
Also, make certain the plist file exists in the list of files and folders in your project (and that it isn't "red", which is Xcode's way of telling you it's missing).

Non-ASCII filenames mangled in deployment package

I deploy my VS2010 MVC3 project using "Build Deployment Package". The problem is that a couple of files have national (Swedish) characters ÅÄÖ in their filenames, and the deployment package gets these filenames wrong.
For example "Köpvillkor.pdf" becomes "K+Âpvillkor.pdf". The file has the right name in the unzipped "PackageTmp" folder, but inside the "<projname>-<version>.zip" file the filename is mangled, so it seems the problem lies in the way the package is zipped, i.e. it gets an UTF-8 encoded filename from the file system but stores it without conversion as ASCII or WIN1252 or some such inside the zip.
Is there any way to fix this?
If you use IIS to import the deployment package zip file, the filenames will be converted back to the proper encoding.
Unfortunately Winzip, 7-zip and even Windows Explorer Zip extension don't understand the filenames encoding, manual deployment is not possible.
I found today that you can uncheck "Create deployment package as a zip file" and then zip it manually. I use WinZip to zip it manually, and the non-ASCII characters are correctly preserved.

Resources