How do I find out if an IOS app uses frameworks/framework libraries - ios

How can I figure out if an app in the IOS appstore uses frameworks? I would like to be able to know if it uses frameworks and possible what frameworks are used, without actually downloading the app.
Secondly, how do i figure out the frameworks used if provided the app's ipa file?

Finding out what frameworks an app in the Appstore uses may be a futile process, but it is possible to find them if one has an ipa file. Here is the process:
Convert the ipa file to a zip file by renaming it to ".zip" instead of ".ipa". For example, "test.ipa" should be renamed to "test.zip"
Unzip test.zip using whatever tool you chose.
Navigate to the test/Payload. You should see a ".app" file in that location.
Right-click on the file and select "Show Package Content" in the popup menu.
Expand the frameworks folder to view the frameworks. Files within this folder have the ".dylib" extension.

You need an iOS device like iPhone / iPad / iPod with an AppStore account set up, a macOS device like iMac, Apple Configurator 2 app (AC2).
First of all you have to download / buy the app which you want to analyze on your iOS device then connect this device to the macOS device and launch the AC2 app. Once the app was launched go to account settings and connect to your AppleId account. Next, right click on the device icon and select "Add->Apps..." action. A modal window will present. Select an applications which you would like to analyze and then download those apps.
Once the applications will be downloaded the AC2 app will ask you to select an action. At this moment don't select any action, instead go to location " Open Finder and go to a folder "~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Caches/Assets/TemporaryItems/MobileApps" where are stored downloaded apps.
Last thing is to change the extension of the iPad file to zip, do it with Finder app in menu under right click select option "open archive". Once there, go to payload and frameworks folder which contains all frameworks used by the app.

Related

Access other .ipa's files installed on my iphone via my app

Can I access other .ipa files present on my iphone via my app and pass it to the backend server.
Will I be able to do that after jailbreak? If not on a non-jailbroken device.
The short answer is NO.
Other than that you can register the app as an app that works with different file types and the user can open them manually. Take a look of different App Extensions types Document Provider and Share.
You can't get exact IPA file.
You can get it's container from XCode if it is your app, In container you will found document directory of app where you might have saved data to get this
Goto xcode -> Device And Simulator -> Select your Device -> choose Application
Press Setting button on bottom and press download container

URL Schemes to personal apps

Is there a way to use URL schemes to open another app (not a common one like maps), without having access to the source code of that app? I'm working for a company that has several apps, and they've tasked me to build another app that will concatenate all of their other apps. If I really need to, I can email my boss and ask about setting up the codes.
If it helps, I'm using XCode 7.3.1, in Swift 2.
By the way, I checked for similar questions, but couldn't find any. If you do find one, send a comment with the link and I'll delete this question if the answers the the other question help.
Thanks in advance!
Download the application onto your device (sync to iTunes to get the IPA) or to iTunes. Right click and choose show in explorer or finder.
Now you have the IPA. Change the extension to .zip and unzip it. Open the payload folder.
Go into the application's folder (Right-Click Show Package Contents on OSX).
Open "Info.plist" and look for: URL Types key. One of the sub-keys in there will open the application.
Update:
Download the app on any iOS device.
Plug it into the computer.
Download Apple Configurator 2 from the Mac Appstore.
Next open apple configurator and right click on your iOS device and press "Add".. then find the app you want to download. Once you find it, double click it and it will tell you that the app is already installed. DO NOT click any of the options on the popup.
Open a terminal and type:
cd ~/Library/Group Containers/K36BKF7T3D.group.com.apple.configurator/Library/Caches/Assets/TemporaryItems/MobileApps/
Then type: open . to open the directory.. You should now see the .ipa file..

How to run iOS app in iPhone without USB connection to Mac

I have developed my first apple app and i wish to run it in iphone (its working well in XCode). By running in iphone i don't mean to connect it with mac and run with USB connection.
I mean something like there will be uuid of iphone and i upload my app some where and it can be run by Iphone user without any wire-connection to my MAC where i have app in xcode.
Is it possible to achieve by anyway? Is that way to achieve is free of cost ?
What I understand from you question is you want to distribute your application to others,
If you have apple developers account , you can use TestFlight ITunes Connect, where you can distribute upto 1000 users
Or you could use other free providers like,
Fabric
Hockey
I personally recommend Fabric , it's free, has lot of features
In your project set your distribution profiles in code signing options
Then click on product-->Build wait for a moment until it opens an Organizer window .
After opening organizer window select save for AdHoC deployment --> choose your organization--> select for all devices compatibility(if you are running with latest Xcode 7.3 version otherwise devices compatibility window won't appear) click next next.
Finally you can get an api file in the Organizer window. In that select the first api file which has recently you built -> click on export to your any finder location.
Then open your api file location in your Finder.
Then open your browser and open https://www.diawi.com and drag and drop your api in the specified field and wait until it reaches 100% to upload and click on send so that you can get a link. Now you can share your link.
Note: In iOS device he can install the api by using safari browser with the link we have shared

Is there any way currently to browse an App Folder / App Sandbox on an iOS device with iOS 9

As a developer doing many operations with files in my own apps' sandboxes (An app's subfolder environment such as Documents folder etc.) on the device, I found it extremely useful to be able to browse my app folder to see if my code was writing things to the correct places etc. I always used to use iExplorer for this & it was vital. To my horror, I came to do the same browsing today, only to find that you can no longer look inside the app's folders with tools like iExplorer. Some research tells me that as of iOS 8.3, Apple have placed restrictions which stop these tools from doing the great job they did.
Is there a work-around now at the iOS9 stage or even any tools that still manage to do it? This was so essential as a dev.
I'm assuming you mean a physical device, not the Simulator. In that case, you could open the Devices window (Xcode > Window > Devices) and then select the relevant device on the left.
In the Installed Apps section, select your app, and then click the gear icon which will give you a menu to Show, Download or Replace Container...
Now, it's available FileBrowser to browse the content of an app folder (in its sandbox).

Check files in Documents, Library or tmp directory on iOS device

I am making on an app and want to get access to the directories that system create automatically when app installed on device. Of course when I use simulator I can find these directories without any problems, but how to open them on device. Maybe via iTunes or maybe Xcode has access to these directories.
The folders are below:
Why I need it:
Because after my app restore some products (iOS simulator does not support StoreKit) I have few records in the tmp folder in SQLite database.
#neilco , it's not necessary to use 3d party tools for this. In Xcode, go to organizer, select the connected device, "applications" tab, select desired application and hit "export" button below. This will export you app to your mac, so you can see your depicted folder structure, files' contents etc.
Take a look at using iExplorer as this allows you to views the folder structure of apps on a device.

Resources