Test iOS app without xcode project - ios

I'm sorry if this may seem a stupid question, but so far I have only developed Android apps and have no knowledge of iOS development.
I'm working for a company that wants me to test their Android and iOS app which are developed by an external company. The external company provides us test versions for both platforms via HockeyApp.
My question is now, is there a way to run the iOS test versions I receive on a Macbook with the Xcode simulator or do I need to ask the external company for the Xcode project in order to test the app with the Xcode simulator? We mainly want to use the simulator to test the app on different screen sizes/resolutions.

You can request the .app file of the application, builded for simulator.
Then if you have a Xcode version >= 8.2 you can just drag and drop the file into the simulator and test it.

Related

How to transfer app between iOS 9 simulators

When I create a program and run it in iOS 9 simulator everything works fine. The app gets created and saved in path like:
/Users/MichalKolar/Library/Developer/CoreSimulator/Devices/567DCC64-3388-4A7B-A14C-677210F1A24A/data/Containers/Bundle/Application/6E72B743-051D-4232-A3F6-7FB94A1F317E
It is visible in the simulator and it nicely works. I want to give it to a friend of mine to do some testing:
I deploy the same simulator on his Mac and his xCode, same iOS version
I copy the folder 6E72.... to the same folder structure on his Mac
I verify that both the .APP and hidden .PLIST files are successfully
copied
I launch the simulator in my friends Mac...
...and I do NOT see the application there.
Please advise - what is wrong? It behaves this way even for the simplest application (just a blank page, no specifics)... Tested in xCode 7.1 and 7.2 beta. iOS 8.4 apps are not problematic, just the iOS 9 are.
Thank you!
I think you can't do what you are trying to do. Btw why not building app on his Mac if he has Xcode ?
You must use TestFlight or Ad-hoc distribution to make available app for testers. Or if your friend is near you, deploy app directly on his/your iPhone.

Can I test Swift applications on my iPhone with Xcode 6.4 and no developer license?

I'm seeing mixed answers about this from several blogs. I've heard this feature is only available when Xcode 7 comes out in the fall, but similarly some people say you can test on your own device right now. If possible, any links to good tutorials would be greatly appreciated.
Turns out this feature will be available for Xcode 7 and is not currently an option.
Free Provisioning
Develop on your own device. Part of being successful
at debugging and testing is being able to run your app on a physical
device. You’ve always been able to build and run on Simulator in the
past, but running on a device required a complex set of steps to allow
you to install and run your app. With Xcode 7, all you need is an
Apple ID and you can develop and test on any device.
See Launching Your App on Devices in App Distribution Guide for detailed
information about installing and running on devices.
From What's New in Xcode - New Features in Xcode 7

Test Qt app in ios Device

i've developped an application using QtQuick, it's running great on Android and ios simulator. now i want to test it in iPhone or ios real device.
So do i need to pay for that, or there is a way to test it for free.
In the build file for iosSimulator there a file with the app in the folder "Release-iphonesimulator", will this file work on the device ?
Recently, Xcode 7 beta 4 was released and one of the main features is that you no longer need to pay for deploying to your own device, all you need is your simple apple account.
After you do all the "Configure Device for Development in Xcode" stuff
Using Qt 5.5 (the newest) build your project and before trying to deploy it to your device, go to the place where the build for iphone is, and open it with Xcode 7 beta 4 (the .xcodeproj) and try to run it, it will fail and will ask you if you want to fix the project, say yes and again it will fail but no problem, now go to Qt and you should be able to deploy the app to your iphone. This worked for me!

Testing IOS apps on ios devices made using IONIC and angularJS

I am making an app made using IONIC which I just want to test on my IOS device, not publish it to the app store.
Do I still need an Apple developer account ( by paying $99 ) or is MAC with XCODE and IONIC installed enough?
I just want to test it on my device, not publish it to the app store.
Yes it is possible.
I tried this today. Using XCODE 7 beta 2. Tested my project made using IONIC with only APPLIE ID, NOT APPLE DEVELOPER ACCOUNT, and its working.
All you have to do is( for making IONIC projects and installing them on Physical devices without APPLE DEVELOPER ID)
Install XCODE version 7 (currently beta 2)
Install Node JS (update path)
Install Cordova
make an ionic project ( IONIC start yourproject blank)
IOS platform is added by default.
go to platforms/ios folder
there will be a yourproject.xcode file - open it
Connect your device to the MAC
Run your project - if you get any error, XCODE gives the option of fix issue, click on that and your app will be installed on the physical device
Yes, I can confirm this, as I had to do it myself too. You have to buy an Apple developer license in order to test the app on your phone. I know this sounds crazy as you're not actually putting it to the store, just 'testing', but hey that's Apple ;).
However, if you would only like to run it in an Xcode emulator, you don't have to.
edit: Here is the official document confirming this: https://developer.apple.com/legacy/library/technotes/tn2250/_index.html#//apple_ref/doc/uid/DTS40009933-CH1-CODE_SIGNING_IN_A_NUTSHELL-IPHONE_CERTIFICATES
And besides, here's a SO question asking a similar thing and the reply is the same.

Deploying Apache Cordova app to iPad without Apple developer account

After having developed an app for a friend using Visual Studio 2013 Pro with the Apache Cordova Extension, I hoped to also get it runnning on an iPad 3 as fast as with Android. However, things proved to be more complicated than originally thought: The 99$ for an Apple developer account would be far too high for a single device development (the app is intended to only work on one device, no commercial intentions).
At least I now have the ability to use Mac OSX and XCode, which is connected to Visual Studio via network. Installing the app in the iOS simulator works as expected, but I'm struggling with deploying it on the iPad. I already considered jailbraking the device, as the warranty is yet expired and it wouldn't be a problem for my friend. According to the Information I found it would be possible; however, I could not find much about how to do that.
Thanks in advance.
After several months I finally found a working solution:
The latest XCode version (7 Beta 2) is able to sign iOS applications using an ordinary AppleID instead of a $100 developer license.
First, you will need to prepare the vs-mda-remote node plugin on your Mac and be able to build applications [See here how]. Using an appropriate deployment target in Visual Studio, the app can be tested within a virtualized iOS environment.
However, the deployment options Remote Device and Local Device will both fail when you haven't subscribed to the Apple Developer Program. Other methods (described here or here) requiring jailbreaking the device haven't worked for me either.
Interestingly, Apple seems to have changed their strategy not much time ago , finally allowing to sign and deploy apps on non-rooted iOS devices.
Whenever an app is built for the iOS simulator, vs-mda-remote will create a whole new build folder (named using a 3 - 5 digit random number) located in ~/remote-builds/builds. Inside that build folder, you will need to find and open the XCode project file with XCode 7 (example path: ~/remote-builds/builds/654/cordovaApp/platforms/ios/YOUR_PROJECT_NAME.codeproj).
After having connected and detected your iOS device, you should be able to select it as deployment target. Then you should follow these instructions, basically just adding an AppleID which should be used to sign the app. This wasn't possible with earlier XCode versions and is certainly much easier than using one of the "hack"-like techniques involving jailbreaking your device and practically voiding it's warranty.
Finally, you will only need to set the Code Signing Identity to the registered AppleID (for both the Project and the Target) and you're ready to deploy your app.
This method worked for me using iOS 8.3 and Mac OSX Yosemite 10.10.4.
If there are any other questions, please feel free to ask.
in Visual Studio 2015 Community RC, there is an option to debug the app developed by cordova in 'remote device' (iPhone or ipad) connected to the Mac osx. Pls. try it.

Resources