I am using ionic framework to create an app. Previously I was working on Windows, but now I moved to Mac.
I already register with IOS developer program. Is there is any step by step tutorial available so I can test my app on my different iPhone devices?
Once you build your project with ionic build ios (of course, you first have to add the platform with ionic platform add ios) you will have a project file which you can open up with Xcode on your Mac.
From there you can easily simulate your app on various iOS devices (iPhone, iPad...), just look up a basics of how to use Xcode (here's one official tutorial).
Ionic also provides you with the ionic emulate ios command which starts the iOS emulator with your app without you needing to run Xcode.
edit: Yes, you can use Ionic View for this. In the CLI there is an option to share your development app with someone else by simply doing ionic share someone#email.com
Related
Recently, I have managed to try out Fabric.IO with a iOS iPhone app project built using native iOS framework in Swift.
That worked successfully.
I then attempted to try out Fabric.IO for another iOS app built using ionic.
What I tried
I created a new xcodeworkspace.
I ran ionic build ios which generated a brand new xcodeproj file.
I installed Fabric
I then added the Run Script Build Phase
I installed Crashlytics and then added the lines of code under AppDelegate.m
Then I incurred nearly 20 errors after that.
My questions
is it possible to use Fabric.IO for an iOS iPhone app built using ionic?
if possible, how do I get past the 20 over errors I have incurred?
Those are C++ library symbols; you need to link against the following libraries and frameworks:
libc++
libz
SystemConfiguration.framework
Security.framework
Which can be added via Link with Libraries and Frameworks.
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!
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.
A hybrid app was developed using Drupalgap cordova for iOS. The project is named ExampleApp, as followed by a tutorial, and once started in Xcode (5 and 6) the app works well in iOS simulator. Now I need to rename the app to a custom name to put it for submission in the App Store, but once I do that in Xcode, the app breaks. I followed the official Apple Support page to do that and the one here on stackoverflow with no luck. The app is present on iOS iPhone simulator dashboard with the icon and a new name, but once it starts loading the splash screen, it breaks as soon as it loads it. What is the best way to resolve this problem?
Here's what I would do:
use the PhoneGap Command Line Interface to create a new "official" project: cordova create OfficialApp com.official "OfficialApp"
add the iOS xCode project files: cordova platform add ios
install the DrupalGap SDK on top of the empty project
copy the www/app folder from ExampleApp into your new empty project's www/app folder
prepare/build the app from the terminal
test in xCode simulator
Be sure to replace any custom modifications you had to the index.html file of your new Project. More info: http://drupalgap.org/node/193
Each step of the way, I'd recommend doing a prepare/build via the terminal and then launch the app via xCode to verify PhoneGap works out of the box, then DrupalGap works out of the box, then drop your app on top and run it.
If these steps don't work, I'd recommend opening up an issue in one of the queues:
http://www.drupalgap.org/support
I'm using AppGyver Steroids to create an app. I want to build an iOS build of it so that I can open the app in XCode. With regular PhoneGap I can simply run phonegap build. I do not see this in Steroids. I've run phonegap build in the Terminal, but it doesn't show native elements when I run it in the simulator (from XCode) like navigation bar.
Is this possible with Steroids? Thanks!
If you're planning to use Steroids, you need to use the Steroids Build Service. To create an actual build targeting iOS platforms, please consult their guide on how to do this.
If you just are developing, use the deploy command to get the QR code and scan it with the AppGyver scanner application to load it temporarily to your device. Or if you want to run it in the emulator, start a steroids session from the terminal:
steroids connect
then enter
simulator
once you're in the steroids session and that should start the iOS simulator.
Not sure what you'd need xCode for in this. The beauty of steroids is that there is no iOS specific code for you to maintain (before you start messing with PhoneGap plugins, which is a different ballgame.) You can still open your html pages using xCode if you wish.
If you're asking how to have xCode do this stuff for you, then I could be wrong but I do not think there is a way. I believe the simulator that Steroids starts is the same as the xCode simulator.