How to get .apk file's icon in ios? - ios

For now, I can read a .apk file from sandbox in my iOS Project, but I want to show more detailed information about this Android package file, like the package name or icon in UITableView. How can I access this information to make my model?

.apk file is a zip archive and its manifest file will be in binary format. If you extract the apk file and read its manifest file from binary format, you can read package information, permissions and icon name(which will be located in drawable folder).
In Android platform, there are API's to read package information of apk files. In IOS they are not available.

Related

How to download and install iXGuard for iOS apps?

There is no any document for working with iXGuard.
How to download?
How to install?
How to working with it?
I have searched in website but not find any guid.
https://www.guardsquare.com/en/blog/ixguard-30-released
You need to request your quotation first before start using iXGuard, after you enroll they will give you access to guardsquare dashboard, And you can download iXGuard package (Documentation include on package)
Here is a small post be me - Getting Started with iXGuard — an obfuscation & app shrinking tool.
In this Tutorial, you’ll learn how to implement iXGuard in iOS project and how to strip down your app size by making use of iXGuard — an app shrinking and obfuscation tool. This is a step by step process tutorial for installing iXGuard. Let me know of any issues. I have briefly explained the process below.
It is not possible to write or explain the whole tutorial with images in the stackoveflow answer so a link is provided.
Installing iXGuard
Install iXGuard for your version of Xcode using the standard procedure of installing a package file.
Create an IPA using Xcode
1) Create a file for distribution with Product -> Archive in Xcode
2) Select the archive created in Organizer and select Distribute App.
3) Select iOS App Store then Next
4) Select Export and click Next.
5) Include bitcode for iOS content and Upload your app’s symbols to receive symbolicated reports from Apple After checking the items click Next
6) After setting the certificate related settings, export and save
Create ixguard.yml
a. The file may be different for each app. For details, please refer to the Configuration page of iXGuard.
b. From the folder where the exported ipa file is located to the terminal
ixguard.yml -o [Obfuscated IPA file name] [Generated IPA file name]
When you input the command, ixguard.yml default file is created.
Sample — ixguard.yml (This may vary from Project to Project
Apply iXGuard From the folder where the exported ipa file is located to the terminal ixguard. Please enter the following command in the terminal. config ixguard.yml -o [After obfuscation IPA] [File name] [Generated IPA file name] to apply iXGuard.
If there are no error’s in the operation, an obfuscated ipa file is created.
In the case of [warning] of the log in the terminal, the solution for each case is the same as that of the iXGuard manual
On the Troubleshooting -> Runtime Issues page. — Note: Appearance
Note: Result screen
Test your app
Test the function of the app by using methods such as TestFlight on the actual device.
In particular, tokens, authentication keys, etc. are required for logic-oriented testing.
Obfuscation verification
This part has been verified using the MachOView tool.
1) Perform step 2 to create an ipa file. Include bitcode for iOS content check - Release and create two obsolete ipa and two ipa files that are not obfuscated.
2) Change the extension of the corresponding ipa file to zip and unzip it.
3) There is a Payload folder in the unpacked folder, and check the application file with the app name in it.
4) Right-click on the application and select View Package.
5) Copy the executable file with the name of the app in the package and extract it to an arbitrary directory.
6) Open the executable extracted before obfuscation and executable extracted after obfuscation with MachOView app,
Check the name of the debris and confirm that obfuscation is applied.
Image for reference in tutorial. (Above: prior to obfuscation, below: after obfuscation)
Finally , deploy the app in the App Store –
Xcode -> Open Developer Tool -> Application Loader.
Application Loader is not available now. You can use Transporter app which is available in Mac app store.

Is it possible to add content into ipa file?

In Android we can extract apk files and add content of these files into a single file. we can also entry the newly added activity in android.manifest file.
Is it possible to add content in ipa and rebuilt it for device?
Please help me.
Is it possible to add content in ipa and rebuilt it for device?
No. From your comment above, you're looking to modify the application itself by adding view controllers. That would require rebuilding the application, and you'd need the source code for the app for that, not the .ipa file.
It is possible to modify resource files in the archive and then re-sign the .ipa file, so you could change an icon, replace images, etc. But adding view controllers is different because they need to be compiled and linked with the rest of the application code.
No you cannot modify any ipa file once it is built. However, you can view the content of particular app file by converting ipa to app . After you have converted an ipa file to app file you can check the content by right click on it and the choose show package content.
How to convert ipa to app file:
Right click ipa file -> open with archive utility (or winrar), it will create an app file, right click app file - > show package content.
If you are trying to get source code of the app and edit according to your requirements then it may not be possible with the app available to app store but i can't say for enterprise app.
iPA stands for iPhone Achieve and any changes in iPA can produce problem to build so if it needs to add few Xib or Viewcontroller then its better to add these in xcode and run and build new iPA . Hope this helps.

Veracode, Debug Symbols, and XCode

I'm attempting to have an iOS application scanned by Veracode: an application security platform. In order for them to scan an .IPA, the .IPA needs to contain debug symbols.
For the Archive build-configuration and project/target being used, I've specified:
Generate Debug Symbols : YES
Strip Debug Symbols During Copy : NO
Dead Code Stripping : NO
Symbols Hidden By Default : NO
Strip Linked Product : NO
Yet, Veracode still gives me the following error when submitting the .IPA:
Primary Files Compiled without Debug Symbols - 1 File
Is there another step I need to take to create debug symbols, perhaps wrt archiving?
I had the same issue. I was able to resolve it by following the veracode instructions below. It basically tells you to manually create archive package, move the .app and .app.sym folders to a new location and then rename the zip file to an ipa.
From Veracode Help Center:
"Because Xcode does not create .IPA packages that contain DSYM information, you must create the package yourself. Xcode dynamically creates a folder to contain the .app and .app.dsym files. There is no definite path to this folder, but you can search the folder after you build your application. To do this, open Xcode and click Products on the left side of the window. Right-click the .app file, and select Reveal in Finder, which takes you to the folder where the .app and .app.dsym files are located. Once you have located the DSYM information, you can package your compiled iOS application as follows:
Select the .app and .app.dSYM folders for your application.
Copy both folders into a folder called Payload. Note: the folder name
must be capitalized.
Create a zip archive containing the Payload
folder. You can do this on a Mac by selecting the Payload folder and
choosing Compress from the context menu, or by using the
zip-compatible archiving utility of your choice.
Change the extension of the resulting archive to .ipa.
Upload this archive to the Veracode application profile.
"

Packaging a BlackBerry App for Release

I'm currently using the BB Plugin for Eclipse and am trying to generate a package without any .debug files and only one .cod and one .jad file to send to a client.
I'm a bit stuck on how to do this, I can't find a 'release build' setting and am having trouble finding any documentation on how to accomplish this or if I'm even on the right track.
Right click over your project, select "BlackBerry -> Package Project(s)"
In case it doesn't sign automatically, right click again, "BlackBerry -> Sign with signature tool"
Look for the generated "deliverables" folder in your project package explorer, then select the files for OTA deployment (inside "Web" folder). There you'll find one or more sibling cods and the correct jad descriptor.
profit
For OTA installation:
1. unzip your COD file.
2. now you got number of cod files like xyz.COD, xyz-1.COD, xyz-2.COD ... etc.
3. open your .jad file and verify listed .COD fils are mentioned in .jad file or not
4. upload all .COD files and .jad file in same location on web
5. open the .jad location on mobile device
Note: If your .jad file having incorrect .COD listed or still getting error then first delete your .jad file and .COD file and clean your project and then rebuild your project then follow above steps.
First of all sign the application, after signing it upload the project on to your server and after uploading it take the .jad file and make a link of the path of the project where it is uploaded and then give that to the client and then he can download the application from there and can install it.
When we sign Blackberry Application successfully we can able to install that app in device and also able to upload to our Server or Blackberry App world. we have just need .cod & .jar file to upload in BB app world as well as in device . you r going on the right way .. Go ahead .

Use something other than OS X Finder to zip iPhone app for submission

I'm trying to script the creation of the ZIP file required for Application Loader to upload to iTunes Connect.
If I use OS X's zip command, I get the message
The CodeResources file must be a symbolic link to _CodeSignature/CodeResources. Make certain that the bundle is on a locally-mounted volume (not a remote SMB volume), and be certain to use the Mac OS X Finder to compress it
Sure enough, if I use Finder to compress my files, Application Loader doesn't complain and the upload is successful.
The ZIP files look identical in content and visible structure when examined.
Any clues?
Perhaps add --symlinks to your zip command. See man zip for more details.
In xCode4, I archive the app and submit it within Organizer, or if I have to give it to other people for submission, I can create an archive file from it, maybe a better way you can try?

Resources