I have a problem when I try to set the language of the IPA.
My App is in French but only English is added in the generated IPA. I do not kwnow how to change this.
I use visual studio with Cordova tools.
I have tried to add a locales folder but it changes nothing...
Do you have an idea of what I need to do in order to add French to the IPA?
Thanks for your help.
You would need to specify that in your Info.plist file. You are able to supply a custom Info.plist with your build.
In your .plist file you will then be able to specify the localization as follows:
<key>CFBundleLocalizations</key>
<array>
<string>English</string>
<string>French</string>
</array>
To find out more adding custom configuration files, please have a look at MSDN's Platform-specific configuration files
Related
I am developing an IOS application through an enterprise account. This application will be set on a specific website to be downloaded.
I archived the application from Xcode, and got the ipa file, but I still need the plist file.
Any idea how to get it?
You need to check mark option include manifiest file while creating ipa.So xcode will generate file for you. Otherwise you can get plist file from internet and edit according to your application
Honestly i didn't get your question but if you want to access .plist file after archiving. You have to
Unarchive your iPA file.
It will create a "Payload" folder, inside it you will find .app file.
Right click on it, "Show package contents" and you can see your plist file.
I am new to HTML5 development and I am building a simple cordova app. In IOS when you click a text and press long press you will see the following options.
Copy
Select All
Define
Share...
Is there a way to translate this words.
I changed the language of the phone but the above options are not translating.
Can anyone help me. Thank you.
You can add other languages to your project adding this on the info.plit (with a plugin or a hook)
<key>CFBundleLocalizations</key>
<array>
<string>es</string>
<string>fr</string>
<string>...</string>
</array>
or if you just support one language, you can just change English here for another language
<key>CFBundleDevelopmentRegion</key>
<string>English</string>
There is an existing plugin to write on the info.plist
https://www.npmjs.com/package/cordova-custom-config
You can use it or use your own plugin that just a config-file tag to add that lines
http://cordova.apache.org/docs/en/latest/plugin_ref/spec.html#config-file
Is it possible to rename the Info.plist files that are created for compiled storyboards? We are having an issue with uploading IPA files to our MDM solution when there is more than one Info.plist present in the IPA file. Until they can resolve the issue on their end, the recommended solution is to rename the Info.plist files created in the compiled storyboards. Is this possible?
Try to change Protect settings->target->build settings->Packaging->Info.plist file
I developed a game with libgdx. I already published it to the play store and want to publish it also to the apple store.
Since I want the game to be only available for iPhones I need (or at least I think I need) to package a iPhone-Only binary with robovm...Now it creates only the universal binary which I can't use because the app is not optimized for ipads.
How can I achieve that? Thanks for any hints in advance.
Manuel
You need to change the UIDeviceFamily section in your Info.plist.xml file to only include <integer>1</integer>:
<key>UIDeviceFamily</key>
<array>
<integer>1</integer>
</array>
Just go to you Target settings and change the "Devices" under "Deployment Info" from "Universal" to "iPhone"
I want to be able to run a script on an iOS ipa that checks a particular field in the embedded.mobileprovision file (it's in xml), e.g. the application-identifier, which appears like this:
<key>Entitlements</key>
<dict>
<key>application-identifier</key>
<string>ABCDEFGHIJ.com.someCompany.someappID</string>
<key>get-task-allow</key>
<false/>
<key>keychain-access-groups</key>
<array>
<string>ABCDEFGHIJ.*</string>
</array>
</dict>
So I would want the script to output that field for me like this:
ABCDEFGHIJ.com.someCompany.someappID
Consider that I don't want to do anything to the original ipa except copy it and then check the copy.
The manual process that needs automation:
Copy ipa
Change ipa copy's extension to .zip
Unzip (a Payload directory is then created)
Open Payload directory
Right click on the .app in the directory and select 'Show Package Contents'.
Open embedded.mobileprovision
Search for the application identifier and check it
As the responder above noted, the tools to do this are very old - meaning not that you should know about them, but that some google searches will reveal mountains of information.
The IPA is a zip. Unzip it.
Find the file within that you care about. It's a very obvious path.
Use grep or some other tool to get the line you want.
etc.
What about cp, mv, unzip,cd,grep? :)