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

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

Related

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

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.

Access to document folder of each app

in the past, i used to connect my iPhone or my iPad on my iMac.
In Xcode Organiser tool i was able to see all installed application and i was able to download document files for each app.
Since Xcode 6, i am not able to do this. I think i have to work with "Device" menu instead of "Organiser" menu. I can see my iPhone or my iPad but i cannot see apps.
I do not see "Use for Developpement" button.
Can anyone explain me how i should do in order to download all application document folders ?
Thanks
You will need to add your devices to the developer portal (https://developer.apple.com/account/ios/device/deviceList.action) and update your provisioning profiles accordingly (which is what the "Use for development" button actually did).
After that things are quite straightforward. By going into the devices window in Xcode and selecting your device, you will get the list of your installed apps. Tapping on the cog icon will give you the options to see and download the app's container (as shown in the screenshot)

Get database from crashed iOS app

I develop an iOS app and I send it to any beta tester. After 2 month app has a crash and now it doesn't work .
I need to get any information about log or better I need database. How can I get it ? I can connect to my Mac, but I don't know how to access to db data (if is it possible).
It's very important get database information.
Thank you.
In your device, you can access support directories only for applications compiled for development.
Connect your device to your computer. Having launched xcode, open 'Organizer' window (Window->Organizer). On the left hand side of the menu you will have your device displayed. Under your device, select 'Applications'. All the dev applications will be available there. Select the application you are interested in and click 'Download' at the bottom of the window. What happens - the support directories are downloaded. They are stored in bundle with extension '.xcappdata'. 'ctrl' click on the file and menu will give you an option 'Show Package Contents'. You will find there your sql database file.
You can either use XCode Organizer to download the application directory from the device, or if the tester is remote ask them to install a program like iExplore that lets you simply copy application directories off of the device to send to you.

What files to send to my iOS dev to receive a testable app back?

I hired a developer. He made app. I want to test it.
What I have:
Apple developer account - single - I never could figure out that
company international ID thingy.
Only I can access the account (am willing to give access if that is
only way)
I have OsX 10.6.2 snow lep running on Virtual Box all good
XCode 3.2.something (its older, updating requires new kernel and has
been problematic)
(I can utilize the apple dev provisioning wizard on dev.app.com to
obtain certs and files)
I have an apple certificate file downloaded to my computer that I
made under the provisioning thingy on dev.app.com
iPod Touch 4g (Jailbroken) if needed. (unknown if I can access it
via virtual box)
What I want to do...
Send whatever files to my ios developer so he can create a single file to email back to me. I take said file and install it on my iPod Touch, on my windows computer.
What do I need to send him so the developer can make this happen? Further what do I need to tell him to do. This part may seem odd as why would "I" not knowing how to build an iOS app be telling the dev how to do it. I have requested him to make this all happen before and there is a language barrier.
What I do not want to have to do:
Use the mac anymore (please tell me this is possible.)
(said in another way) I would like to Test apps by putting them on my ipod Touch (using itunes or safari and dev account is ok) BUT I want to be using windows.
Can this be done? I code Android. I do not know Xcode and dealing with builds from Xcode 4.6 then trying to open project in Xcode 3.X not knowing if there are project errors etc. and well...learning xcode jsut doesn't make sense...I mean then why hire a dev? yeah yeah cause he knows C++ I got that part.
Anyway, sorry for the 'flavor' parts of this message I just want to make a message that will sum up the "world of it all" for any future travelers trying to do the same thing.
Summary - I want to test apps on Ipod Touch (or whatever iOS device) using windows to install them to the device. Able and willing to use Mac to create needed files (certs. keychain files etc.) can use Mac for all building aspects.
Please advise and thank you very much programming gawds in advance.
Use the mac anymore (please tell me this is possible.)
2 .(said in
another way) I would like to Test apps by putting them on my ipod
Touch (using itunes or safari and dev account is ok) BUT I want to be
using windows.
It is possible. However, you may not understand the following steps because those should be done by iOS developer.
Step1. Your developer should archive it (In xcode, press Product, then Archive).
Step2. Open Organizer in xcode (top right corner), click the "Archives" page
Step3. Select the app you just built. Then click "Distribute" button and select "Save for enterprise or Ad-Hoc Deployment"
Step4. You will get xxx.ipa. You can drag this file in WINDOWS iTune and sync to your iPod.
Note: Your iPod should mark for "use for development" with valid provision.

Test a PhoneGap application on a real device

I built an application using Phonegap and I tested it on the iPhone Simulator.
Now I want to "send" it to the iPad, can somebody explain me how to handle that ?
Of course I've got an apple id and all others stuff...
I made the "provisioning profile" for the iPad, but I don't understood how I can run it on the device. If somebody can explain me or redirect me to a good tutorial for this kind of "testing development". Thanks in advance.
If you have an Apple ID and the ipad is properly provisioned, then you simply need to change where you are building to in xcode. Click on the button next to the "run" and "stop" buttons in xcode. The button will be the name of your project followed by "nameOfProject>iPad 4.3 Simulator" or something similar. Change this to be "iOS device name of ipad", the ipad you have plugged into the computer. Now rebuild and run.
A way to distribute application without asking user to copy provisioning profile and application file to iTunes and then sync iPhone with it. Now, only thing that they need to do is to click on the link in e-mail, which will open website on device and there they can click to install application and profile on the iPhone.
http://blog.amarkulo.com/ad-hoc-profiles-and-application-distribution-via-web
Other reference :
http://support.twixlmedia.com/kb/epublisher-builder-application/how-do-i-create-the-distribution-provisioning-profile-for-my-ad-hoc-build
use "run" instead of "emulate".
I've only used cordova but cordova run <osname> will install it on your device if it's plugged in.
ie:
cordova run ios (I refuse to pay 99$ so not tested but it should)
cordova run android (works beautifully)
Okay this is a bit of a shortcut/cheat. But what i've done was do phonegap serve and then open the IP address that it provides you on my Iphone...It's pretty much the same as having it run on your device as an APK!
Step One:
cd to your directory and run phonegap serve
Step two:
On your Iphone/Android/Device open your web-browser (e.g safari) and type in the IP phonegap has given you.
Step three:
Have fun seeing your app work :)
However if you're using some of phonegaps features (gps, etc...) then these won't work. This solution is a quick and easy way of viewing your app that doesn't use any hardware controls (e.g a jquery mobile app)

Resources