Deploying .xap file to non registered windows phone device? - deployment

Hello everyone I have my app successfully deployed on windows device, we already have a windows developer account. Now the client needs to test the app, how can we send him the app like ( apk files Android?)

One option would be to unlock your clients device as developer device and then install it via the Application Deployment tool. You would have to send him only the XAP file which you can find in your bin folder.
If this is no option you could create a beta test, here you would need the live ID of your customer. The app would run through the certification process so it isn't quite as easy as under Android.

Related

iPhone test flight xcode7 xcode8

I have built a application in Xcode 7 with Push Notification using test- flight in development. I also have a created a script to push notification to the devices using the token of the devices that I stored in a database.
I simple flag the devices in the database and my scripts read the tables and send a notification to the device(s). Works!
All was well until xcode8.
Now The only way the scripts work is if I "attach" the devices to the mac and build and install the app using the attached cable. I then detached the devices and the scripts works.
If I "archive" the app to iTunes and then using test flight as an external user, i then install the app from test flight, I never get a notification when I run the scripts.
So basically, If I attached the device locally and build, install using a cable it works great. but if uploaded to iTunes and using test flight it does not.
below is as much screen shots
/Users/webcastman/Desktop/Screen Shot 2016-10-26 at 1.55.39 PM.png
/Users/webcastman/Desktop/Screen Shot 2016-10-26 at 2.14.20 PM.png
/Users/webcastman/Desktop/Screen Shot 2016-10-26 at 2.15.12 PM.png
/Users/webcastman/Desktop/Screen Shot 2016-10-26 at 2.16.13 PM.png
The first step in sending a remote notification is to establish a connection with the appropriate APNs server link:
•Development server: api.development.push.apple.com:443
•Production server: api.push.apple.com:443
When you are installing app in your device through Xcode, I think its build using development provision profile if you have selected Automatic in codesign settings. and when you are archiving and uploading on testflight its build using Distribution profile.
You need to customize your script to send notification for development and distribution(Production) app.
When you are installing app in your device through Xcode, I think its build using development provision profile.
if you are using gateway.sandbox.push.apple.com, port 2195, change it with production url.
•Sandbox: gateway.sandbox.push.apple.com, port 2195. (for development)
•Production: gateway.push.apple.com, port 2195. (for production)
you also need different APNS certificate (.p12 or .pem- whatever you are using in your script) for Development and production build.
After changing this, you will start getting notification for builds installed through test flight too.

Iphone apps using Windows [duplicate]

This question already has answers here:
How can I develop for iPhone using a Windows development machine?
(42 answers)
Closed 9 years ago.
I am new to mobile development and I have a question concerning developing an app for iPhone. Is there a way to develop an app for iPhone using Windows?
No. xcode, which you need to develop iphone apps, only runs on mac. There are ways to get a mac program running on windows probably, but developing for ios on windows just isn't worth the trouble.
Yes it is possible but tricky. One way to do it is to use forge. The following is extracted from an article showing how to use forge to create iOS apps:
Developing iOS apps on Windows
Forge allows the development of iOS apps on Windows without the use of an OS X machine. To do this you will need a development-enabled physical iOS device and an iOS developer account. In order to sign your application (which is required to install it onto the device, even for testing), we provide a remote signing service, which your app will be sent to, signed and returned as part of the forge run ios and forge package ios command.
Note: Your iOS device must be enabled for development before our Windows tools can view logging output. This means attaching it to an OS X machine and selecting "Enable for development" in the Xcode organizer. If you're not able to do this, you can still install apps onto the device, and use the iPhone Configuration Utility to view log output (http://support.apple.com/downloads/#iphone)
Setting up Forge to run iOS apps
Requirements:
Apple iOS developer account.
iTunes or iPhone Configuration Utility installed on the machine you are going to develop on
An iOS device connected via USB to the machine you wish to develop on
In order to sign your application you need to provide us with the following:
A signing certificate and password
A provisioning profile
Both of these can be created and managed from the Apple iOS provisioning portal, which should be accessible from the iOS developer center: https://developer.apple.com/ios/. The instructions on that site are for OS X, more detailed instructions for creating a developer certificate on Windows are included below.
Once these are setup you should be able to use forge run ios to install the app on your device and see log output in the terminal on your computer.
Creating a signing certificate
To create a certificate you need to generate a certificate signing request, in Windows this can be done by following these steps:
Create a file request.txt with the following content, replacing Connor Dunn with the name registered to your Apple Developer account:
Run the following command in the same directory as request.txt: certreq -new request.txt
On the iOS provisioning portal site choose to create a new certificate and upload the file you just created
Your certificate request should be approved shortly: when it is, download and open the certificate file. Windows should prompt you to install the certificate.
Once installed, run the command certmgr.msc: this should open a certificate management tool. In this tool browse to Personal certificates, you should see the iPhone Developer certificate you just installed.
You should be able to right click on the certificate and choose All tasks -> Export. Make sure you export the private key as part of the certificate when following the wizard. The password you supply will be the one you need to provide to Forge, and prevents unauthorized users from using the certificate if they were to come into possession of the certificate file.
You should now be able to configure the developer certificate and developer certificate password in your Tools config.
See configuration for the tools for more information on the Tools config.
Creating a provisioning profile
Once you have created a certificate you need to create a provisioning profile, this is also done via the iOS provisioning portal website:
First make sure your device has been added to the provisioning portal, to do this you will need the device identifier (UDID), this can be found by clicking on the device's serial number in iTunes.
Next create an app id, for development entering * as a Bundle Identifier is recommended, as it means multiple apps can be signed with a single provisioning profile.
Finally create a development provisioning profile, making sure you choose the correct app id and enable any devices you wish to be able to test with.
You can now download and configure the location of your provisioning profile in your Tools config.
Note: Provisioning profiles must be recreated if certificates or devices are changed.
Here is the link to the site that has much more info on this matter. But all in all, I'll advice you to invest in an apple machine and save yourself tons of time and hassle.
https://trigger.io/docs/current/tools/ios-windows.html

iTunes sync apps failed to install using Phonegap

I have created an .ipa file using Phonegap. For testing I uploaded the developer certificates and device UDID. Its working fine. Now, I want to distribute this apps using Application Loader. For this I uploaded the apple distributor certificate and distribute mobile provision file on the phonegap cloud and generated the .ipa file. When I tried this apps with iPhone 6.3.1, its giving me error: iTunes sync apps failed to install
Please help me to get out of this problem..
Are you trying to submit the app (you mentioned Application Loader which is used for submitting apps) or install it on devices for testing? I am assuming you are trying to install it on devices for testing.
If the app fails to install, check for one of these
The mobileprovision you are using has your device's UDID. Test apps can only be installed on devices whose UDID is included in the mobileprovision (unless you are distributing for enterprises)
The mobileprovision is installed on your device (try using a service like Testflight - you'll know whether your device has the necessary setup)

Get iPhone app to iPod from remote machine for testing

My problem is - I work on a remote mac through Remote Desktop Connection - from a windows host.
I have my app ready on remote mac.
I have my iPod with me, connected to my windows host.
How do I get this app onto my device for testing purpose?
My access to the mac is through RDP.
I edited the rdp connection to allow local usb access to my remote mac, (remotely) hoping that my mac would see it as a device. But it didn't.
Is there any way it would see my iPod?
(I already read this and it requires mac-to-ipod direct connection.)
Or is there any other path I can get my app package on my device for testing through windows machine?
Firstly you will have to add your iPod to the developer portal if you haven't already. Next you can do a build and archive which will export your app into organiser. Click on the app version in organiser and click the distribute button and make sure you select ad-hoc distribution. This will give you a .app packaged version of your app which can then be sent across to your windows machine from your remote desktop where you can then drag it into iTunes and install it on your iPod.
If you are testing lots of different builds of your app over a short space of time then i would suggest using test flight, which can be found easily when googled. It allows you to upload versions of your app through and ad-hoc .app package which ca then be installed across all your devices using the test flight app on your phone. I would only recommend doing this if you are doing lots of builds and testing on lots of devices though.
Hope this helps
Sam

IPhone Ad-hoc distribution sync error

I am working on an iPhone application for a customer. After the development will be finished the application will be on the Apple Store, but meanwhile during its development, on a regular basis the customer wants to see and install the application on his own phone to check the current status of the development.
-I went to the provisioning portal registered my customer's device udid and added to my application's provisioning profile.
-I downloaded the provisioning profile and installed it.
-I then built the ipa and sent it to my customer.
SHouldn't this be enough?
The customer is experimenting a sync error. He can import the ipa inside itunes but at the end of the sync he receive this error alert on his iphone.I tested this ipa file on two other iphones and is working (both registered and one is ios 5.1 and the other 5.0.1)..Where should I check for misconfigurations?
I'm running the latest xcode version 4.3.1
Make sure you build with the distribution provision. I use a new Xcode build configuration for this (called Ad Hoc) and I make sure my archive build uses this new build configuration. The customer will need a copy of this distribution provision (which he double clicks), and you send him the ipa file. He drags this into his iTunes library and he is then able to install the app to his device.
Sometimes the provisioning profile needs to be installed on the device separately. I encountered this problem once with my team member who had Windows.
Just send your customer the profile and ask to install it on the device.
You may need iPhone Configuration Utility to install the profile on the device.